master #1
@ -1,48 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language }}">
|
||||
<head>
|
||||
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
<link rel="canonical" href="{{ .Site.BaseURL }}">
|
||||
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
|
||||
<link rel='stylesheet' type='text/css' href='/style.css'>
|
||||
<link rel='stylesheet' type='text/css' href='/hugo.css'>
|
||||
<link rel='stylesheet' type='text/css' href='/content.css'>
|
||||
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
|
||||
{{ end -}}
|
||||
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
|
||||
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
|
||||
{{ end -}}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="index, follow">
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
|
||||
<main>
|
||||
<header>
|
||||
<h1 id="tag_{{ .Title }}">
|
||||
{{ if .IsHome }} {{ .Site.Title }} {{ end }}
|
||||
{{ block "title" . }}
|
||||
{{ end }}</h1>
|
||||
<h4 id="tag_{{ .Title }}">
|
||||
{{ if not .IsHome }} {{ .Params.description }} {{ end }}
|
||||
</h4>
|
||||
</header>
|
||||
<article>
|
||||
{{ block "main" . }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ if not .IsHome }} <br><hr><br> {{end -}}
|
||||
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
|
||||
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
|
||||
</article>
|
||||
</main>
|
||||
{{ block "footer" . }}
|
||||
<footer>
|
||||
<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a>
|
||||
{{- if .Param "showrss" }}<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }}
|
||||
</footer>
|
||||
{{ end }}
|
||||
<body>
|
||||
{{ block "header" . }}
|
||||
{{ partial "header.html" . }}
|
||||
{{ end }}
|
||||
<main>
|
||||
<div class="article-header">
|
||||
<h3 class="spaced">
|
||||
{{ .Page.Title }}
|
||||
</h3>
|
||||
</div>
|
||||
<article>
|
||||
{{ block "main" . }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ block "footer" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user