2021-10-04 12:20:20 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
2024-06-02 21:38:33 +00:00
|
|
|
<head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><title itemprop="name">{{ .Title }} | {{ .Site.Title }}</title><meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}"/>
|
|
|
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
|
|
|
{{ with .Params.date }}<meta name="og:type" content="article"/>{{ else }}<meta name="og:type" content="website"/>{{end}}
|
|
|
|
{{- with .Description }}<meta name="description" content="{{ . }}"><meta property="og:description" content="{{ . }}"/>{{ else }}<meta name="description" content="{{ .Site.Params.Description }}"><meta property="og:description" content="{{ .Site.Params.Description }}"/>{{- end }}
|
|
|
|
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
|
|
|
|
{{- with .RelPermalink }}<meta name="url" content="{{ . }}"/><meta property="og:url" content="{{ . }}"/>{{- end }}
|
|
|
|
<link rel="openid.delegate" href="https://ethanyoo.com/"/><link rel="openid.server" href="https://openid.indieauth.com/openid"/><link rel="webmention" href="https://webmention.io/ethanyoo.com/webmention"/>
|
2021-10-04 12:20:20 +00:00
|
|
|
{{- with .OutputFormats.Get "RSS" -}}{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}{{ end }}
|
2024-06-23 15:20:36 +00:00
|
|
|
<link rel="stylesheet" href="/css/style.css?rnd={{ now.Unix }}">
|
2021-10-04 12:20:20 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-06-02 21:38:33 +00:00
|
|
|
{{- if not .IsHome }}{{ partial "header" . }}{{ partialCached "search.html" . }}{{ end }}
|
|
|
|
{{- if .IsHome }}{{- block "header" . }}{{ end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- block "main" . }}{{ end }}
|
|
|
|
{{ if not .IsHome }}{{ partial "footer" . }}
|
|
|
|
{{ end }}
|
2024-06-23 15:20:36 +00:00
|
|
|
<script defer data-domain="ethanyoo.com" src="https://analytics.ethanyoo.com/js/script.js"></script>
|
2021-10-04 12:20:20 +00:00
|
|
|
</body>
|
|
|
|
</html>
|