From c9cc01c603e4e6b7c01778b95197776a4bc51bcb Mon Sep 17 00:00:00 2001 From: panr Date: Thu, 10 Sep 2020 00:04:48 +0200 Subject: [PATCH] Fixes. --- assets/css/post.css | 1 + layouts/_default/index.html | 2 +- layouts/_default/list.html | 2 +- layouts/_default/single.html | 4 +- layouts/partials/head.html | 12 +- static/assets/{ => fonts}/Inter-Bold.woff | Bin static/assets/{ => fonts}/Inter-Bold.woff2 | Bin .../assets/{ => fonts}/Inter-BoldItalic.woff | Bin .../assets/{ => fonts}/Inter-BoldItalic.woff2 | Bin static/assets/{ => fonts}/Inter-Italic.woff | Bin static/assets/{ => fonts}/Inter-Italic.woff2 | Bin static/assets/{ => fonts}/Inter-Medium.woff | Bin static/assets/{ => fonts}/Inter-Medium.woff2 | Bin .../{ => fonts}/Inter-MediumItalic.woff | Bin .../{ => fonts}/Inter-MediumItalic.woff2 | Bin static/assets/{ => fonts}/Inter-Regular.woff | Bin static/assets/{ => fonts}/Inter-Regular.woff2 | Bin static/assets/main.js | 123 +---------------- static/assets/prism.js | 130 ++---------------- static/assets/style.css | 2 +- static/assets/style.js | 1 + webpack.config.js | 25 +++- 22 files changed, 41 insertions(+), 261 deletions(-) rename static/assets/{ => fonts}/Inter-Bold.woff (100%) rename static/assets/{ => fonts}/Inter-Bold.woff2 (100%) rename static/assets/{ => fonts}/Inter-BoldItalic.woff (100%) rename static/assets/{ => fonts}/Inter-BoldItalic.woff2 (100%) rename static/assets/{ => fonts}/Inter-Italic.woff (100%) rename static/assets/{ => fonts}/Inter-Italic.woff2 (100%) rename static/assets/{ => fonts}/Inter-Medium.woff (100%) rename static/assets/{ => fonts}/Inter-Medium.woff2 (100%) rename static/assets/{ => fonts}/Inter-MediumItalic.woff (100%) rename static/assets/{ => fonts}/Inter-MediumItalic.woff2 (100%) rename static/assets/{ => fonts}/Inter-Regular.woff (100%) rename static/assets/{ => fonts}/Inter-Regular.woff2 (100%) create mode 100644 static/assets/style.js diff --git a/assets/css/post.css b/assets/css/post.css index 0a488d4..d98448f 100644 --- a/assets/css/post.css +++ b/assets/css/post.css @@ -56,6 +56,7 @@ max-width: 860px; img { + margin: 0 auto; border-radius: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, .15); } diff --git a/layouts/_default/index.html b/layouts/_default/index.html index f12ba79..ea90ff6 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -41,7 +41,7 @@ {{ if .Params.tags }} {{ range .Params.tags }} - #{{ . }}  + #{{ . }}  {{ end }} {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 934b481..a61d0c2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -29,7 +29,7 @@ {{ if .Params.tags }} {{ range .Params.tags }} - #{{ . }}  + #{{ . }}  {{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4a553c9..e006ca7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@ {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }}
-

{{ .Title | markdownify }}

+

{{ .Title | markdownify }}