2021-10-04 12:20:20 +00:00
<!DOCTYPE html>
< html lang = "{{ .Site.LanguageCode | default " en-us " } } " >
2024-09-19 20:42:40 +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" > {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} from {{ end }}{{ .Site.Title }}{{ end }}< / title >
< meta property = "og:title" content = "{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} from {{ end }}{{ .Site.Title }}{{ end }}" / >
{{ with .Site.Params.author.name }}< meta name = "author" content = "{{ . }}" > {{ end }}
2024-06-02 21:38:33 +00:00
{{ with .Params.date }}< meta name = "og:type" content = "article" / > {{ else }}< meta name = "og:type" content = "website" / > {{end}}
2024-09-19 20:42:40 +00:00
{{- 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 }}
2024-06-02 21:38:33 +00:00
< 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 }}" >
2024-11-13 02:09:28 +00:00
< script defer src = "/js/script.js" data-website-id = "ca92a149-4e82-46bf-9dc9-c85641315bff" data-host-url = "https://analytics.ethanyoo.com" > < / script >
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 }}
2021-10-04 12:20:20 +00:00
< / body >
< / html >