From b13a5ee4004b3adc702374ed8ce0954df3cc35cc Mon Sep 17 00:00:00 2001 From: 0xhenrique Date: Wed, 19 Feb 2025 21:28:48 +0000 Subject: remove markdown in favour of org files --- themes/lugo/archetypes/default.md | 6 ---- themes/lugo/config.toml | 17 ----------- themes/lugo/layouts/_default/baseof.html | 41 ------------------------- themes/lugo/layouts/_default/list.html | 20 ------------- themes/lugo/layouts/_default/rss.xml | 26 ---------------- themes/lugo/layouts/_default/single.html | 3 -- themes/lugo/layouts/partials/nav.html | 8 ----- themes/lugo/layouts/partials/nextprev.html | 10 ------- themes/lugo/layouts/partials/taglist.html | 13 -------- themes/lugo/layouts/shortcodes/hidvid.html | 10 ------- themes/lugo/layouts/shortcodes/img.html | 20 ------------- themes/lugo/layouts/shortcodes/tagcloud.html | 3 -- themes/lugo/layouts/shortcodes/vid.html | 6 ---- themes/lugo/static/rss.svg | 1 - themes/lugo/static/style.css | 45 ---------------------------- 15 files changed, 229 deletions(-) delete mode 100644 themes/lugo/archetypes/default.md delete mode 100644 themes/lugo/config.toml delete mode 100644 themes/lugo/layouts/_default/baseof.html delete mode 100644 themes/lugo/layouts/_default/list.html delete mode 100644 themes/lugo/layouts/_default/rss.xml delete mode 100644 themes/lugo/layouts/_default/single.html delete mode 100644 themes/lugo/layouts/partials/nav.html delete mode 100644 themes/lugo/layouts/partials/nextprev.html delete mode 100644 themes/lugo/layouts/partials/taglist.html delete mode 100644 themes/lugo/layouts/shortcodes/hidvid.html delete mode 100644 themes/lugo/layouts/shortcodes/img.html delete mode 100644 themes/lugo/layouts/shortcodes/tagcloud.html delete mode 100644 themes/lugo/layouts/shortcodes/vid.html delete mode 100644 themes/lugo/static/rss.svg delete mode 100644 themes/lugo/static/style.css (limited to 'themes') diff --git a/themes/lugo/archetypes/default.md b/themes/lugo/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/themes/lugo/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/themes/lugo/config.toml b/themes/lugo/config.toml deleted file mode 100644 index e884199..0000000 --- a/themes/lugo/config.toml +++ /dev/null @@ -1,17 +0,0 @@ -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/lugo/layouts/_default/baseof.html b/themes/lugo/layouts/_default/baseof.html deleted file mode 100644 index f1c41c2..0000000 --- a/themes/lugo/layouts/_default/baseof.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - {{ 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 deleted file mode 100644 index 601fc08..0000000 --- a/themes/lugo/layouts/_default/list.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ define "title" -}} -{{ .Title | title }} -{{- end }} -{{ define "main" -}} -{{ .Content }} - -{{- end }} diff --git a/themes/lugo/layouts/_default/rss.xml b/themes/lugo/layouts/_default/rss.xml deleted file mode 100644 index 38dbe3d..0000000 --- a/themes/lugo/layouts/_default/rss.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - {{ .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 deleted file mode 100644 index 56c5a11..0000000 --- a/themes/lugo/layouts/_default/single.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "title" -}} -{{ .Title }} -{{- end }} diff --git a/themes/lugo/layouts/partials/nav.html b/themes/lugo/layouts/partials/nav.html deleted file mode 100644 index a7318fe..0000000 --- a/themes/lugo/layouts/partials/nav.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/themes/lugo/layouts/partials/nextprev.html b/themes/lugo/layouts/partials/nextprev.html deleted file mode 100644 index 099f16d..0000000 --- a/themes/lugo/layouts/partials/nextprev.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ if or .Next .Prev -}} -
-{{- with .Prev }} -
Previous:
{{.Title}}
-{{ end -}} -{{- with .Next -}} -
Next:
{{.Title}}
-{{ end -}} -
-{{ end -}} diff --git a/themes/lugo/layouts/partials/taglist.html b/themes/lugo/layouts/partials/taglist.html deleted file mode 100644 index 757db6f..0000000 --- a/themes/lugo/layouts/partials/taglist.html +++ /dev/null @@ -1,13 +0,0 @@ - {{- 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/lugo/layouts/shortcodes/hidvid.html b/themes/lugo/layouts/shortcodes/hidvid.html deleted file mode 100644 index 14f592d..0000000 --- a/themes/lugo/layouts/shortcodes/hidvid.html +++ /dev/null @@ -1,10 +0,0 @@ -
- Click to reveal video. - -
diff --git a/themes/lugo/layouts/shortcodes/img.html b/themes/lugo/layouts/shortcodes/img.html deleted file mode 100644 index ff7959b..0000000 --- a/themes/lugo/layouts/shortcodes/img.html +++ /dev/null @@ -1,20 +0,0 @@ - -
- {{- with .Get "link"}}{{ end -}} - {{.}} - {{- if .Get "link"}}{{ end -}} - {{- with .Get "caption" -}} -
- {{- . -}} -
- {{- end -}} -
diff --git a/themes/lugo/layouts/shortcodes/tagcloud.html b/themes/lugo/layouts/shortcodes/tagcloud.html deleted file mode 100644 index 0cf0118..0000000 --- a/themes/lugo/layouts/shortcodes/tagcloud.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} {{ end }}{{ end }} diff --git a/themes/lugo/layouts/shortcodes/vid.html b/themes/lugo/layouts/shortcodes/vid.html deleted file mode 100644 index 4c612fe..0000000 --- a/themes/lugo/layouts/shortcodes/vid.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/themes/lugo/static/rss.svg b/themes/lugo/static/rss.svg deleted file mode 100644 index dfda038..0000000 --- a/themes/lugo/static/rss.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/themes/lugo/static/style.css b/themes/lugo/static/style.css deleted file mode 100644 index d3b2088..0000000 --- a/themes/lugo/static/style.css +++ /dev/null @@ -1,45 +0,0 @@ -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% ; -} -- cgit v1.3