mirror of https://github.com/escalate/hugo-split-theme.git

Jakub Cabak
13.03.2021 e8bab28a19203618b77e458cdc06ab182f1dfd68
Accessibility and SEO improvements
3 files modified
6 ■■■■ changed files
layouts/partials/footer.html 2 ●●● patch | view | raw | blame | history
layouts/partials/intro.html 2 ●●● patch | view | raw | blame | history
layouts/partials/links.html 2 ●●● patch | view | raw | blame | history
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 }}
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>
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>