From d7da16ecfa5cadb643df78694db44963ba665cbe Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Wed, 8 Feb 2023 16:19:28 -0800 Subject: init --- layouts/partials/footer.html | 11 +++++++++++ layouts/partials/head.html | 11 +++++++++++ layouts/partials/header.html | 22 ++++++++++++++++++++++ layouts/partials/paginator.html | 15 +++++++++++++++ 4 files changed, 59 insertions(+) create mode 100755 layouts/partials/footer.html create mode 100755 layouts/partials/head.html create mode 100755 layouts/partials/header.html create mode 100755 layouts/partials/paginator.html (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100755 index 0000000..9f04da6 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,11 @@ +
+ diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100755 index 0000000..3c9693b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,11 @@ +
+ + +
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100755 index 0000000..548acb1 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,22 @@ + + + + {{- $title := ( .Title ) -}} + {{- $siteTitle := ( .Site.Title ) -}} + {{- if .IsHome -}} + {{ $siteTitle }} + {{- else -}} + {{ $title }} + {{- end -}} + {{- if isset .Site.Params "favicon" -}} + + {{- end -}} + + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{- if or (eq .Site.Params.mode "auto") (eq .Site.Params.mode "dark") -}} + + {{- end -}} + diff --git a/layouts/partials/paginator.html b/layouts/partials/paginator.html new file mode 100755 index 0000000..5acc06d --- /dev/null +++ b/layouts/partials/paginator.html @@ -0,0 +1,15 @@ +{{ $pag := $.Paginator }} +{{ if gt $pag.TotalPages 1 }} + +{{ end }} -- cgit v1.2.3