From 4bb7d28fec55c9dd80a547b9db134dc3d172a26d Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 3 Nov 2022 20:49:16 +0100 Subject: [PATCH 1/3] Update readme --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7551bd8..28c9875 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ This is the source code for the website [queerscriptors.org](https://queerscriptors.org). It uses [lektor](https://getlektor.com) -Some thoughs on nice-to-have: +It is available from: -- As much as possible should be as easy as possible to edit for new people. Example: It should currently be easy to add new projects -- JS not required. +- [lab.encryptionin.space](https://lab.encryptionin.space/Queerscriptors/Queerscriptors.org) (canonical) +- [github](https://github.com/queerscriptors/queerscriptors.org) +- [gitlab](https://gitlab.com/queerscriptors/queerscriptors.org) ---- - -A good place to look at how to do stuff may be the Tor Projects websites: https://gitlab.torproject.org/tpo/web +I am attempting to create this website without JavaScript. From e58537f756bc9db85ba42b576049051ec34f4cbe Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 3 Nov 2022 22:07:05 +0100 Subject: [PATCH 2/3] Some html cleanup --- models/index.ini | 2 +- templates/footer.html | 4 ++-- templates/index.html | 6 +++--- templates/joinus.html | 6 +++--- templates/layout.html | 38 +++++++++++++++++++------------------- templates/project.html | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/models/index.ini b/models/index.ini index 13a80c7..4c66831 100644 --- a/models/index.ini +++ b/models/index.ini @@ -14,7 +14,7 @@ translate = False [fields.body] label = Body -type = markdown +type = string translate = True [fields.join_title] diff --git a/templates/footer.html b/templates/footer.html index eb57c45..ac461a4 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,5 +1,5 @@ -
+
+
Copyright © Queerscriptors 2022
{# diff --git a/templates/index.html b/templates/index.html index cfaffe6..8ac9da9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,12 +3,12 @@ {% include 'masterhead.html' %} {% include 'joinus.html' %} -
+
{% for id, item in bag('featured').items() %} {% set image = item.path+'main.jpg' %}
-
project image
+
project image
@@ -22,5 +22,5 @@
{% endfor %}
-
+ {% endblock %} diff --git a/templates/joinus.html b/templates/joinus.html index f73811b..a6eb275 100644 --- a/templates/joinus.html +++ b/templates/joinus.html @@ -1,12 +1,12 @@ -
+
-

{{ this.join_title }}

+

{{ this.join_title }}

-
+ diff --git a/templates/layout.html b/templates/layout.html index 687a62e..e3c186c 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,33 +1,33 @@ - - - + + + - - - - - + + + + + - - - - - - + + + + + + {{ this.title }} - - + + - + - + - + {% block page %}{% endblock %} diff --git a/templates/project.html b/templates/project.html index 47e076b..dee321b 100644 --- a/templates/project.html +++ b/templates/project.html @@ -22,7 +22,7 @@

{{ _("Weblate status") }}

- Translation status + Translation status
{{ _("Translate") }} From 197e68d26a5b447b2959a1f30e2cb1c482e473e2 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 3 Nov 2022 22:09:55 +0100 Subject: [PATCH 3/3] Use specific language for weblate img and link --- templates/project.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/project.html b/templates/project.html index dee321b..c5706b1 100644 --- a/templates/project.html +++ b/templates/project.html @@ -21,8 +21,8 @@

{{ _("Weblate status") }}

- - Translation status + + Translation status