summaryrefslogtreecommitdiff
path: root/themes/lugo
diff options
context:
space:
mode:
Diffstat (limited to 'themes/lugo')
-rw-r--r--themes/lugo/archetypes/default.md6
-rw-r--r--themes/lugo/config.toml17
-rw-r--r--themes/lugo/layouts/_default/baseof.html41
-rw-r--r--themes/lugo/layouts/_default/list.html20
-rw-r--r--themes/lugo/layouts/_default/rss.xml26
-rw-r--r--themes/lugo/layouts/_default/single.html3
-rw-r--r--themes/lugo/layouts/partials/nav.html8
-rw-r--r--themes/lugo/layouts/partials/nextprev.html10
-rw-r--r--themes/lugo/layouts/partials/taglist.html13
-rw-r--r--themes/lugo/layouts/shortcodes/hidvid.html10
-rw-r--r--themes/lugo/layouts/shortcodes/img.html20
-rw-r--r--themes/lugo/layouts/shortcodes/tagcloud.html3
-rw-r--r--themes/lugo/layouts/shortcodes/vid.html6
-rw-r--r--themes/lugo/static/rss.svg1
-rw-r--r--themes/lugo/static/style.css45
15 files changed, 0 insertions, 229 deletions
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 @@
-<!DOCTYPE html>
-<html lang="{{ .Site.Language }}">
-<head>
- <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
- <link rel="canonical" href="{{ .Site.BaseURL }}">
- <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
- <link rel='stylesheet' type='text/css' href='/style.css'>
- {{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
- {{ end -}}
- <meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
- {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
- {{ end -}}
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="robots" content="index, follow">
- <meta charset="utf-8">
-</head>
-<body>
-<ul class="menu-list">
-<li class="menu-item"><a href="{{ .Site.BaseURL }}">λ</a></li>
-<li class="menu-item"><a href="{{ .Site.BaseURL }}/tags/projects">Projects</a></li>
-<li class="menu-item"><a href="{{ .Site.BaseURL }}/tags">Tags</a></li>
-<li class="menu-item" style="float:right"><a href="{{ .Site.BaseURL }}/about">About</a></li>
-</ul>
-{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
-<main>
-<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
-<article>
-{{ block "main" . }}
-{{ .Content }}
-{{ end }}
-{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
-{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
-</article>
-</main>
-{{ block "footer" . }}
-<footer>
- {{- if .Param "showrss" }}<a href="/index.xml">Subscribe to my RSS feed</a>{{ end }}
-</footer>
-{{ end }}
-</body>
-</html>
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 }}
-<ul>
-{{- range.Pages }}
-<li>
- {{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash; {{ end -}}
- <a href="{{ .RelPermalink }}">{{ .Title }}</a>
- {{- if .Param "authorsinlist" }}
- {{ with .Params.authors }}
- by
- {{ delimit . ", " " and " }}
- {{end}}
- {{ end -}}
-</li>
-{{- end }}
-</ul>
-{{- 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 @@
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>{{ .Site.Title }}</title>
- <link>{{ .Permalink }}</link>
- <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
- <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
- <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
- <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
- <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
- <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
- <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
- {{ with .OutputFormats.Get "RSS" }}
- {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
- {{ end }}
- {{ range .Site.RegularPages }}
- <item>
- <title>{{ .Title }}</title>
- <link>{{ .Permalink }}</link>
- <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
- {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
- <guid>{{ .Permalink }}</guid>
- <description>{{- .Content | html -}}</description>
- </item>
- {{ end }}
- </channel>
-</rss>
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 @@
-<nav>
- <ul>
- {{- $sec := .Page.Section }}{{ $file := .File.TranslationBaseName -}}
- {{ range.Site.Menus.main.ByWeight }}{{ $base := path.Base .URL }}
- <li><a {{ if or ( eq $sec $base ) ( eq $file $base ) ( and (eq $sec "") ( eq $file "_index") (eq $base "/") ) }}class="menuactive" {{ end }}href="{{ .URL }}"><span class=pre>{{ .Pre }}</span><span class=menuname>{{ .Name }}</span></a></li>
- {{- end }}
- </ul>
-</nav>
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 -}}
-<div id="nextprev">
-{{- with .Prev }}
-<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a>
-{{ end -}}
-{{- with .Next -}}
-<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a>
-{{ end -}}
-</div>
-{{ 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 -}}
- <div style="clear:both" class=taglist>
- {{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}}
- {{- range $k, $v := .Params.tags -}}
- {{- $url := printf "tags/%s" (. | urlize | lower) -}}
- <a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a>
- {{- if lt $k (sub $tagsLen 1) }} &middot; {{ end -}}
- {{- end -}}
- </div>
- {{- 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 @@
-<details>
- <summary>Click to reveal video.</summary>
-<iframe src="{{ index .Params 0 }}"
- loading="lazy"
- sandbox="allow-same-origin allow-scripts allow-popups"
- allowfullscreen frameborder="0"
- class="embvid"
- title="Embedded Video">
-</iframe>
-</details>
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 @@
-<!--
- class: class of the figure
- link: url the image directs to
- alt: alternative text
- caption: caption
- mouse: what the image says when moused over ("title" in HTML)
--->
-<figure {{ with .Get "class" }}class="{{.}}"{{ end -}}>
- {{- with .Get "link"}}<a href="{{.}}">{{ end -}}
- <img src="{{ .Get "src" }}"
- {{- with .Get "mouse" }} title="{{.}}"{{ end -}}
- {{- with .Get "alt" }} alt="{{.}}"{{ end -}}
- >
- {{- if .Get "link"}}</a>{{ end -}}
- {{- with .Get "caption" -}}
- <figcaption>
- {{- . -}}
- </figcaption>
- {{- end -}}
-</figure>
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) }} <ul id="tagcloud">
- {{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li>
- {{ end }}</ul>{{ 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 @@
-<iframe src="{{ index .Params 0 }}"
- loading="lazy"
- sandbox="allow-same-origin allow-scripts allow-popups"
- allowfullscreen frameborder="0"
- title="Embedded Video">
-</iframe>
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 @@
-<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 455.731 455.731" style="enable-background:new 0 0 455.731 455.731;" xml:space="preserve"><g><rect x="0" y="0" style="fill:#F78422;" width="455.731" height="455.731"/><g><path style="fill:#FFFFFF;" d="M296.208,159.16C234.445,97.397,152.266,63.382,64.81,63.382v64.348 c70.268,0,136.288,27.321,185.898,76.931c49.609,49.61,76.931,115.63,76.931,185.898h64.348 C391.986,303.103,357.971,220.923,296.208,159.16z"/><path style="fill:#FFFFFF;" d="M64.143,172.273v64.348c84.881,0,153.938,69.056,153.938,153.939h64.348 C282.429,270.196,184.507,172.273,64.143,172.273z"/><circle style="fill:#FFFFFF;" cx="109.833" cy="346.26" r="46.088"/></g></g></svg>
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% ;
-}