Use proper semantic tags in baseof.html

This commit is contained in:
Joshua Goins 2022-09-08 17:36:01 -04:00
parent 3685f1c64f
commit c0169434d5
2 changed files with 13 additions and 15 deletions

View file

@ -2,9 +2,9 @@
<html lang="en"> <html lang="en">
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
<body> <body>
{{- partial "header.html" . -}} <header>{{- partial "header.html" . -}}</header>
{{- partial "sidebar.html" . -}} <aside>{{- partial "sidebar.html" . -}}</aside>
{{- block "main" . }}{{- end }} <article>{{- block "main" . }}{{- end }}</article>
{{- partial "footer.html" . -}} <footer>{{- partial "footer.html" . -}}</footer>
</body> </body>
</html> </html>

View file

@ -1,13 +1,11 @@
<footer> Copyright (c) 2022. <a href="https://git.sr.ht/~redstrate/redstrate.com/tree/master/item/content/{{ .File.Path }}?view-source">View Source</a>
Copyright (c) 2022. <a href="https://git.sr.ht/~redstrate/redstrate.com/tree/master/item/content/{{ .File.Path }}?view-source">View Source</a>
<div> <div>
{{ with resources.Get "cc-by-nc-sa.gif" }} {{ with resources.Get "cc-by-nc-sa.gif" }}
<img src="{{ .Permalink }}"> <img src="{{ .Permalink }}">
{{ end }} {{ end }}
{{ with resources.Get "rss-button.gif" }} {{ with resources.Get "rss-button.gif" }}
<img src="{{ .Permalink }}"> <img src="{{ .Permalink }}">
{{ end }} {{ end }}
</div> </div>
</footer>