diff options
author | Kornel <kornel@geekhood.net> | 2020-02-24 12:47:48 +0000 |
---|---|---|
committer | Kornel <kornel@geekhood.net> | 2020-02-24 13:04:18 +0000 |
commit | 7bbb076268969ee9899a267e30885ab6d12f67ac (patch) | |
tree | 74501fbcdc7859f72a5016bdba6bd63b25fd802b | |
parent | 12d53c04de94fdb7aad0ad3d614d5e7d3ba34035 (diff) |
Next page no-page
-rw-r--r-- | data/page/next-page.md | 6 | ||||
-rw-r--r-- | front_end/templates/base.rs.html | 2 | ||||
-rw-r--r-- | front_end/templates/cat_page.rs.html | 1 | ||||
m--------- | style | 0 |
4 files changed, 8 insertions, 1 deletions
diff --git a/data/page/next-page.md b/data/page/next-page.md new file mode 100644 index 0000000..22870b0 --- /dev/null +++ b/data/page/next-page.md @@ -0,0 +1,6 @@ +# Sorry, there's no next page for a reason + +Crates in the category pages are sorted by their [ranking](/about), which is based on quality factors, maintenance, and relevance to the category. Crates that are not shown are most likely unmaintained, low quality, or not relevant to the category. + +If you've scrolled past hundreds or even a thousand crates and still haven't found what you were looking for, you're unlikely to find it by looking through the next thousand of lower-quality less relevant crates. Use [search](/search) or specific keyword pages instead. + diff --git a/front_end/templates/base.rs.html b/front_end/templates/base.rs.html index 3e7a179..fb5b23c 100644 --- a/front_end/templates/base.rs.html +++ b/front_end/templates/base.rs.html @@ -16,7 +16,7 @@ <style>@props.critical_css()</style> @if let Some(l) = props.local_css_data() {<style>@l</style>} - <link rel=stylesheet href="/index.css?re" crossorigin="anonymous"> + <link rel=stylesheet href="/index.css" crossorigin="anonymous"> @if props.noindex { <meta name="robots" content="noindex, follow"> diff --git a/front_end/templates/cat_page.rs.html b/front_end/templates/cat_page.rs.html index 41bc7b4..613e294 100644 --- a/front_end/templates/cat_page.rs.html +++ b/front_end/templates/cat_page.rs.html @@ -104,6 +104,7 @@ </li> } </ul> + <p class=next-page><a href="/next-page">Next page?</a></p> </div> </div> </main> diff --git a/style b/style -Subproject d36318c14f1b2e00dd1cb9fb2de181b9b65aac6 +Subproject 6bf81fa4f943522eeeb5438d69df3d6e72d8e44 |