X-Git-Url: https://git.kengrimes.com/?p=kengrimes.com%2Ftheme.git;a=blobdiff_plain;f=layouts%2Fpartials%2Fspeedycard.html;fp=layouts%2Fpartials%2Fspeedycard.html;h=c4e0a42b4b0744725307ee0808b4bd5bac78f6fb;hp=0000000000000000000000000000000000000000;hb=f9e1ed5e957f44d6cc608156ed922d0c08da7d73;hpb=3bb959dc9aa6955c1d67f45d811a1af7496f3d80 diff --git a/layouts/partials/speedycard.html b/layouts/partials/speedycard.html new file mode 100644 index 0000000..c4e0a42 --- /dev/null +++ b/layouts/partials/speedycard.html @@ -0,0 +1,8 @@ +{{- $ph := cond (or (not .Params.header) (not (fileExists (printf "static/%s" .Params.header)))) (cond (or (not .Parent.Params.header) (not (fileExists (printf "static/%s" .Parent.Params.header)))) "/img/speedy.png" .Parent.Params.header) .Params.header }} + + +
{{ .Params.categories }}
+
{{ .PublishDate.Format "January 2 2006" }}
+ {{.Title}} +
{{ truncate 100 .Summary }}
+