aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'www/layouts/_default')
-rw-r--r--www/layouts/_default/baseof.html52
-rw-r--r--www/layouts/_default/list.html12
-rw-r--r--www/layouts/_default/single.html23
3 files changed, 0 insertions, 87 deletions
diff --git a/www/layouts/_default/baseof.html b/www/layouts/_default/baseof.html
deleted file mode 100644
index 621aea1..0000000
--- a/www/layouts/_default/baseof.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8">
- <meta charset="UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <link rel="icon" href="/favicon.ico" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>{{ block "title" . }}
- {{ .Site.Title }}
- {{ end }}</title>
- {{ partial "js.html" "res/js/color-scheme.ts" }}
- {{ partial "css-res.html" (partial "highlight.html" dict) }}
- {{ partial "css.html" "res/css/base.css" }}
- {{ block "head" . }}
- {{ end }}
- {{ range .Params.css }}
- {{ partial "css.html" (printf "res/css/%s.css" .) }}
- {{ end }}
- </head>
- <body>
- <div id="slogan">
- <span>🙃The world is full of pain, but we can fix it with love!</span>
- </div>
- {{ block "pre-article" .}}
- {{ end }}
- <article id="main-article">
- {{ block "content" . }}
- {{ end }}
- <hr/>
- <footer class="mono-link">
- <p id="license">
- <small>This work is licensed under
- <a rel="license noopener noreferrer"
- href="https://creativecommons.org/licenses/by-nc/4.0/"
- target="_blank">
- <span id="license-text">CC BY-NC 4.0</span>
- <span id="license-img-container">
- <img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg"/>
- <img src="https://mirrors.creativecommons.org/presskit/icons/by.svg"/>
- <img src="https://mirrors.creativecommons.org/presskit/icons/nc.svg"/>
- </span>
- </a>
- </small>
- </p>
- </footer>
- </article>
-
- {{ block "scripts" . }}
- {{ end }}
-</body>
-</html>
diff --git a/www/layouts/_default/list.html b/www/layouts/_default/list.html
deleted file mode 100644
index c7c6cce..0000000
--- a/www/layouts/_default/list.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ define "head"}}
- {{ partial "css.html" "res/css/article.css" }}
-{{ end }}
-
-{{ define "content" }}
- {{ partial "nav.html" . }}
- <h1>Posts</h1>
- {{ partial "preview/posts.html" (dict
- "h" "h3"
- "pages" (.RegularPages.ByDate.Reverse.Limit 3))
- }}
-{{ end }}
diff --git a/www/layouts/_default/single.html b/www/layouts/_default/single.html
deleted file mode 100644
index cd0e9c5..0000000
--- a/www/layouts/_default/single.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{{ define "head"}}
- {{ partial "css.html" "res/css/single.css" }}
-{{ end }}
-
-{{ define "title" }}
- {{ .Title }}
-{{ end }}
-
-{{ define "content" }}
- {{ partial "nav.html" . }}
- <h1 class="post-title">{{ .Title }}</h1>
- <hr/>
- <p class="post-info">
- <span class="created">{{ partial "date.html" .Date }}</span> |
- <span class="words">{{ .WordCount }} words</span>
- {{ if ne .Lastmod .Date }}
- <span class="last-updated">Last updated: {{ partial "date.html" .Lastmod }}</span>
- {{ end}}
- </p>
- {{ .Content }}
- <hr class="end-hr"/>
- {{ partial "nav.html" . }}
-{{ end }}