diff options
Diffstat (limited to 'layouts/partials/list/default.html')
| -rw-r--r-- | layouts/partials/list/default.html | 11 |
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 |
