aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-13 02:43:31 -0400
committertdro <tdro@noreply.example.com>2022-05-13 02:43:31 -0400
commit6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb (patch)
treedfd8a9c0b6ba597a0428d1520a74bd0fd5711754 /themes
parent93197de690932d966457cc07682398e592421643 (diff)
downloadcanory-6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb.tar.gz
canory-6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb.tar.bz2
canory-6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb.zip
Makefile: Bring up Nu validator
Initial validation before things get out of hand.
Diffstat (limited to 'themes')
-rw-r--r--themes/default/layouts/_default/_markup/render-codeblock-goat.html2
-rw-r--r--themes/default/layouts/_default/_markup/render-codeblock.html2
-rw-r--r--themes/default/layouts/_default/baseof.html2
-rw-r--r--themes/default/layouts/partials/author-card.html4
-rw-r--r--themes/default/layouts/partials/context-profile.html8
-rw-r--r--themes/default/layouts/partials/gallery-images.html4
-rw-r--r--themes/default/layouts/partials/meta.html2
-rw-r--r--themes/default/layouts/partials/navigator-middle.html3
-rw-r--r--themes/default/layouts/partials/web-ring.html4
-rw-r--r--themes/default/layouts/shortcodes/imgur-video.html6
-rw-r--r--themes/default/layouts/shortcodes/video.html4
11 files changed, 20 insertions, 21 deletions
diff --git a/themes/default/layouts/_default/_markup/render-codeblock-goat.html b/themes/default/layouts/_default/_markup/render-codeblock-goat.html
index e83d7de..76dcb33 100644
--- a/themes/default/layouts/_default/_markup/render-codeblock-goat.html
+++ b/themes/default/layouts/_default/_markup/render-codeblock-goat.html
@@ -15,5 +15,5 @@
{{ .Inner }}
</svg>
{{ end }}
- <figcaption>{{ $caption | markdownify }}</figcaption>
+ <footer>{{ $caption | markdownify }}</footer>
</diagram-container>
diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html
index 9dba950..1555553 100644
--- a/themes/default/layouts/_default/_markup/render-codeblock.html
+++ b/themes/default/layouts/_default/_markup/render-codeblock.html
@@ -15,5 +15,5 @@
</code-block>
{{ with $caption }}
- <figcaption>{{ . | markdownify }}</figcaption>
+ <footer>{{ . | markdownify }}</footer>
{{ end }}
diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html
index 6aa06e8..3ee2e03 100644
--- a/themes/default/layouts/_default/baseof.html
+++ b/themes/default/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en-us">
+<html lang="en-us" itemscope itemtype="http://schema.org/BlogPosting">
<head>
<title>
{{- block "title" . -}}{{- end -}}
diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html
index f534a45..e2a2623 100644
--- a/themes/default/layouts/partials/author-card.html
+++ b/themes/default/layouts/partials/author-card.html
@@ -11,8 +11,8 @@
</figure>
</micro-thumbnail>
<micro-header>
- <h1>{{ .Data.name }}</h1>
- <h2><a title="" href="{{ "" | absURL }}/{{ .Data.user }}">@{{ .Data.user }}</a></h2>
+ <h2><b>{{ .Data.name }}</b></h2>
+ <h3><a title="" href="{{ "" | absURL }}/{{ .Data.user }}">@{{ .Data.user }}</a></h3>
</micro-header>
<a title="RSS" href="{{ "" | absURL }}/{{ .Data.user }}/rss.xml">
{{ safeHTML (readFile "static/icons/feather/rss.svg") }}
diff --git a/themes/default/layouts/partials/context-profile.html b/themes/default/layouts/partials/context-profile.html
index cb0f71f..056009c 100644
--- a/themes/default/layouts/partials/context-profile.html
+++ b/themes/default/layouts/partials/context-profile.html
@@ -2,7 +2,7 @@
<context-profile>
<context-menu>
- <section>
+ <div>
<aside>
<figure>
<a title="{{ $author.name }}" href="{{ .Site.BaseURL }}/{{ $author.user }}">
@@ -13,10 +13,10 @@
</figure>
</aside>
<aside>
- <h1>{{ $author.name }}</h1>
- <h2>@{{ $author.user }}</h2>
+ <h2>{{ $author.name }}</h2>
+ <p>@{{ $author.user }}</p>
</aside>
- </section>
+ </div>
<p>{{- $author.description | markdownify -}}</p>
</context-menu>
</context-profile>
diff --git a/themes/default/layouts/partials/gallery-images.html b/themes/default/layouts/partials/gallery-images.html
index f3790ba..9f5793a 100644
--- a/themes/default/layouts/partials/gallery-images.html
+++ b/themes/default/layouts/partials/gallery-images.html
@@ -2,7 +2,7 @@
<gallery-images>
<h1>Picture Gallery</h1>
- <section>
+ <aside>
{{ partial "gallery-walk.html" $folder }}
- </section>
+ </aside>
</gallery-images>
diff --git a/themes/default/layouts/partials/meta.html b/themes/default/layouts/partials/meta.html
index 8173f1f..5325e06 100644
--- a/themes/default/layouts/partials/meta.html
+++ b/themes/default/layouts/partials/meta.html
@@ -26,7 +26,7 @@
</anchored-entry>
{{ end }}
- <b>{{ partial "author-name.html" . }}</b>
+ <h2><b>{{ partial "author-name.html" . }}</b></h2>
&middot; {{ partial "handle.html" . }}
diff --git a/themes/default/layouts/partials/navigator-middle.html b/themes/default/layouts/partials/navigator-middle.html
index fa4e10d..cca3466 100644
--- a/themes/default/layouts/partials/navigator-middle.html
+++ b/themes/default/layouts/partials/navigator-middle.html
@@ -22,7 +22,7 @@
<section>
{{ with .Title }}
- <h1>{{ . }}</h1>
+ <h2>{{ . }}</h2>
{{ end }}
{{ with .Subtitle }}
<small>{{ . }}</small>
@@ -42,7 +42,6 @@
type="search"
autocomplete="off"
spellcheck="false"
- role="searchbox"
aria-autocomplete="list"
aria-label="search input"
/>
diff --git a/themes/default/layouts/partials/web-ring.html b/themes/default/layouts/partials/web-ring.html
index 4ddfa14..cca6027 100644
--- a/themes/default/layouts/partials/web-ring.html
+++ b/themes/default/layouts/partials/web-ring.html
@@ -98,7 +98,7 @@
<web-ring>
<h1>Web Ring</h1>
- <section>
+ <aside>
{{ range sort $feeds "FeedDateTime" "desc" }}
<web-ring-item>
<header>
@@ -132,7 +132,7 @@
</a>
</web-ring-item>
{{ end }}
- </section>
+ </aside>
</web-ring>
{{ end -}}
diff --git a/themes/default/layouts/shortcodes/imgur-video.html b/themes/default/layouts/shortcodes/imgur-video.html
index e6fabdd..8f99036 100644
--- a/themes/default/layouts/shortcodes/imgur-video.html
+++ b/themes/default/layouts/shortcodes/imgur-video.html
@@ -9,12 +9,12 @@
data-context="false">
<a href="//imgur.com/{{ $id }}"></a>
</blockquote>
- <script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>
+ <script async src="//s.imgur.com/min/embed.js"></script>
<noscript>
<a href="//imgur.com/{{ $id }}">imgur.com/{{ $id }}</a>
</noscript>
- <figcaption>
+ <footer>
{{ $title | markdownify }}:
{{ print "[Link](https://imgur.com/" $id ")" | markdownify }}
- </figcaption>
+ </footer>
</imgur-video>
diff --git a/themes/default/layouts/shortcodes/video.html b/themes/default/layouts/shortcodes/video.html
index 6d62abb..ecbe20e 100644
--- a/themes/default/layouts/shortcodes/video.html
+++ b/themes/default/layouts/shortcodes/video.html
@@ -37,8 +37,8 @@
<a href="{{ $source }}{{ $mime }}#t={{ $start }},{{ $end }}">link to the video</a> instead.
</p>
</video>
- <figcaption>
+ <footer>
{{ $caption | markdownify }}:
{{ print "[Link](" $source $mime ")" | markdownify }}
- </figcaption>
+ </footer>
</video-container>