aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-09-22 12:58:12 -0700
committerFranck Cuny <franck@fcuny.net>2024-09-22 12:58:12 -0700
commit6a20b0c18e5093219ae9393f3864354c46bb05cf (patch)
tree4cad4c335d7681a4d64876ef56c51cad4ce74783 /templates/page.html
parentrestructure a bit the index (diff)
downloadfcuny.net-6a20b0c18e5093219ae9393f3864354c46bb05cf.tar.gz
add a menu and improve readability
Add a menu with links to some sections. Tweak the CSS to make the website a bit more readable.
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html27
1 files changed, 9 insertions, 18 deletions
diff --git a/templates/page.html b/templates/page.html
index 1026cd0..53a7be3 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -4,25 +4,16 @@
{% block content -%}
<main>
-<h1>{{ page.title }}</h1>
-<p class="date">
- <time datetime="{{ page.date | date(format="%+") }}">
- {{- page.date | date(format="%B %m, %Y") -}}
- </time>
- {%- if page.updated %}
- •
- updated <time datetime="{{ page.updated | date(format="%+") }}">
- {{- page.updated | date(format="%B %m, %Y") -}}
- </time>
- {%- endif %}
-</p>
+ <h1>{{ page.title }}</h1>
-{{ page.content | safe -}}
-</main>
+ {{ page.content | safe -}}
+
+ <p class="date">
+ <time datetime="{{ page.date | date(format="%+") }}">
+ {{- page.date | date(format="%B %m, %Y") -}}
+ </time>
+ </p>
-<hr>
-<p>
-<b><a href="/">↑ back home</a></b>
-</p>
+</main>
{%- endblock content %}