diff options
author | Wolfgang Müller | 2019-07-22 17:19:05 +0200 |
---|---|---|
committer | Wolfgang Müller | 2019-07-22 17:19:05 +0200 |
commit | 89ff7a7514de03dc95ea3bd7cd66f18bcfa237e6 (patch) | |
tree | d9c99d519ae59505a40eb754c2e05944d3f985d3 | |
parent | f5ed4d2c8463f01d551ac1cdf82b387dc8ef3ec0 (diff) | |
download | site-89ff7a7514de03dc95ea3bd7cd66f18bcfa237e6.tar.gz |
templates: Correctly wrap articles in <main>
As per guidelines, <main> should contain <article>, and not the other
way around.
Diffstat (limited to '')
-rw-r--r-- | templates/post.xml | 4 | ||||
-rw-r--r-- | util/mdconv.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/post.xml b/templates/post.xml index 4a7ee05..0e68610 100644 --- a/templates/post.xml +++ b/templates/post.xml @@ -13,7 +13,9 @@ <meta name="twitter:image" content="https://oriole.systems/logo.webp" /> </head> <body class="post"> - <article data-sblg-article="true" data-sblg-permlink="false"></article> + <main> + <article data-sblg-article="true" data-sblg-permlink="false"></article> + </main> </body> </html> diff --git a/util/mdconv.sh b/util/mdconv.sh index 19f4d4c..1e48eb7 100644 --- a/util/mdconv.sh +++ b/util/mdconv.sh @@ -13,8 +13,6 @@ cat<<EOF <a href="..">↖</a> <time datetime="$date">$(date -d"$date" '+%A, %B %e, %Y')</time> </header> - <main> - $(lowdown "$1") - </main> + $(lowdown "$1") </article> EOF |