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
---
themes/lugo/layouts/_default/baseof.html | 36 ++++++++++++++++++++++++++++++++
themes/lugo/layouts/_default/list.html | 20 ++++++++++++++++++
themes/lugo/layouts/_default/rss.xml | 26 +++++++++++++++++++++++
themes/lugo/layouts/_default/single.html | 3 +++
4 files changed, 85 insertions(+)
create mode 100644 themes/lugo/layouts/_default/baseof.html
create mode 100644 themes/lugo/layouts/_default/list.html
create mode 100644 themes/lugo/layouts/_default/rss.xml
create mode 100644 themes/lugo/layouts/_default/single.html
(limited to 'themes/lugo/layouts/_default')
diff --git a/themes/lugo/layouts/_default/baseof.html b/themes/lugo/layouts/_default/baseof.html
new file mode 100644
index 0000000..57e17ce
--- /dev/null
+++ b/themes/lugo/layouts/_default/baseof.html
@@ -0,0 +1,36 @@
+
+
+
+ {{ 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 -}}
+
+{{ block "title" . }}{{ end }}
+
+{{ block "main" . }}
+{{ .Content }}
+{{ end }}
+{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
+{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
+
+
+{{ block "footer" . }}
+
+{{ end }}
+
+
diff --git a/themes/lugo/layouts/_default/list.html b/themes/lugo/layouts/_default/list.html
new file mode 100644
index 0000000..601fc08
--- /dev/null
+++ b/themes/lugo/layouts/_default/list.html
@@ -0,0 +1,20 @@
+{{ define "title" -}}
+{{ .Title | title }}
+{{- end }}
+{{ define "main" -}}
+{{ .Content }}
+
+{{- range.Pages }}
+-
+ {{- if .Param "datesinlist" }} – {{ end -}}
+ {{ .Title }}
+ {{- if .Param "authorsinlist" }}
+ {{ with .Params.authors }}
+ by
+ {{ delimit . ", " " and " }}
+ {{end}}
+ {{ end -}}
+
+{{- end }}
+
+{{- end }}
diff --git a/themes/lugo/layouts/_default/rss.xml b/themes/lugo/layouts/_default/rss.xml
new file mode 100644
index 0000000..38dbe3d
--- /dev/null
+++ b/themes/lugo/layouts/_default/rss.xml
@@ -0,0 +1,26 @@
+
+
+ {{ .Site.Title }}
+ {{ .Permalink }}
+ Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}
+ Hugo -- gohugo.io{{ with .Site.LanguageCode }}
+ {{.}}{{end}}{{ with .Site.Author.email }}
+ {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }}
+ {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }}
+ {{.}}{{end}}{{ if not .Date.IsZero }}
+ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }}
+ {{ with .OutputFormats.Get "RSS" }}
+ {{ printf "" .Permalink .MediaType | safeHTML }}
+ {{ end }}
+ {{ range .Site.RegularPages }}
+ -
+ {{ .Title }}
+ {{ .Permalink }}
+ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}
+ {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}
+ {{ .Permalink }}
+ {{- .Content | html -}}
+
+ {{ end }}
+
+
diff --git a/themes/lugo/layouts/_default/single.html b/themes/lugo/layouts/_default/single.html
new file mode 100644
index 0000000..56c5a11
--- /dev/null
+++ b/themes/lugo/layouts/_default/single.html
@@ -0,0 +1,3 @@
+{{ define "title" -}}
+{{ .Title }}
+{{- end }}
--
cgit v1.2.3