chrysalide

Minimalist and text-based browsers friendly theme for Motyl
Log | Files | Refs | README | LICENSE

commit 4c5d63fda5e2001c31fdd89e0d4061df497e84d6
parent 57b244e632c1396471de3776a1be594c6136550f
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 12 Feb 2021 18:28:38 +0100

Use <h1> tags for site.title and <h2> tags for page.title.

Diffstat:
Massets/styles/chrysalide.css | 4++--
Mtemplates/header.mustache | 2+-
Mtemplates/post.mustache | 5++---
3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/assets/styles/chrysalide.css b/assets/styles/chrysalide.css @@ -48,7 +48,7 @@ footer { margin: 16px 0; } -h1, h3 { +h2, h3 { margin-bottom: 0; } @@ -58,7 +58,7 @@ header, #container { padding: 0 10px; } -header h2 { +header h1 { font-size: 48px; line-height: 48px; margin: 16px 0 0; diff --git a/templates/header.mustache b/templates/header.mustache @@ -21,7 +21,7 @@ <body> <header> - <h2><a href="/">{{{site.title}}}</a></h2> + <h1><a href="/">{{{site.title}}}</a></h1> {{#site.pages}} <a href="{{{url}}}">{{{title}}}</a> {{/site.pages}} diff --git a/templates/post.mustache b/templates/post.mustache @@ -1,8 +1,8 @@ {{> header}} -<h1>{{{page.title}}}</h1> +<h2>{{{page.title}}}</h2> <time>{{page.date}}</time> {{#page.categoryDisplay}} &middot; <a href="/categories/{{{url}}}">{{category}}</a> {{/page.categoryDisplay}} {{{page.content}}} -{{> footer}} -\ No newline at end of file +{{> footer}}