From 0dce9b943105bcaccf199161d33b86d255c0fc81 Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Sun, 2 Feb 2020 18:01:10 +0300 Subject: [PATCH] Fix #9 and other design updates --- layouts/_default/single.html | 6 +-- layouts/index.html | 17 ++++---- layouts/partials/head.html | 2 +- layouts/partials/header.html | 2 +- layouts/partials/pagination.html | 16 +++---- layouts/taxonomy/category.html | 10 ++--- layouts/taxonomy/tag.html | 11 +++-- static/css/style.css | 75 +++++++++++++++++++++++++------- 8 files changed, 88 insertions(+), 51 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 86c0952..e0eef9f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,9 @@

{{ .Title }}

- +
+ {{ .Content }} +
{{ if .Params.date }} @@ -27,8 +29,6 @@ {{ end }}
- - {{ .Content }} {{ if .Site.DisqusShortname }} {{ template "_internal/disqus.html" . }} diff --git a/layouts/index.html b/layouts/index.html index e5ec1c5..49df79e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,6 +8,14 @@ +
+ {{ .Summary | safeHTML }} +
+
{{ if .Params.date }} @@ -30,15 +38,6 @@ {{ end }}
-
- {{ .Summary | safeHTML }} -
- {{ if .Truncated }} -
- {{ i18n "readMore" | humanize }} -
- {{ end }} - {{ end }} {{ partial "pagination.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8fef991..7f18c34 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -12,7 +12,7 @@ - + {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 01337ae..b3506ec 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ -

+

{{ .Site.Title }}