X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Ffuncs%2Frelated.html;fp=layouts%2Fpartials%2Ffuncs%2Frelated.html;h=94d2fcae1bb766e888e063f2885caa132a1192ba;hb=eae15ff2fc37cc4f24d0a35ae8129e9480ec6a68;hp=0000000000000000000000000000000000000000;hpb=06c2e9e467491840881e60d2e8213a28bea62497;p=theme-danix.xyz.git diff --git a/layouts/partials/funcs/related.html b/layouts/partials/funcs/related.html new file mode 100644 index 0000000..94d2fca --- /dev/null +++ b/layouts/partials/funcs/related.html @@ -0,0 +1,36 @@ +{{ $related := .Site.RegularPages.Related . | first 5 }} +{{ with $related }} +

You might also be interested in:

+ +{{ else }} +

Check out these awesome articles:

+ +{{ end }} \ No newline at end of file