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..40690bd 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 -%}