Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/escalate/hugo-split-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Cabak <jakubcabak@gmail.com>2021-04-13 18:03:39 +0300
committerFelix Börner <github@felix-boerner.de>2021-04-25 14:32:34 +0300
commite8bab28a19203618b77e458cdc06ab182f1dfd68 (patch)
treecc0b6e7c9d740a10e321097ceb9f33ee8ed6e476
parentfe0698b0c370964915c72ada141ae1e7a1ba2a2a (diff)
Accessibility and SEO improvements
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/intro.html2
-rw-r--r--layouts/partials/links.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index bcb0a30..c006dd6 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
<div class="split-credit">
- <p>{{ .Site.Copyright | safeHTML }} - <a href="https://onepagelove.com/split">Split Template</a> by <a href="https://onepagelove.com">One Page Love</a></p>
+ <p>{{ .Site.Copyright | safeHTML }} - <a href="https://onepagelove.com/split" title="Split Template">Split Template</a> by <a href="https://onepagelove.com" title="One Page Love">One Page Love</a></p>
{{ "<!--" | safeHTML }}
{{ "To edit this credit you can remove the CC3.0 license for only $5 here: https://onepagelove.com/split" | safeHTML }}
diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html
index 9d64ca9..bcaa068 100644
--- a/layouts/partials/intro.html
+++ b/layouts/partials/intro.html
@@ -1,4 +1,4 @@
<div class="split-intro">
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
- {{ with .Params.tagline }}<span class="tagline">{{ . }}</span>{{ end }}
+ {{ with .Params.tagline }}<h2 class="tagline">{{ . }}</h2>{{ end }}
</div>
diff --git a/layouts/partials/links.html b/layouts/partials/links.html
index f0e9b40..a0b50f6 100644
--- a/layouts/partials/links.html
+++ b/layouts/partials/links.html
@@ -8,7 +8,7 @@
<h3>{{ $list.heading }}</h3>
<ul>
{{ range $list.link }}
- <li><a href="{{ .url }}">{{ .text }}</a></li>
+ <li><a href="{{ .url }}" title="{{ .text }}">{{ .text }}</a></li>
{{ end }}
</ul>
</div>