From 516f632b84bc418486538a2183564fe94b89097e Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Tue, 1 Jul 2025 17:01:45 +0900 Subject: init --- layouts/_default/baseof.html | 50 ++++++++++++++++++++++++++++++++++++++++ layouts/shortcodes/basic.html | 8 +++++++ layouts/shortcodes/hl.html | 1 + layouts/shortcodes/mail.html | 9 ++++++++ layouts/shortcodes/maintain.html | 4 ++++ layouts/shortcodes/services.html | 4 ++++ 6 files changed, 76 insertions(+) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/shortcodes/basic.html create mode 100644 layouts/shortcodes/hl.html create mode 100644 layouts/shortcodes/mail.html create mode 100644 layouts/shortcodes/maintain.html create mode 100644 layouts/shortcodes/services.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..6a1b6ff --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,50 @@ + + + + {{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} + + + + {{ with .Site.Params.favicon }} + {{ end -}} + + {{ if isset .Params "tags" }} + {{ end -}} + + + + + +{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} +
+

{{ with .Params.icon }}{{ end }}{{ .Title }}

+
{{ with .Params.img }}{{ end }} +{{ block "main" . -}} +{{ .Content }} +{{- end -}} +
+{{- if in .Params.tags "basic" -}} +{{ with .NextInSection }} + +{{- end }} +{{- with .PrevInSection }} +Or Previous: {{ .Title }} +{{- end -}} +{{- end }} +{{ if in .Params.tags "mail" -}} +{{ with .NextInSection -}} + +{{- end -}} +{{- with .PrevInSection }} +Or Previous: {{ .Title }} +{{- end -}} +{{- end }} +
+{{ block "footer" . -}} + +{{- end }} + + diff --git a/layouts/shortcodes/basic.html b/layouts/shortcodes/basic.html new file mode 100644 index 0000000..b2df0d9 --- /dev/null +++ b/layouts/shortcodes/basic.html @@ -0,0 +1,8 @@ +
    +{{range.Site.RegularPages.ByDate}}{{ if in .Params.tags "basic" }}
  1. + +{{ with .Params.icon }}{{ end }} +{{.Title}} +{{ with .Params.short_desc }}{{ . }}{{ end }}{{.Params.Tags}} +
  2. {{ end }}{{ end }} +
diff --git a/layouts/shortcodes/hl.html b/layouts/shortcodes/hl.html new file mode 100644 index 0000000..de10914 --- /dev/null +++ b/layouts/shortcodes/hl.html @@ -0,0 +1 @@ +{{ .Inner }} \ No newline at end of file diff --git a/layouts/shortcodes/mail.html b/layouts/shortcodes/mail.html new file mode 100644 index 0000000..53cc3b9 --- /dev/null +++ b/layouts/shortcodes/mail.html @@ -0,0 +1,9 @@ +
    +{{range.Site.RegularPages.ByWeight.Reverse}}{{ if in .Params.tags "mail" }}
  1. + +{{ with .Params.icon }}{{ end }} +{{.Title}} +{{ with .Params.short_desc }}{{ . }}{{ end }}{{.Params.Tags}} +
  2. {{ end }}{{ end }} +
+ diff --git a/layouts/shortcodes/maintain.html b/layouts/shortcodes/maintain.html new file mode 100644 index 0000000..a864eab --- /dev/null +++ b/layouts/shortcodes/maintain.html @@ -0,0 +1,4 @@ + diff --git a/layouts/shortcodes/services.html b/layouts/shortcodes/services.html new file mode 100644 index 0000000..877140d --- /dev/null +++ b/layouts/shortcodes/services.html @@ -0,0 +1,4 @@ + -- cgit v1.2.3