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-13 17:56:33 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-05-13 17:56:33 +0300
commitbcacd76dca02303192263c700dd2497cc219620d (patch)
tree8301abdacf562b8c64b7fe14e1cebaa5cfbd35a1 /layouts/_default/list.html
refactor: migrate to tailwindcss
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..43df083
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,8 @@
+{{ 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 }}
+{{ end }} \ No newline at end of file