From ccbe45e6c25b569f245c0dc26e2d0511b3422ff1 Mon Sep 17 00:00:00 2001 From: Samuel McBroom Date: Tue, 28 Apr 2026 15:24:30 -0700 Subject: [PATCH 1/2] Use semantic tag and update meta. --- sass/app.scss | 2 +- sass/art.scss | 2 +- sass/base.scss | 3 +-- sass/blog.scss | 2 +- sass/readable.scss | 2 +- templates/base.html | 4 ++-- templates/page.html | 4 ++-- templates/partials/head.html | 10 ++++++---- templates/section.html | 2 +- templates/taxonomy_single.html | 2 +- 10 files changed, 17 insertions(+), 16 deletions(-) diff --git a/sass/app.scss b/sass/app.scss index 6527f78..edaf28f 100644 --- a/sass/app.scss +++ b/sass/app.scss @@ -1,4 +1,4 @@ -#content{ +main { p:has(img) { display: flex; justify-content: center; diff --git a/sass/art.scss b/sass/art.scss index dc06323..7f27856 100644 --- a/sass/art.scss +++ b/sass/art.scss @@ -1,4 +1,4 @@ -#content{ +main { & > ul > li { margin: 10px 0; } diff --git a/sass/base.scss b/sass/base.scss index 0606982..f9ecbf7 100644 --- a/sass/base.scss +++ b/sass/base.scss @@ -1,5 +1,4 @@ :root { - color-scheme: light dark; --primary-color: royalblue; --neutral-color: gray; --page-padding-horizontal: 5%; @@ -47,7 +46,7 @@ ul { } } -#content { +main { display: flex; flex-direction: column; flex-grow: 1; diff --git a/sass/blog.scss b/sass/blog.scss index 2293740..6ce5bfa 100644 --- a/sass/blog.scss +++ b/sass/blog.scss @@ -1,4 +1,4 @@ -#content { +main { p:has(img) { display: flex; justify-content: center; diff --git a/sass/readable.scss b/sass/readable.scss index ba74136..e194ab6 100644 --- a/sass/readable.scss +++ b/sass/readable.scss @@ -1,3 +1,3 @@ -#content { +main { width: 700px; } diff --git a/templates/base.html b/templates/base.html index 809427c..2fd5838 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,13 +10,13 @@ {%- if not page.extra.hide_header -%} {%- include "partials/header.html" -%} {%- endif -%} -
+
{%- block title -%}

{{ page.title }}

{%- endblock title -%} {%- block content -%} {%- endblock content -%} -
+ {%- if not page.extra.hide_footer -%} {%- include "partials/footer.html" -%} {%- endif -%} diff --git a/templates/page.html b/templates/page.html index 029f0a0..91862b2 100644 --- a/templates/page.html +++ b/templates/page.html @@ -10,9 +10,9 @@ {%- if page.date -%}
-

Published: {{ page.date | date(format="%B %-d, %Y") }}

+

Published:

{%- if page.updated -%} -

Updated: {{ page.updated | date(format="%B %-d, %Y") }}

+

Updated:

{%- endif -%}
{%- endif -%} diff --git a/templates/partials/head.html b/templates/partials/head.html index 2a2245e..e444ed5 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -1,4 +1,10 @@ + + + + + + @@ -10,10 +16,6 @@ {%- set atom_url = get_url(path="atom.xml") -%} - - - - {%- set stylesheets = ["/base.css", "/syntax.css"] -%} diff --git a/templates/section.html b/templates/section.html index 9da8c78..7efa021 100644 --- a/templates/section.html +++ b/templates/section.html @@ -7,7 +7,7 @@
  • {{ page.title }}
    - {{ page.date | date(format="%B %-d, %Y") }} - {{ page.description }} + - {{ page.description }}
  • {%- endfor -%} diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html index 5334102..e5d04c7 100644 --- a/templates/taxonomy_single.html +++ b/templates/taxonomy_single.html @@ -15,7 +15,7 @@

    {{ taxonomy.name }}: {{ term.nam
  • {{ page.title }}
    - {{ page.date | date(format="%B %-d, %Y") }} - {{ page.description }} + - {{ page.description }}
  • {%- endfor -%} From fc9137a14310717deb4191627001ed710b0b5ffe Mon Sep 17 00:00:00 2001 From: Samuel McBroom Date: Tue, 28 Apr 2026 15:27:11 -0700 Subject: [PATCH 2/2] Fix meta. --- templates/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/head.html b/templates/partials/head.html index e444ed5..40690bd 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -1,5 +1,5 @@ - +