From 2fb84f454681b810265c958d87de7481b9175c19 Mon Sep 17 00:00:00 2001 From: Aadi Desai <21363892+supleed2@users.noreply.github.com> Date: Mon, 17 Jul 2023 15:44:29 +0100 Subject: [PATCH] Move social.lol link to header, add github link for indieauth --- layouts/index.html | 3 +-- layouts/partials/head.html | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/head.html diff --git a/layouts/index.html b/layouts/index.html index 1a99926..fcf0c6b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -33,7 +33,7 @@ {{ if $l }} {{ $link = $l.Permalink}} {{ end }} - + {{ if eq (add $index 1) (len $.Site.Params.Tree.files) }} {{ $leaf = printf "%sā””ā”€ā”€ %s" $leaf $link $ac $ac | safeHTML}} {{ else }} @@ -51,5 +51,4 @@ {{ $commandDelay := $.Site.Params.Terminal.commandDelay }} {{ partial "partials/typeIndex.html" (dict "context" . "env" $env "cd" $cd "envWithDir" $envWithDir "cat" $cat "description" $description "tree" $tree "leaf" $leaf "ps1delay" $ps1Delay "stdoutdelay" $stdoutDelay "commanddelay" $commandDelay ) }} -
{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..f2f8359 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,9 @@ + + {{- if .IsHome }}{{ .Site.Title }}{{- else }}{{ .Title }}{{- end }} + + + + + + {{ partial "partials/style.html" . }} + \ No newline at end of file