diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 280135e..e3cd969 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,8 +1,8 @@ <!DOCTYPE html> -<HTML lang="en"> - <HEAD> - <META charset="utf-8"> - <TITLE>{{ block "title" . }} +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>{{ block "title" . }} {{ .Site.Title }} {{ end }}</TITLE> <link rel='stylesheet' type='text/css' href='/style.css'> @@ -29,10 +29,10 @@ <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'> <meta name="robots" content="index, follow"> {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">{{end}} - </HEAD> - <BODY> + </head> + <body> {{ block "header" . }} - <HEADER> + <header> {{ $image := resources.Get "logo.png" }} {{ $image := $image.Resize "x45" }} <a href="/"> @@ -42,35 +42,26 @@ (because giphy sucks) </div> </a> - </HEADER> + </header> {{ end }} - <MAIN> + <main> {{ block "page-title" . }} <h2> {{ .Page.Title }}</h2> {{ end }} {{ block "main" . }} {{ end }} - </MAIN> {{ block "FOOTER" . }} - <FOOTER> - <ASIDE> - <BR> - Terms and conditions - <OL> - <li> I don't care who you are so I won't track you. - <li> I have stolen all those memes so I have no rights to them. - <li> You will not kill my server. - </OL> - </ASIDE> + </main> + <footer> <div> - Created by <a href="https://sapka.me" target="_blank">Michal</a>. - <a href="https://github.com/michalsapka/meme.sapka.me" target="_blank">Source code is available</a>. - <BR> - <BR> + <a href="https://github.com/michalsapka/website" target="_blank">Source code is available</a>. Theme is temporary. Only glory of Satan is eternal. + <BR><BR> + Unless stated otherwise, all content Copyright 2022, 2023 MichaĆ Sapka. Unauthorized use under penalty of watching a random Netflix show or a fine of one million dolars. + </div> - </FOOTER> + </footer> {{ end }} - </BODY> -</HTML> + </body> +</html> |