diff options
author | jaseg <git@jaseg.de> | 2025-07-26 14:24:27 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2025-07-26 14:24:27 +0200 |
commit | d91500da884b5dd240de0d35517c4ef4e87b5c2c (patch) | |
tree | 6af998b2e1591c87087370e5c4ace701b2cf6160 /themes/conspiracy/layouts/_partials | |
parent | 338de75fb45b861510e99a8271724fd00f2b023e (diff) | |
parent | 3281a5044261cb2d8bcce263f959ab9b0fbc93fb (diff) | |
download | blog-d91500da884b5dd240de0d35517c4ef4e87b5c2c.tar.gz blog-d91500da884b5dd240de0d35517c4ef4e87b5c2c.tar.bz2 blog-d91500da884b5dd240de0d35517c4ef4e87b5c2c.zip |
deploy.py auto-commit
Diffstat (limited to 'themes/conspiracy/layouts/_partials')
-rw-r--r-- | themes/conspiracy/layouts/_partials/breadcrumbs.html | 7 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_partials/card.html | 17 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_partials/footer.html | 6 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_partials/head.html | 16 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_partials/header.html | 23 |
5 files changed, 0 insertions, 69 deletions
diff --git a/themes/conspiracy/layouts/_partials/breadcrumbs.html b/themes/conspiracy/layouts/_partials/breadcrumbs.html deleted file mode 100644 index ff82e73..0000000 --- a/themes/conspiracy/layouts/_partials/breadcrumbs.html +++ /dev/null @@ -1,7 +0,0 @@ -{{/* https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/partials/breadcrumbs.html */}} -<ul class="breadcrumbs"> - {{- range .Ancestors.Reverse }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{- end -}} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> -</ul> diff --git a/themes/conspiracy/layouts/_partials/card.html b/themes/conspiracy/layouts/_partials/card.html deleted file mode 100644 index b158e59..0000000 --- a/themes/conspiracy/layouts/_partials/card.html +++ /dev/null @@ -1,17 +0,0 @@ -<div class="card"> - {{- if .Title }}<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>{{- end }} - {{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}<strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }} - - <div class="summary"> - {{ .Summary }} - <a href="{{ .Permalink }}">Read more</a> - </div> - - {{- if .Params.external_links }} - <div class="links"> - {{- range .Params.external_links }} - <a href="{{ .url | absURL }}">{{ .name }}</a> - {{- end }} - </div> - {{- end }} -</div> diff --git a/themes/conspiracy/layouts/_partials/footer.html b/themes/conspiracy/layouts/_partials/footer.html deleted file mode 100644 index adf7aee..0000000 --- a/themes/conspiracy/layouts/_partials/footer.html +++ /dev/null @@ -1,6 +0,0 @@ -<footer> - Copyright © {{ now.Year }} {{ site.Copyright }} - {{- range site.Params.footer_links }} - / <a href="{{.url | relURL }}">{{ .name }}</a> - {{- end }} -</footer> diff --git a/themes/conspiracy/layouts/_partials/head.html b/themes/conspiracy/layouts/_partials/head.html deleted file mode 100644 index 026a312..0000000 --- a/themes/conspiracy/layouts/_partials/head.html +++ /dev/null @@ -1,16 +0,0 @@ -<head> - <meta charset="utf-8"> - <title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ site.Title }}</title> - <meta name="description" content=""> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="mobile-web-app-capable" content="yes"> - <meta name="color-scheme" content="dark light"> - - {{- $stylesheet := resources.Get "css/style.css" | resources.ExecuteAsTemplate "style.css" . }} - <link rel="stylesheet" href="{{ $stylesheet.RelPermalink }}"> - - <link rel="preload" href="{{ (resources.Get "fonts/roboto_slab/RobotoSlab-VariableFont_wght.ttf").RelPermalink }}" as="font" type="font/ttf" crossorigin /> - <link rel="preload" href="{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2").RelPermalink }}" as="font" type="font/woff2" crossorigin /> - <link rel="preload" href="{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2").RelPermalink }}" as="font" type="font/woff2" crossorigin /> - <link rel="preload" href="{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2").RelPermalink }}" as="font" type="font/woff2" crossorigin /> -</head> diff --git a/themes/conspiracy/layouts/_partials/header.html b/themes/conspiracy/layouts/_partials/header.html deleted file mode 100644 index 0b9ea44..0000000 --- a/themes/conspiracy/layouts/_partials/header.html +++ /dev/null @@ -1,23 +0,0 @@ -<nav> - <div class="internal"> - {{- $currentPage := . }} - <!-- todo: put this in a "pages" drop down on mobile --> - {{- range site.Menus.main }} - {{- $menu_item_url := .URL | absURL }} - {{- $page_url:= $currentPage.Permalink | absURL }} - <a href="{{ .URL }}" title="{{ .Title | default .Name }}" {{- if eq $menu_item_url $page_url }} class="active" {{- end }}> - {{- .Pre }} - {{- .Name -}} - {{ .Post -}} - </a> - {{- end }} - </div> - <div class="search"> - <div id="search"></div> - </div> - <div class="external"> - {{- range site.Params.profile_links }} - <a href="{{ .url | absURL }}" title="{{ .name }}">{{ .name }}</a> - {{- end }} - </span> -</nav> |