diff options
author | User Mms <mms@voyager.local> | 2024-10-17 21:08:50 +0200 |
---|---|---|
committer | User Mms <mms@voyager.local> | 2024-10-17 21:08:50 +0200 |
commit | 8fbff6319173bb19d2c74db70e4568fd08b01ee6 (patch) | |
tree | 58697a5b114fe41f83a49b8dd3bed3e885df1d43 /layouts | |
parent | 56a32cb861e698cbe633b037e4a9bc42dd7403c3 (diff) |
tidy up
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/cool-emacs/baseof.html | 13 | ||||
-rw-r--r-- | layouts/cool-emacs/list.html | 2 | ||||
-rw-r--r-- | layouts/cool-emacs/redirect.html | 9 | ||||
-rw-r--r-- | layouts/cool-emacs/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/menu/item.html | 6 |
5 files changed, 3 insertions, 29 deletions
diff --git a/layouts/cool-emacs/baseof.html b/layouts/cool-emacs/baseof.html deleted file mode 100644 index 944354d..0000000 --- a/layouts/cool-emacs/baseof.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ block "main" . }} -{{ end }} - -<!DOCTYPE html> -<html> - <head> - <title>{{ .Title }}</title> - <link rel="canonical" href="/unix-history/"/> - <meta http-equiv="content-type" content="text/html; charset=utf-8"/> - <meta http-equiv="refresh" content="0; url=https://emacs.crys.site/{{ replace .RelPermalink "/cool-emacs/" ""}}"/> - </head> - -</html> diff --git a/layouts/cool-emacs/list.html b/layouts/cool-emacs/list.html deleted file mode 100644 index e4e4a83..0000000 --- a/layouts/cool-emacs/list.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ define "main" }} -{{ end }} diff --git a/layouts/cool-emacs/redirect.html b/layouts/cool-emacs/redirect.html deleted file mode 100644 index 599d57b..0000000 --- a/layouts/cool-emacs/redirect.html +++ /dev/null @@ -1,9 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <title>{{ .Title }}</title> - <link rel="canonical" href="/unix-history/"/> - <meta http-equiv="content-type" content="text/html; charset=utf-8"/> - <meta http-equiv="refresh" content="0; url=/unix-history/#{{ .Page.Params.link }}"/> - </head> -</html> diff --git a/layouts/cool-emacs/single.html b/layouts/cool-emacs/single.html deleted file mode 100644 index e4e4a83..0000000 --- a/layouts/cool-emacs/single.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ define "main" }} -{{ end }} diff --git a/layouts/partials/menu/item.html b/layouts/partials/menu/item.html index 9802c6f..f000b2c 100644 --- a/layouts/partials/menu/item.html +++ b/layouts/partials/menu/item.html @@ -6,7 +6,7 @@ {{- if $pageItem.Params.menu_item_override_start_li }}<li>{{- end}} - {{$item.Pre}}<b><a href="{{ $item.URL }}">{{ $pageItem.Params.menu_item_override }}</a></b>{{- partial "menu/new-or-up.html" (dict "page" $pageItem) }}{{$item.Post}} + {{$item.Pre}}<a href="{{ $item.URL }}">{{ $pageItem.Params.menu_item_override }}</a>{{- partial "menu/new-or-up.html" (dict "page" $pageItem) }}{{$item.Post}} {{- if $pageItem.Params.menu_item_override_end_li }}</li>{{- end}} @@ -18,10 +18,10 @@ {{- else if $item.Params.placeholder }} <span class="placeholder">{{ $item.Pre }}{{$item.Name }}{{ $item.Post }}</span> {{- else}} - {{$item.Pre}} <b> + {{$item.Pre}} <a {{ if $item.Params.forcedId }}id="{{ $item.Params.forcedId }}"{{ end }} - href="{{ $item.URL }}">{{ $item.Name }}</a></b> + href="{{ $item.URL }}">{{ $item.Name }}</a> {{- partial "menu/new-or-up.html" (dict "page" $pageItem) }} {{ $item.Post }} |