hub.sr.ht: add projects link to browse on login page v1 PROPOSED

toogley: 1
 add projects link to browse on login page

 1 files changed, 3 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/10704/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH hub.sr.ht] add projects link to browse on login page Export this patch

From: toogley@nixnet.email <toogley@nixnet.email>

 hubsrht/templates/index.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hubsrht/templates/index.html b/hubsrht/templates/index.html
index bd7504c..9c9658c 100644
--- a/hubsrht/templates/index.html
+++ b/hubsrht/templates/index.html
@@ -19,7 +19,9 @@
    <a href="{{oauth_url}}">
      Log in {{icon('caret-right')}}
    to get started.
    to get started. Alternatively, you can 
    <a href="https://sr.ht/projects">browse</a> the existing 
    projects on {{cfg("sr.ht", "site-name")}}.  
{% endblock %}
Thanks - but I would rather make a better logged-out index page in
general for hub.sr.ht, rather than copying the stock service index page.
I plan on doing something more interesting at some point soon.