diff --git a/templates/base.html b/templates/base.html index f1a70b8..4302d76 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,28 +1,29 @@ - + - - - - + + + {{ title }} | {{ config.title }} - - - - + + + + - + -
- {% block content %}{% endblock content %} -
+
{% block content %}{% endblock content %}
- - - \ No newline at end of file + + diff --git a/templates/content/default.html b/templates/content/default.html index 47c66bd..dbeceb7 100644 --- a/templates/content/default.html +++ b/templates/content/default.html @@ -1,13 +1,9 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}
-

{{ page.title }}

- {% if page.description %} -

{{ page.description }}

- {% endif %} -
- {{ content | safe }} -
+

{{ page.title }}

+ {% if page.description %} +

{{ page.description }}

+ {% endif %} +
{{ content | safe }}
-{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/templates/content/post.html b/templates/content/post.html index 3a462f9..9caa35f 100644 --- a/templates/content/post.html +++ b/templates/content/post.html @@ -1,25 +1,19 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}
-
-

{{ page.title }}

- {% if page.date %} - - {% endif %} - {% if page.description %} -

{{ page.description }}

- {% endif %} - {% if page.tags %} - - {% endif %} -
-
- {{ content | safe }} -
+
+

{{ page.title }}

+ {% if page.date %} + + {% endif %} {% if page.description %} +

{{ page.description }}

+ {% endif %} {% if page.tags %} + + {% endif %} +
+
{{ content | safe }}
-{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/templates/homepage.html b/templates/homepage.html index 27094e4..ed01713 100644 --- a/templates/homepage.html +++ b/templates/homepage.html @@ -1,13 +1,9 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}
-

{{ page.title }}

- {% if page.description %} -

{{ page.description }}

- {% endif %} +

{{ page.title }}

+ {% if page.description %} +

{{ page.description }}

+ {% endif %}
-
- {{ content | safe }} -
-{% endblock content %} \ No newline at end of file +
{{ content | safe }}
+{% endblock content %} diff --git a/templates/page.html b/templates/page.html index 2094088..55605f2 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,10 +1,6 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}
-

{{ page.title }}

-
- {{ content | safe }} -
+

{{ page.title }}

+
{{ content | safe }}
-{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/templates/section/blog.html b/templates/section/blog.html index 66413bd..3d3f2ae 100644 --- a/templates/section/blog.html +++ b/templates/section/blog.html @@ -1,20 +1,18 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}

{{ section.title }}

-{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/templates/section/default.html b/templates/section/default.html index c1d4449..9b13cd5 100644 --- a/templates/section/default.html +++ b/templates/section/default.html @@ -1,15 +1,13 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}

{{ section.title }}

-{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/templates/section/projects.html b/templates/section/projects.html index eec9477..81652f7 100644 --- a/templates/section/projects.html +++ b/templates/section/projects.html @@ -1,24 +1,21 @@ -{% extends "base.html" %} - -{% block content %} +{% extends "base.html" %} {% block content %}

{{ section.title }}

-{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/treefmt.toml b/treefmt.toml index 7afdaf7..e83d7d7 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -19,7 +19,7 @@ options = ["fmt", "-o", "align_entries=true", "-o", "reorder_keys=true"] [formatter.prettier] command = "prettier" excludes = ["*/sources.json"] -includes = ["*.json", "*.md", "*.yaml", "*.yml"] +includes = ["*.json", "*.md", "*.yaml", "*.yml", "*.html"] options = ["--write"] [formatter.rustfmt]