about summary refs log tree commit diff
path: root/blog/themes/tailwind/layouts/taxonomy
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-09T13·31+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-09T13·31+0000
commit6e4c721be5fd3483da7fa3de4b85659552494a49 (patch)
treee44d93b1fffaf1aaee47e46fde35924f6650c88a /blog/themes/tailwind/layouts/taxonomy
parentd206a2812fc07e9ae8af016d3dc9d24a8bcf0508 (diff)
parent2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b (diff)
Add 'blog/themes/tailwind/' from commit '2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b'
git-subtree-dir: blog/themes/tailwind
git-subtree-mainline: d206a2812fc07e9ae8af016d3dc9d24a8bcf0508
git-subtree-split: 2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b
Diffstat (limited to 'blog/themes/tailwind/layouts/taxonomy')
-rw-r--r--blog/themes/tailwind/layouts/taxonomy/terms.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/blog/themes/tailwind/layouts/taxonomy/terms.html b/blog/themes/tailwind/layouts/taxonomy/terms.html
new file mode 100644
index 000000000000..76da49ed0a09
--- /dev/null
+++ b/blog/themes/tailwind/layouts/taxonomy/terms.html
@@ -0,0 +1,13 @@
+{{ define "content" }}
+<section class="mb-24">
+    <ol class="-mx-2">
+        {{ range .Pages -}}
+        <li class="inline-block mx-2 my-2">
+            <a class="border-none text-gray-800 bg-gray-400 hover:bg-gray-600 hover:text-white rounded-sm px-3 py-1" href="{{ .RelPermalink }}">
+                {{ .Title }}
+            </a>
+        </li>
+        {{- end }}
+    </ol>
+</section>
+{{ end }}