diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-12-19 23:28:18 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-12-19 23:28:18 +0100 |
commit | f82b5ae5b4ba30e82554824fc98ad77057d01d8f (patch) | |
tree | 159b7fed76877aeea002d9801f1f963444fc1324 /layouts | |
parent | ebf28f08194e295dde7cdb61f75c107a614a64f1 (diff) |
Remove partials for header and footer
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 25 | ||||
-rw-r--r-- | layouts/partials/header.html | 22 |
2 files changed, 0 insertions, 47 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index b0b9262..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,25 +0,0 @@ -<!-- {{ partial "nextprev.html" . -}} --> -<!-- {{ partial "taglist.html" . -}} --> -</article> -</main> -<footer> - {{- if isset .Params "tags" -}} - {{- $tagsLen := len .Params.tags -}} - {{- if gt $tagsLen 0 -}} - <div style="clear:both" class=taglist> - {{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}} - {{- range $k, $v := .Params.tags -}} - {{- $url := printf "tags/%s" (. | urlize | lower) -}} - <a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a> - {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} - {{- end -}} - </div> - {{- end -}} - {{- end }} - <a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a><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> -</footer> -</body> - -</html> diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 3d0a0bb..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html> -<html lang="{{ .Site.Language }}"> -<head> - <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> - <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'> - {{ 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> -<body> -{{- if .Site.Menus.main }} -{{ partial "nav.html" . }} -{{ end }} -<main> |