Update dump

Also testing removal of the CNAME file!
😁
This commit is contained in:
2022-04-07 15:52:18 +00:00
parent 87f8348d6d
commit 7123b8a409
24 changed files with 133 additions and 92 deletions

View File

@@ -3,8 +3,11 @@
<head>
<meta charset="UTF-8">
<meta name=”robots” content="index,follow">
{{ with resources.Get "favicon.ico" | resources.Fingerprint }}
<link rel="icon" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" />
{{ end }}
{{ block "meta" . }}
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
{{ end }}
<meta name="twitter:card" content="summary">
<meta property="og:title" content="{{ site.Title }}" />
@@ -12,26 +15,30 @@
<meta property="og:site_name" content="{{ site.Title }}" />
<!-- <meta property="og:image" content=""> -->
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.1/css/bootstrap.min.css' crossorigin='anonymous'>
{{ if isset .Params "title" }}
<title>{{ site.Title }} - {{ .Title }}</title>
<title>{{ site.Title }} - {{ .Title }}</title>
{{ else }}
<title>{{ site.Title }}</title>
{{ end }}{{ if .Description }}
<meta name='description' content='{{ .Description }}'>
<title>{{ site.Title }}</title>
{{ end }}
{{ block "head" . }}
{{ if .Description }}
<meta name='description' content='{{ .Description }}'>
{{ end }}
{{ block "head" . }}{{ end }}
{{ if .Param "chroma" }}
<link href='/chroma.css' rel='stylesheet'>
{{ with resources.Get "chroma.css" | resources.Minify | resources.Fingerprint }}
<link href='{{ .Rel }}' integrity="{{ .Data.Integrity }}" rel='stylesheet'>
{{ end }}
{{ end }}
{{ with resources.Get "main.scss" | resources.ToCSS (dict "outputStyle" "expanded" "enableSourceMap" false) | resources.Fingerprint }}
<link href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" rel="stylesheet">
{{ end }}
<link href='/main.css' rel='stylesheet'>
</head>
<body>
<header>
{{ partial "nav.html" . }}
{{ partial "nav.html" . }}
</header>
<div id="content">
<main>

View File

@@ -6,9 +6,10 @@
{{ .Content }}
<ul class="contents">
{{ range .Pages }}
<li>
{{ partial "summary.html" . }}
</li>
<br />
<a href='{{ .RelPermalink }}'>
<li>{{ partial "summary.html" . }}</li>
</a>
{{ end }}
</ul>
</article>