aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/list/default.html
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-10-02 09:02:20 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-10-02 09:02:20 +0200
commit2c17fbcdf8ea36d9d10dba243db94de85575e8ed (patch)
tree6609bbe9837d851f3d0be160f025285606465dc4 /layouts/partials/list/default.html
parentc6ef2fd7aeff28abfd4ec372262de3ecd4684c04 (diff)
chore: Copy theme layouts
Diffstat (limited to 'layouts/partials/list/default.html')
-rw-r--r--layouts/partials/list/default.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/list/default.html b/layouts/partials/list/default.html
new file mode 100644
index 0000000..a965ce5
--- /dev/null
+++ b/layouts/partials/list/default.html
@@ -0,0 +1,11 @@
+<article class="flex flex-col gap-1">
+ <h1 class="text-xl font-bold hover:underline"> <a href=" {{ .Permalink }} ">{{ .Title }}</a></h1>
+ <div class="text-gray-600">
+ {{ if .Params.description }}
+ {{ .Params.description }}
+ {{ else if .Summary }}
+ {{ .Summary }}
+ {{ end }}
+ </div>
+ <div class="mt-2"><a class="inline-flex gap-2 text-sm font-semibold items-center text-emerald-700 hover:text-emerald-600" href="{{ .Permalink }}">Read This Article <span class="w-4 h-4 stroke-2">{{ partial "handler/svg" "arrow-right" }}</span> </a> </div>
+</article> \ No newline at end of file