diff --git a/scripts/prep.sh b/scripts/prep.sh index b152cc9..d6a2f91 100755 --- a/scripts/prep.sh +++ b/scripts/prep.sh @@ -31,6 +31,8 @@ init() { cat README.md | tail -n +5 >> $file } + + prep_status() { mkdir content/updates @@ -49,5 +51,18 @@ prep_status() { python ./scripts/gen.py } + +prep_closing() { + closing="content/closing.md" + touch $closing + echo "+++" > $closing + echo 'title = "Gitea Ltd confirms its takeover of the Gitea project"' >> $closing + echo "+++" >> $closing + echo "" >> $closing + cat closing.md >> $closing + +} + init prep_status +prep_closing diff --git a/templates/index.html b/templates/index.html index 10265b2..5e8ef9b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,7 +20,7 @@ conflicts of interest and restore Community Trust." %} {% set headline =
- {% block content %} {% for page in section.pages %} + {% block content %}
Gitea Open Letter logo + {% for page in section.pages %} + +
{{ page.content | safe }}
+ {% endif %} +

+ + + {% if page.title == "Gitea Open Letter" %} - +
+
+
{{ page.content | safe }}
+ {% endif %} {% endfor %}
- {% endfor %} {% endblock content %} + {% endblock content %}