From ba7fd8ed5809bb73971a9caf6c382c17782e0f60 Mon Sep 17 00:00:00 2001 From: lsof Date: Tue, 2 Sep 2025 12:03:22 +0200 Subject: makeover --- templates/base.html | 8 ++++++++ templates/blog-page.html | 8 ++------ templates/blog.html | 5 +---- templates/index.html | 37 +++++-------------------------------- templates/root-page.html | 11 +++++++++++ templates/taxonomy_list.html | 3 --- templates/taxonomy_single.html | 3 --- 7 files changed, 27 insertions(+), 48 deletions(-) create mode 100644 templates/root-page.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 149831a..5276d29 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,11 +9,19 @@ +

lemon's site

+ +
{% block content %} {% endblock %}
+
+

diff --git a/templates/blog-page.html b/templates/blog-page.html index 51f8aba..8ca5835 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -4,19 +4,15 @@ {% block content %} -

{{ page.title }}

-

{{ page.date | date(format="%-d %b %Y") }}

+ {{ page.date | date(format="%-d %b %Y") }} + — {% for tag in page.taxonomies.tags %} #{{ tag }} {% endfor %}

- -
{{ page.content | safe }} {% endblock content %} diff --git a/templates/blog.html b/templates/blog.html index f8f422f..2c0b4cf 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -3,16 +3,13 @@ {% block title %}lemon's site{% endblock title %} {% block content %} -

{{ section.title }}

Browse by tags {% endblock content %} diff --git a/templates/index.html b/templates/index.html index afa923e..6fd3d1c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,40 +3,13 @@ {% block title %}lemon's site{% endblock title %} {% block content %} -

lemon's site

- +

+ {{ section.title }} +

-

-I like tool-assisted speedruns, cats, compilers, bugs, ... -

- -

links

- - - -

projects

- - -

contact

- - - -
+{{ section.content | safe }} +
diff --git a/templates/root-page.html b/templates/root-page.html new file mode 100644 index 0000000..bf837bd --- /dev/null +++ b/templates/root-page.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title }}{% endblock title %} + +{% block content %} + +

+ {{ page.title }} +

+{{ page.content | safe }} +{% endblock content %} diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html index 084e3b5..652f4d7 100644 --- a/templates/taxonomy_list.html +++ b/templates/taxonomy_list.html @@ -3,9 +3,6 @@ {% block title %}Browse by {{taxonomy.name}}{% endblock title %} {% block content %} -

{{ taxonomy.name }}

diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html index 9f93975..497b4cb 100644 --- a/templates/taxonomy_single.html +++ b/templates/taxonomy_single.html @@ -3,9 +3,6 @@ {% block title %}#{{ term.name }}{% endblock title %} {% block content %} -

#{{ term.name }}

-- cgit v1.2.3