blog/themes/xsfx/layouts/_default/baseof.html

29 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode | default "en-us" }}"{{ if ne .Title "Search" }} class="h-feed"{{ end }}>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ if eq .Title .Site.Title }}{{ .Title }}{{ else }}{{ .Site.Title }} | {{ .Title }}{{ end }}</title>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
<link rel="stylesheet" href="{{ "/css/sscaffold.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/xsfx.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/fontawesome.css" | relURL }}">
<link rel="webmention" href="https://webmention.io/xsteadfastx.org/webmention" />
<link rel="pingback" href="https://webmention.io/xsteadfastx.org/xmlrpc" />
{{ with .OutputFormats.Get "RSS" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{- end }}
<link rel="feed alternate" type="text/html" href="{{ "/all/index.html" | relURL }}">
{{ template "_internal/twitter_cards.html" . }}
</head>
<body>
{{ partial "meta" . }}
{{ partial "header" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer" . }}
{{ partial "scripts" . }}
{{ block "footerfiles" . }}{{ end }}
</body>
</html>