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

github.com/janraasch/hugo-bearblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Raasch <jan@janraasch.com>2020-10-01 17:12:16 +0300
committerJan Raasch <jan@janraasch.com>2020-10-01 17:12:16 +0300
commit6e2f054d42ecb59b37afcf2069f0a3af550e6638 (patch)
tree00b59b2181e67182e63dd95a2c02faabc248820e
parentf6a67927cdaa7a296003ff88e8f15e4bafed94ff (diff)
fix: styling of ul.blog-posts
see 0c3efa6
-rw-r--r--layouts/_default/list.html21
1 files changed, 1 insertions, 20 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index bd3c972..2545d9a 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,23 +1,4 @@
{{ define "main" }}
-<style>
- ul {
- list-style-type: none;
- padding: unset;
- }
-
- li {
- display: flex;
- }
-
- li span {
- flex: 0 0 130px;
- }
-
- li a:visited {
- color: #6532dc;
- }
-
-</style>
<content>
{{ if .Data.Singular }}
<h3 style="margin-bottom:0">Filtering for "{{ .Title }}"</h3>
@@ -25,7 +6,7 @@
<a href="{{ "/blog" | relURL }}">Remove filter</a>
</small>
{{ end }}
- <ul>
+ <ul class="blog-posts">
{{ range .Pages }}
<li>
<span>