Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gyorb/hugo-dusk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyorgy Orban <o.gyorgy@gmail.com>2019-08-30 00:25:45 +0300
committerGyorgy Orban <o.gyorgy@gmail.com>2019-08-30 01:09:59 +0300
commite56ad311c66ffe88b3d1371aa3222ece48daf379 (patch)
treeb76981a6512ab6426c6df9fcc4d9e340fe237077
parent413ed3833f651b926871b1dcded36c2464ca6690 (diff)
update summary layout
- move tags to div meta - move read more link to rmore div it should be there - change the font size because tags were moved into div meta
-rw-r--r--layouts/_default/summary.html6
-rw-r--r--static/css/layout.css1
2 files changed, 4 insertions, 3 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index ccf23a8..26ee76f 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -4,16 +4,18 @@
<h2 class="title"> <a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>
<div class="meta">
{{ .Date.Format "Jan 2, 2006" }} - {{ .ReadingTime }} minutes
+ {{ partial "tags.html" . }}
</div>
- {{ partial "tags.html" . }}
+
</header>
<div class="summary">
{{ .Summary }}
- <a href='{{ .Permalink }}' class="rmore">Read more ...</a>
</div>
<div class="rmore">
+ <a href='{{ .Permalink }}' class="rmore">Read more ...</a>
</div>
+
</article>
diff --git a/static/css/layout.css b/static/css/layout.css
index 1355ae2..f6883a9 100644
--- a/static/css/layout.css
+++ b/static/css/layout.css
@@ -350,7 +350,6 @@ th, td {
}
.post-preview .tags {
- font-size: 0.8em;
font-weight: bold;
text-align: left;
}