diff --git a/config/footer.json b/config/footer.json index d1886a71..9126ac36 100644 --- a/config/footer.json +++ b/config/footer.json @@ -73,7 +73,7 @@ }, { "title": "Donations", - "url": "/donations", + "url": "/pages/donations", "bold": true }, { diff --git a/lib/philomena_web/templates/layout/_header.html.slime b/lib/philomena_web/templates/layout/_header.html.slime index 192ad42d..332a77e3 100644 --- a/lib/philomena_web/templates/layout/_header.html.slime +++ b/lib/philomena_web/templates/layout/_header.html.slime @@ -18,7 +18,7 @@ header.header i.fa-embedded--search a.header__search__button href="/search/reverse" title="Search using an image" i.fa-embedded--camera - a.header__search__button href="/search/syntax" title="Search syntax help" + a.header__search__button href="/pages/search_syntax" title="Search syntax help" i.fa-embedded--help .flex.flex--centered.flex--no-wrap.header__force-right diff --git a/lib/philomena_web/templates/pagination/_pagination.html.slime b/lib/philomena_web/templates/pagination/_pagination.html.slime index e805daa1..6039ac2f 100644 --- a/lib/philomena_web/templates/pagination/_pagination.html.slime +++ b/lib/philomena_web/templates/pagination/_pagination.html.slime @@ -5,7 +5,7 @@ nav.pagination = if not first_page?(@page) do = link("« First", to: first_page_path(@page, @route, params)) - = link("‹ Prev", to: prev_page_path(@page, @route, params)) + = link("‹ Prev", to: prev_page_path(@page, @route, params), class: "js-prev") = if left_gap?(@page) do span.page.gap @@ -24,7 +24,7 @@ ' … = if not last_page?(@page) do - = link("Next ›", to: next_page_path(@page, @route, params)) + = link("Next ›", to: next_page_path(@page, @route, params), class: "js-next") = if last do = link("Last »", to: last_page_path(@page, @route, params)) \ No newline at end of file diff --git a/lib/philomena_web/templates/search/_form.html.slime b/lib/philomena_web/templates/search/_form.html.slime index 8f3fa853..14651afd 100644 --- a/lib/philomena_web/templates/search/_form.html.slime +++ b/lib/philomena_web/templates/search/_form.html.slime @@ -61,7 +61,7 @@ h1 Search .hidden.walloftext data-search-help="date" strong.js-search-help-subject> ' is a date/time field. It accepts a - a href="search/syntax#date-range" tweaked subset of the ISO 8601 standard + a href="/pages/search_syntax#date-range" tweaked subset of the ISO 8601 standard | , as well as relative dates code< | (X minutes/hours/days/months/years ago) diff --git a/lib/philomena_web/templates/tag/index.html.slime b/lib/philomena_web/templates/tag/index.html.slime index 36c4b4b0..edf1f541 100644 --- a/lib/philomena_web/templates/tag/index.html.slime +++ b/lib/philomena_web/templates/tag/index.html.slime @@ -7,7 +7,7 @@ h1 Tags .fieldlabel ' For more information, see the - a href="/search/syntax" search syntax documentation + a href="/pages/search_syntax" search syntax documentation ' . Wildcards are supported in all literal fields. ' Search results are sorted by image count, then by name alphabetically.