From 6d47849fe84cb1b4ef4820575691b8fe84c8ca57 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 1 Apr 2020 17:08:54 +0200 Subject: Prettify read more in list / default home --- layouts/_default/list.html | 2 +- layouts/partials/homes/simple.html | 2 +- static/css/theme.css | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index cd7a0cf..f04b8bf 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -57,7 +57,7 @@
{{ if .Truncated }} {{ .Summary }} - [Read more] + [Read more] {{ else }} {{ .Content }} {{ end }} diff --git a/layouts/partials/homes/simple.html b/layouts/partials/homes/simple.html index f09c48d..a740ac4 100644 --- a/layouts/partials/homes/simple.html +++ b/layouts/partials/homes/simple.html @@ -48,7 +48,7 @@
{{ if .Truncated }} {{ .Summary }} - [Read more] + [Read more] {{ else }} {{ .Content }} {{ end }} diff --git a/static/css/theme.css b/static/css/theme.css index eef469a..b872337 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -109,3 +109,11 @@ { content: "#"; } + +.read-more +{ + font-weight: 800; + float: right; + text-decoration: none; + color: #404040; +} -- cgit v1.2.3