diff options
Diffstat (limited to 'themes/lugo/layouts/_default')
| -rw-r--r-- | themes/lugo/layouts/_default/baseof.html | 41 | ||||
| -rw-r--r-- | themes/lugo/layouts/_default/list.html | 20 | ||||
| -rw-r--r-- | themes/lugo/layouts/_default/rss.xml | 26 | ||||
| -rw-r--r-- | themes/lugo/layouts/_default/single.html | 3 |
4 files changed, 0 insertions, 90 deletions
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> – {{ 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 }} |
