From ce98bd5c83a54505dc95f638302c1d523b1e6bb6 Mon Sep 17 00:00:00 2001 From: morph Date: Tue, 26 May 2020 03:04:43 +0200 Subject: [PATCH] init as nameless new theme --- layouts/_default/baseof.html | 1 + layouts/_default/single.html | 7 +------ layouts/_default/summary.html | 4 ++-- layouts/partials/footer.html | 6 +++++- layouts/partials/header.html | 12 ++++++++---- static/css/style.css | 10 ++++++++++ 6 files changed, 27 insertions(+), 13 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 33e5cda..2c3a98e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,7 @@ + {{ .Title }} {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 55b7c30..7920d00 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@

{{ .Title }}

- +
{{ .Content }}
@@ -15,11 +15,6 @@ {{ end }} - {{ with .Site.DisqusShortname }} -
- {{ template "_internal/disqus.html" . }} -
- {{ end }}
{{ partial "sidebar.html" . }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 9acf434..72a8f9d 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,6 +1,6 @@ -
+

{{ .Title }}

- + {{ range .Params.tags }} {{ . }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a34c170..19fcd6d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,7 @@ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 384d2bf..09357df 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,12 +1,16 @@
- {{ .Site.Title }} + ==============
+ == {{ .Site.Title }} ==
+ ==============
{{ with .Site.Menus.main }} +

+

Einfach mal was mit Holz machen.
+

{{ end }}
diff --git a/static/css/style.css b/static/css/style.css index e69de29..1d16cc9 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -0,0 +1,10 @@ +body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}} +code{color: #FFFFFF; background:#000000; padding:2px} +pre{color: #FFFFFF; background:#000000; padding:24px; white-space: pre-wrap} +article{padding:20px 0} +.center { + display: block; + margin-left: auto; + margin-right: auto; + width: 100%; +}