From 8555cf72dec9321fa010296ce6988cf7b7cf602b Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sun, 26 Dec 2021 00:30:09 -0500 Subject: convert theme from submodule to regular files --- themes/hugo-coder/layouts/partials/home.html | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 themes/hugo-coder/layouts/partials/home.html (limited to 'themes/hugo-coder/layouts/partials/home.html') diff --git a/themes/hugo-coder/layouts/partials/home.html b/themes/hugo-coder/layouts/partials/home.html new file mode 100644 index 0000000..ff640dd --- /dev/null +++ b/themes/hugo-coder/layouts/partials/home.html @@ -0,0 +1,35 @@ +
+
+ {{ if and (isset .Site.Params "avatarurl") (not (isset .Site.Params "gravatar")) }} + {{ with .Site.Params.avatarURL }} +
avatar
+ {{ end }} + {{ end }} + {{ with .Site.Params.gravatar }} +
gravatar
+ {{ end }} +

{{ .Site.Params.author }}

+ {{ if reflect.IsSlice .Site.Params.info }} +

{{ range .Site.Params.info }}{{.}}
{{ end}}

+ {{ else }} +

{{ .Site.Params.info }}

+ {{ end }} + {{ with .Site.Params.social }} +
    + {{ range sort . "weight" }} + {{ if .icon }} +
  • + + + +
  • + {{ else }} +
  • + {{ .name }} +
  • + {{ end }} + {{ end }} +
+ {{ end }} +
+
-- cgit v1.3