commit 16699e78f64488e2c728d494b1eb816e07157418 from: Caleb Stein date: Sat May 23 17:02:04 2026 UTC init hugo commit - ef5a87bc27f95ed1432fd23978327c5d7a78159a commit + 16699e78f64488e2c728d494b1eb816e07157418 blob - /dev/null blob + 2a8645fe5c418b4d79584939b44d185b575a344a (mode 644) --- /dev/null +++ .gitignore @@ -0,0 +1 @@ +.hugo_build.lock blob - /dev/null blob + 25b67521d3eacd6f5b65eaa1ae7f371a0c34ae93 (mode 644) --- /dev/null +++ archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ blob - /dev/null blob + 3cb0b922be028c0fc39eb8485517ebb64b5cdc86 (mode 644) --- /dev/null +++ hugo.toml @@ -0,0 +1,5 @@ +baseURL = 'https://simeonstein.com/' +locale = 'en-us' +title = 'Simeon Stein' + +theme = 'lugo' blob - /dev/null blob + 9d640a6f162b2c8e7b07f6af947c3f03cf677d6a (mode 644) --- /dev/null +++ public/categories/index.html @@ -0,0 +1,30 @@ + + + + Categories | Simeon Stein + + + + + + + + + + +
+

Categories

+
+ +
    +
+ +
+
+ + + + + blob - /dev/null blob + a944dce83e144d8e578d6c481ea454c1e360c248 (mode 644) --- /dev/null +++ public/categories/index.xml @@ -0,0 +1,13 @@ + + + Simeon Stein + https://simeonstein.com/categories/ + Recent content in Categories on Simeon Stein + Hugo -- gohugo.io + en-us + + + + + + blob - /dev/null blob + 4d5e7bcca52e69ea068cf83c11e0e991d3fc522b (mode 644) --- /dev/null +++ public/index.html @@ -0,0 +1,31 @@ + + + + + Simeon Stein + + + + + + + + + + +
+

Simeon Stein

+
+ +
    +
+ +
+
+ + + + + blob - /dev/null blob + 2e5b957f322b543a82df5253a05aaa2dde6a3687 (mode 644) --- /dev/null +++ public/index.xml @@ -0,0 +1,13 @@ + + + Simeon Stein + https://simeonstein.com/ + Recent content on Simeon Stein + Hugo -- gohugo.io + en-us + + + + + + blob - /dev/null blob + dfda038e6799af9437c16f965617325f99d7205f (mode 644) --- /dev/null +++ public/rss.svg @@ -0,0 +1 @@ + blob - /dev/null blob + 9bc2b91fa336fb055533602cb44fe52fb1e28c55 (mode 644) --- /dev/null +++ public/sitemap.xml @@ -0,0 +1,11 @@ + + + + https://simeonstein.com/categories/ + + https://simeonstein.com/ + + https://simeonstein.com/tags/ + + blob - /dev/null blob + e7433de612f0226e50959900d84dbceb5ac5ecea (mode 644) --- /dev/null +++ public/style.css @@ -0,0 +1,45 @@ +body { + font-family: serif ; + background: #110000 ; + color: #ccc ; +} + +main { + max-width: 800px ; + margin: auto ; +} + +img { + max-width: 100% ; +} + +header h1 { + text-align: center ; +} + +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% ; +} blob - /dev/null blob + 38b53d8e268080e71fa15b4c4cae6fc099f52224 (mode 644) --- /dev/null +++ public/tags/index.html @@ -0,0 +1,30 @@ + + + + Tags | Simeon Stein + + + + + + + + + + +
+

Tags

+
+ +
    +
+ +
+
+ + + + + blob - /dev/null blob + 7dbf95eef32b155690ca27dd4bcb909342d61196 (mode 644) --- /dev/null +++ public/tags/index.xml @@ -0,0 +1,13 @@ + + + Simeon Stein + https://simeonstein.com/tags/ + Recent content in Tags on Simeon Stein + Hugo -- gohugo.io + en-us + + + + + + blob - /dev/null blob + e7433de612f0226e50959900d84dbceb5ac5ecea (mode 644) --- /dev/null +++ static/style.css @@ -0,0 +1,45 @@ +body { + font-family: serif ; + background: #110000 ; + color: #ccc ; +} + +main { + max-width: 800px ; + margin: auto ; +} + +img { + max-width: 100% ; +} + +header h1 { + text-align: center ; +} + +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% ; +} blob - /dev/null blob + a39a9e82d6c86be6f39c4fbdd90aad5265b4f934 (mode 644) --- /dev/null +++ themes/lugo/README.md @@ -0,0 +1,21 @@ +# Luke's Hugo Theme + +A simple Hugo theme I plan on using for my personal website, [Based.Cooking](https://based.cooking) and [LandChad.net](https://landchad.net). + +## get started + +```sh +hugo new site new-site +cd new-site +git clone https://github.com/lukesmithxyz/lugo themes/lugo +echo "theme = 'lugo'" >> config.toml +cp themes/lugo/static/style.css static/ +``` + +## stuff + +- Makes one RSS feed for the entire site at `/index.xml` +- Stylesheet is in `/style.css` and includes some important stuff for partials. +- If a post is tagged, links to the tags are placed at the bottom of the post. +- `nextprev.html` adds links to the Next and Previous articles to the bottom of a page. +- `taglist.html` links all tags an article is tagged to for related content. blob - /dev/null blob + 00e77bd79be44872c0b29256b03799c2fb00c10d (mode 644) --- /dev/null +++ themes/lugo/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + blob - /dev/null blob + e884199a87b5af5b6a02b7a88b85ca0314c7ba83 (mode 644) --- /dev/null +++ themes/lugo/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 blob - /dev/null blob + 57e17cef146462569680129c9315c1eb24f433a0 (mode 644) --- /dev/null +++ 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 }} + + blob - /dev/null blob + 601fc08bb82cdd77324a539af60b8c159713625f (mode 644) --- /dev/null +++ themes/lugo/layouts/_default/list.html @@ -0,0 +1,20 @@ +{{ define "title" -}} +{{ .Title | title }} +{{- end }} +{{ define "main" -}} +{{ .Content }} + +{{- end }} blob - /dev/null blob + 0ffcbcec08e35bb434319e880cf6f562edad578a (mode 644) --- /dev/null +++ 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.Params.Author.email }} + {{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Params.Author.email }} + {{.}}{{ with $.Site.Params.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.Params.Author.email }}{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{- .Content | html -}} + + {{ end }} + + blob - /dev/null blob + 56c5a1156d5cc2b82b8de4735db86b170f0dc427 (mode 644) --- /dev/null +++ themes/lugo/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ define "title" -}} +{{ .Title }} +{{- end }} blob - /dev/null blob + a7318fe0ce2fe68a979225deb11c384c197df900 (mode 644) --- /dev/null +++ themes/lugo/layouts/partials/nav.html @@ -0,0 +1,8 @@ + blob - /dev/null blob + 099f16da31b73d634904e3292e42acef6132048b (mode 644) --- /dev/null +++ themes/lugo/layouts/partials/nextprev.html @@ -0,0 +1,10 @@ +{{ if or .Next .Prev -}} +
+{{- with .Prev }} +
Previous:
{{.Title}}
+{{ end -}} +{{- with .Next -}} +
Next:
{{.Title}}
+{{ end -}} +
+{{ end -}} blob - /dev/null blob + 1e9fe1df73e9ddb57a8500820c53802b5b511073 (mode 644) --- /dev/null +++ themes/lugo/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 }} blob - /dev/null blob + 14f592d772d4cb3eaa3a76692541af53714226ea (mode 644) --- /dev/null +++ themes/lugo/layouts/shortcodes/hidvid.html @@ -0,0 +1,10 @@ +
+ Click to reveal video. + +
blob - /dev/null blob + 0665f39de4a8ccd9eed15c2e4c79f16412ec0061 (mode 644) --- /dev/null +++ themes/lugo/layouts/shortcodes/img.html @@ -0,0 +1,21 @@ + +
+ {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + {{- with .Get "caption" -}} +
+ {{- . -}} +
+ {{- end -}} +
blob - /dev/null blob + 0cf0118f49b39f7defecbf841f2ada0cf2c7d725 (mode 644) --- /dev/null +++ themes/lugo/layouts/shortcodes/tagcloud.html @@ -0,0 +1,3 @@ +{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} {{ end }}{{ end }} blob - /dev/null blob + 4c612fe53f6c5e3f4c4ea5bd71af136bbca48037 (mode 644) --- /dev/null +++ themes/lugo/layouts/shortcodes/vid.html @@ -0,0 +1,6 @@ + blob - /dev/null blob + dfda038e6799af9437c16f965617325f99d7205f (mode 644) --- /dev/null +++ themes/lugo/static/rss.svg @@ -0,0 +1 @@ + blob - /dev/null blob + d3b2088cd6bd82da75bffbc3a3412efafdc07673 (mode 644) --- /dev/null +++ themes/lugo/static/style.css @@ -0,0 +1,45 @@ +body { + font-family: sans-serif ; + background: #110000 ; + color: #ccc ; +} + +main { + max-width: 800px ; + margin: auto ; +} + +img { + max-width: 100% ; +} + +header h1 { + text-align: center ; +} + +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% ; +}