Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sass/app.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#content{
main {
p:has(img) {
display: flex;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion sass/art.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#content{
main {
& > ul > li {
margin: 10px 0;
}
Expand Down
3 changes: 1 addition & 2 deletions sass/base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
:root {
color-scheme: light dark;
--primary-color: royalblue;
--neutral-color: gray;
--page-padding-horizontal: 5%;
Expand Down Expand Up @@ -47,7 +46,7 @@ ul {
}
}

#content {
main {
display: flex;
flex-direction: column;
flex-grow: 1;
Expand Down
2 changes: 1 addition & 1 deletion sass/blog.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#content {
main {
p:has(img) {
display: flex;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion sass/readable.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#content {
main {
width: 700px;
}
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
{%- if not page.extra.hide_header -%}
{%- include "partials/header.html" -%}
{%- endif -%}
<div id="content">
<main>
{%- block title -%}
<h1>{{ page.title }}</h1>
{%- endblock title -%}
{%- block content -%}
{%- endblock content -%}
</div>
</main>
{%- if not page.extra.hide_footer -%}
{%- include "partials/footer.html" -%}
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

{%- if page.date -%}
<div class="dates">
<p>Published: {{ page.date | date(format="%B %-d, %Y") }}</p>
<p>Published: <time datetime="{{ page.date }}">{{ page.date | date(format="%B %-d, %Y") }}</time></p>
{%- if page.updated -%}
<p>Updated: {{ page.updated | date(format="%B %-d, %Y") }}</p>
<p>Updated: <time datetime="{{ page.date }}">{{ page.updated | date(format="%B %-d, %Y") }}</time></p>
{%- endif -%}
</div>
{%- endif -%}
Expand Down
10 changes: 6 additions & 4 deletions templates/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; form-action 'none'">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<meta name="referrer" content="no-referrer">
<meta name="description" content="{{ config.description }}">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/16x16.png">
<link rel="icon" type="image/png" sizes="48x48" href="/favicon/48x48.png">
Expand All @@ -10,10 +16,6 @@
<link rel="stylesheet" type="text/css" href="/giallo-light.css" media="(prefers-color-scheme: light)">
{%- set atom_url = get_url(path="atom.xml") -%}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ atom_url }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; form-action 'none'">
<meta charset="utf-8">

{%- set stylesheets = ["/base.css", "/syntax.css"] -%}

Expand Down
2 changes: 1 addition & 1 deletion templates/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<li>
<a href="{{ page.path }}">{{ page.title }}</a>
<br>
{{ page.date | date(format="%B %-d, %Y") }} - {{ page.description }}
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %-d, %Y") }}</time> - {{ page.description }}
</li>
{%- endfor -%}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion templates/taxonomy_single.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1><a href="{{ taxonomy_data.permalink }}">{{ taxonomy.name }}</a>: {{ term.nam
<li>
<a href="{{ page.path }}">{{ page.title }}</a>
<br>
{{ page.date | date(format="%B %-d, %Y") }} - {{ page.description }}
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %-d, %Y") }}</time> - {{ page.description }}
</li>
{%- endfor -%}
</ul>
Expand Down
Loading