Add <link>
tag to verify the blog in my masto bio
This commit is contained in:
parent
d4fdfd0cf8
commit
5b91e6d001
1 changed files with 25 additions and 0 deletions
25
layouts/_default/baseof.html
Normal file
25
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<style type=text/css>body{font-family:monospace;}</style>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||||
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
|
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||||
|
{{ range .Site.Params.customCSS -}}
|
||||||
|
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
||||||
|
{{- end }}
|
||||||
|
{{ with .OutputFormats.Get "RSS" -}}
|
||||||
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||||
|
{{- end }}
|
||||||
|
<link href="https://mastodon.bsd.cafe/@release_candidate" rel="me" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ partial "header" . }}
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
{{ partial "footer" . }}
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue