From b6836823e9d33d7fbcd15c8c70bc3ad88aec9bfb Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sat, 17 Sep 2022 19:22:44 -0400 Subject: [PATCH] cosmetics --- layouts/partials/head.html | 4 +- layouts/partials/post.html | 16 ++++++-- layouts/partials/profile.html | 4 +- layouts/shortcodes/audio.html | 2 +- layouts/shortcodes/gif.html | 4 +- layouts/shortcodes/video.html | 3 +- layouts/shortcodes/yesterweb.html | 3 -- static/css/theme.css | 65 ++++++++++++++++++++++-------- static/res/bg.png | Bin 0 -> 405116 bytes static/res/bg5.png | Bin 572098 -> 0 bytes static/res/default.png | Bin 173499 -> 179075 bytes static/res/sand.png | Bin 629263 -> 0 bytes 12 files changed, 70 insertions(+), 31 deletions(-) delete mode 100644 layouts/shortcodes/yesterweb.html create mode 100644 static/res/bg.png delete mode 100644 static/res/bg5.png delete mode 100644 static/res/sand.png diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0ae3841..7c6ed4a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ {{.Title}} - - + + \ No newline at end of file diff --git a/layouts/partials/post.html b/layouts/partials/post.html index b0dcd10..bee3f04 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -3,15 +3,23 @@ {{if .Date }}

{{.Date | time.Format "Jan 02 2006"}}

{{end}} -{{if .Params.video}} + +{{if .Params.gif}} + {{else}} -{{if .Params.audio}} + {{if .Params.video}} {{else}} -{{if .Params.image}} +{{if .Params.audio}} +{{else}} +{{if .Params.image}} +{{end}} {{end}} {{end}} {{end}} -

{{.Summary}}

+
+

{{.Params.description}}

{{ if .GetTerms "tags" }}
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html index 08a4de5..0c8081a 100644 --- a/layouts/partials/profile.html +++ b/layouts/partials/profile.html @@ -1,10 +1,10 @@
- +
-

{{.Site.Title}}

+

{{.Site.Title}}

{{.Site.Params.subtitle}}

{{ if .Site.Data.details.links }}