From df3d7d5734855f72b72bdb18bbf9e3599dec0156 Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Sun, 21 Sep 2025 17:32:32 +0200 Subject: first commit --- layouts/partials/buttons.html | 13 +++++++++++++ layouts/partials/footer.html | 17 +++++++++++++++++ layouts/partials/head.html | 23 +++++++++++++++++++++++ layouts/partials/header.html | 3 +++ 4 files changed, 56 insertions(+) create mode 100644 layouts/partials/buttons.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html (limited to 'layouts/partials') diff --git a/layouts/partials/buttons.html b/layouts/partials/buttons.html new file mode 100644 index 0000000..7eab99d --- /dev/null +++ b/layouts/partials/buttons.html @@ -0,0 +1,13 @@ +
+ Logo de mon site + Rss Feed logo + BAN PORN + Codeberg logo + GitHub logo + +
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..18bc220 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,17 @@ +{{- $isregular := (in .Site.RegularPages .Page) -}} + +{{- if $isregular }} +{{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} +{{ if .IsHome }}{{ else }} +
+

Revenir à l'accueil

{{ end }} + +
+{{- end -}} + +
+ diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..477643d --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,23 @@ + + +{{ with .Params.css }} + +{{- else -}} + +{{- with .Section }} + +{{- end }} +{{- end }} +{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }} + + + + + + +{{- $images := .Page.Resources.ByType "image" }} +{{- with index $images 0 }} +{{- $processed := .Resize "600x" }} +{{- $processed := $processed.Crop "512x512" }} + +{{- end -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..96f7542 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,3 @@ +

{{ if .IsHome }}{{ site.Title }}

{{ else }}{{ .Title }} +{{ end -}} +
-- cgit v1.2.3