From c0d4da4fa49d6775fd37f2f9a69bc87234370def Mon Sep 17 00:00:00 2001 From: Skiz Date: Mon, 2 Sep 2024 14:05:16 -0400 Subject: Installed "schizo" theme and named it "vapor" --- themes/vapor/archetypes/default.md | 6 +++ themes/vapor/config.toml | 17 +++++++ themes/vapor/layouts/_default/baseof.html | 42 ++++++++++++++++ themes/vapor/layouts/_default/list.html | 22 +++++++++ themes/vapor/layouts/_default/rss.xml | 26 ++++++++++ themes/vapor/layouts/_default/single.html | 5 ++ themes/vapor/layouts/index.html | 70 +++++++++++++++++++++++++++ themes/vapor/layouts/partials/nav.html | 8 +++ themes/vapor/layouts/partials/nextprev.html | 10 ++++ themes/vapor/layouts/partials/taglist.html | 13 +++++ themes/vapor/layouts/shortcodes/hidvid.html | 10 ++++ themes/vapor/layouts/shortcodes/img.html | 20 ++++++++ themes/vapor/layouts/shortcodes/tagcloud.html | 3 ++ themes/vapor/layouts/shortcodes/vid.html | 6 +++ themes/vapor/static/rss.svg | 1 + themes/vapor/static/style.css | 60 +++++++++++++++++++++++ 16 files changed, 319 insertions(+) create mode 100644 themes/vapor/archetypes/default.md create mode 100644 themes/vapor/config.toml create mode 100644 themes/vapor/layouts/_default/baseof.html create mode 100644 themes/vapor/layouts/_default/list.html create mode 100644 themes/vapor/layouts/_default/rss.xml create mode 100644 themes/vapor/layouts/_default/single.html create mode 100644 themes/vapor/layouts/index.html create mode 100644 themes/vapor/layouts/partials/nav.html create mode 100644 themes/vapor/layouts/partials/nextprev.html create mode 100644 themes/vapor/layouts/partials/taglist.html create mode 100644 themes/vapor/layouts/shortcodes/hidvid.html create mode 100644 themes/vapor/layouts/shortcodes/img.html create mode 100644 themes/vapor/layouts/shortcodes/tagcloud.html create mode 100644 themes/vapor/layouts/shortcodes/vid.html create mode 100644 themes/vapor/static/rss.svg create mode 100644 themes/vapor/static/style.css (limited to 'themes') diff --git a/themes/vapor/archetypes/default.md b/themes/vapor/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/themes/vapor/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/themes/vapor/config.toml b/themes/vapor/config.toml new file mode 100644 index 0000000..e884199 --- /dev/null +++ b/themes/vapor/config.toml @@ -0,0 +1,17 @@ +title = "Website Name" +baseURL = 'https://example.org' +languageCode = 'en-us' + +[params] + # "relatedtext" is the text that appears above the tag list at the bottom of pages. + relatedtext = "Related" + favicon = "/favicon.ico" + + #list items + datesinlist = true + authorsinlist = true + + #footer items + nextprev = true + taglist = true + showrss = true \ No newline at end of file diff --git a/themes/vapor/layouts/_default/baseof.html b/themes/vapor/layouts/_default/baseof.html new file mode 100644 index 0000000..b6899ba --- /dev/null +++ b/themes/vapor/layouts/_default/baseof.html @@ -0,0 +1,42 @@ + + + + {{ 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/vapor/layouts/_default/list.html b/themes/vapor/layouts/_default/list.html new file mode 100644 index 0000000..c028241 --- /dev/null +++ b/themes/vapor/layouts/_default/list.html @@ -0,0 +1,22 @@ +{{ define "title" -}} +{{ .Title | title }} +{{- end }} +{{ define "main" -}} +{{ .Content }} + + +{{- end }} diff --git a/themes/vapor/layouts/_default/rss.xml b/themes/vapor/layouts/_default/rss.xml new file mode 100644 index 0000000..38dbe3d --- /dev/null +++ b/themes/vapor/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/vapor/layouts/_default/single.html b/themes/vapor/layouts/_default/single.html new file mode 100644 index 0000000..57bdc1b --- /dev/null +++ b/themes/vapor/layouts/_default/single.html @@ -0,0 +1,5 @@ +{{ define "title" -}} +{{ .Title }} + +{{- end }} diff --git a/themes/vapor/layouts/index.html b/themes/vapor/layouts/index.html new file mode 100644 index 0000000..b289a4e --- /dev/null +++ b/themes/vapor/layouts/index.html @@ -0,0 +1,70 @@ +{{ define "title" -}} +{{ .Title | title }} +{{- end }} +{{ define "main" -}} +{{ .Content }} + + + +
+

Welcome! This is my webpage. Thank you for visiting my site.

+

Add my RSS feed to stay updated: RSS FEED.

+ +
+ +

+ I plan to use this site to share my thoughts, opinions, and knowledge; On certain topics. + +

Site info:

+ This website is hosted on Debian 12 with NGINX as the web server. I use + HUGO to make the site and the theme is a modified version of Luke + Smith's LUGO theme.
+ + Now, a fair warning: Some statements on this website may be satire, jokes, or simply false. +
+ +

+

Site links:

+
+ + + + + + + +{{- end }} + diff --git a/themes/vapor/layouts/partials/nav.html b/themes/vapor/layouts/partials/nav.html new file mode 100644 index 0000000..a7318fe --- /dev/null +++ b/themes/vapor/layouts/partials/nav.html @@ -0,0 +1,8 @@ + diff --git a/themes/vapor/layouts/partials/nextprev.html b/themes/vapor/layouts/partials/nextprev.html new file mode 100644 index 0000000..8b18415 --- /dev/null +++ b/themes/vapor/layouts/partials/nextprev.html @@ -0,0 +1,10 @@ + diff --git a/themes/vapor/layouts/partials/taglist.html b/themes/vapor/layouts/partials/taglist.html new file mode 100644 index 0000000..757db6f --- /dev/null +++ b/themes/vapor/layouts/partials/taglist.html @@ -0,0 +1,13 @@ + {{- if isset .Params "tags" -}} + {{- $tagsLen := len .Params.tags -}} + {{- if gt $tagsLen 0 -}} +
+ {{- with .Site.Params.relatedtext }}{{ . }}
{{ end -}} + {{- range $k, $v := .Params.tags -}} + {{- $url := printf "tags/%s" (. | urlize | lower) -}} + {{ . | title }} + {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} + {{- end -}} +
+ {{- end -}} + {{- end }} diff --git a/themes/vapor/layouts/shortcodes/hidvid.html b/themes/vapor/layouts/shortcodes/hidvid.html new file mode 100644 index 0000000..14f592d --- /dev/null +++ b/themes/vapor/layouts/shortcodes/hidvid.html @@ -0,0 +1,10 @@ +
+ Click to reveal video. + +
diff --git a/themes/vapor/layouts/shortcodes/img.html b/themes/vapor/layouts/shortcodes/img.html new file mode 100644 index 0000000..ff7959b --- /dev/null +++ b/themes/vapor/layouts/shortcodes/img.html @@ -0,0 +1,20 @@ + +
+ {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + {{- with .Get "caption" -}} +
+ {{- . -}} +
+ {{- end -}} +
diff --git a/themes/vapor/layouts/shortcodes/tagcloud.html b/themes/vapor/layouts/shortcodes/tagcloud.html new file mode 100644 index 0000000..0cf0118 --- /dev/null +++ b/themes/vapor/layouts/shortcodes/tagcloud.html @@ -0,0 +1,3 @@ +{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} {{ end }}{{ end }} diff --git a/themes/vapor/layouts/shortcodes/vid.html b/themes/vapor/layouts/shortcodes/vid.html new file mode 100644 index 0000000..4c612fe --- /dev/null +++ b/themes/vapor/layouts/shortcodes/vid.html @@ -0,0 +1,6 @@ + diff --git a/themes/vapor/static/rss.svg b/themes/vapor/static/rss.svg new file mode 100644 index 0000000..dfda038 --- /dev/null +++ b/themes/vapor/static/rss.svg @@ -0,0 +1 @@ + diff --git a/themes/vapor/static/style.css b/themes/vapor/static/style.css new file mode 100644 index 0000000..2dbd8d2 --- /dev/null +++ b/themes/vapor/static/style.css @@ -0,0 +1,60 @@ +body { + font-family: 'Times New Roman' ; + /*background: #110000 ;*/ + background: #1e1e22; + background-image: url("/images/space2.gif") ; + color: #ccc ; +} + +main { + max-width: 800px ; + margin: auto ; +} + +a { + color: #FFA500; +} + +a:visited { + color: #FF8C00; +} + +a:hover { + color: #FFD700; +} + +img { + max-width: 100% ; +} + +header h1 { + text-align: center ; + font-family: 'Courier New' ; +} + +footer { + text-align: center ; + clear: both ; +} + +/* For TAGLIST.HTML */ +.taglist { + text-align: center ; + clear: both ; +} + +/* For NEXTPREV.HTML */ +#nextprev { + /* The container for both the previous and next articles. */ +} +#prevart { + float: left ; + text-align: left ; +} +#nextart { + float: right ; + text-align: right ; +} +#nextart,#prevart { + max-width: 33% ; +} -- cgit v1.2.3