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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-05-16 05:33:28 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-05-16 05:33:28 +0300
commit802c3359905b1209d19ffaf8a7ed2ec2df4691d1 (patch)
tree7e589f7b1a09a415f9fe3fc33e533822a73f858a /layouts/_default/list.html
parent864f08c0c12c072d499f71e55b6beb9963042d52 (diff)
feat: basic style
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html24
1 files changed, 18 insertions, 6 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 43df083..a8890bb 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,8 +1,20 @@
{{ define "main" }}
-{{ range .Pages }}
- <article class="text-gray-700 sm:mx-12 mb-4">
- <h1 class="font-bold font-thin text-3xl text-gray-700"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
- {{ .Content }}
- </article>
-{{ end }}
+<article class="mx-6 mb-8">
+ <h1 class="font-bold text-3xl text-primary-text">{{.Title}}</h1>
+ {{ with .Content }}
+ <div class="content">
+ {{ . }}
+ </div>
+ {{ end }}
+</article>
+<ul class="bg-secondary-bg px-6 py-8">
+ {{ range .Pages }}
+ <li class="text-lg text-primary-text my-2">
+ <a href="{{ .Permalink }}" class="text-eureka hover:underline">
+ {{ .Title }}
+ </a>
+ </li>
+ {{ end }}
+</ul>
+
{{ end }} \ No newline at end of file