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

github.com/pjbakker/flexible-seo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/homes/simple.html2
-rw-r--r--static/css/theme.css8
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 @@
<div class="item-entry">
{{ if .Truncated }}
{{ .Summary }}
- <a href="{{ .Permalink }}" class="post-read-more">[Read more]</a>
+ <a href="{{ .Permalink }}" class="read-more">[Read more]</a>
{{ 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 @@
<div class="item-entry">
{{ if .Truncated }}
{{ .Summary }}
- <a href="{{ .Permalink }}" class="post-read-more">[Read more]</a>
+ <a href="{{ .Permalink }}" class="read-more">[Read more]</a>
{{ 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;
+}