46 lines
2.8 KiB
HTML
46 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="author" content="{{ with .Site.Params.Author.firstname }}{{ . }}{{ end }} {{ with .Site.Params.Author.lastname }}{{ . }}{{ end }}">
|
|
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}">
|
|
|
|
{{ $siteTitle := .Site.Title }} {{ $title := $siteTitle }}{{ if .IsPage }}{{ $title = .Title }}
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:title" content="{{ $title }}">
|
|
{{ if .Param "feature" }}<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Params.feature }}">{{ end }}
|
|
<meta property="og:url" content="{{ .Page.Permalink }}">
|
|
<meta property="og:description" content="{{ .Summary }}">
|
|
<meta property="og:site_name" content="@{{ .Site.Params.Author.handle }} {{ .Site.Title }}">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
{{ end }}
|
|
{{ hugo.Generator }}
|
|
{{ $.Scratch.Add "title" .Site.Title }}
|
|
<title>{{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}@{{ .Site.Params.Author.handle }} {{ .Site.Title }}</title>
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.BaseURL }}apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.BaseURL }}favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.BaseURL }}favicon-16x16.png">
|
|
<link rel="manifest" href="{{ .Site.BaseURL }}site.webmanifest">
|
|
|
|
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-palette.css" media="screen" charset="utf-8" />
|
|
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-light.css" media="screen" charset="utf-8" />
|
|
{{ if .Site.Params.EnablePreferredDarkAppearance }}
|
|
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-dark.css" media="screen" charset="utf-8" />
|
|
{{ end }}
|
|
|
|
<link rel="stylesheet" href="{{.Site.BaseURL}}css/weblog.css" media="screen" charset="utf-8" />
|
|
<link rel="stylesheet" href="{{.Site.BaseURL}}lightbox2-2.11.4/css/lightbox.min.css" type="text/css" />
|
|
|
|
{{ partial "custom_stylesheets.html" . }}
|
|
|
|
{{ if .Site.Params.rssenabled }}
|
|
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{.Site.Title}}" />
|
|
{{ end }}
|
|
{{ if .Site.Params.umamienabled }}
|
|
<script defer src="{{ .Site.Params.umamiurl }}script.js" integrity="{{ .Site.Params.umamisrihash }}" crossorigin="anonymous" data-website-id="{{ .Site.Params.umamiid }}"></script>
|
|
{{ end }}
|
|
</head>
|
|
<body class="site">
|