summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/aoidh/layouts')
-rw-r--r--themes/aoidh/layouts/_partials/date.html3
-rw-r--r--themes/aoidh/layouts/_partials/head.html6
-rw-r--r--themes/aoidh/layouts/_partials/header.html2
-rw-r--r--themes/aoidh/layouts/_partials/nav.html14
4 files changed, 0 insertions, 25 deletions
diff --git a/themes/aoidh/layouts/_partials/date.html b/themes/aoidh/layouts/_partials/date.html
deleted file mode 100644
index 39e108c..0000000
--- a/themes/aoidh/layouts/_partials/date.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{{- $machine := . | time.Format "2006-01-02T15:04:05-07:00" -}}
-{{- $human := . | time.Format "2006-01-02" -}}
-<time datetime="{{ $machine }}">{{ $human }}</time>
diff --git a/themes/aoidh/layouts/_partials/head.html b/themes/aoidh/layouts/_partials/head.html
deleted file mode 100644
index 2720637..0000000
--- a/themes/aoidh/layouts/_partials/head.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width">
-<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
-{{- with resources.Get "aoidh.css" | minify }}
- <link rel="stylesheet" href="{{ .RelPermalink }}">
-{{- end }}
diff --git a/themes/aoidh/layouts/_partials/header.html b/themes/aoidh/layouts/_partials/header.html
deleted file mode 100644
index 2d853ca..0000000
--- a/themes/aoidh/layouts/_partials/header.html
+++ /dev/null
@@ -1,2 +0,0 @@
-{{ partial "nav.html" . }}
-<hr> \ No newline at end of file
diff --git a/themes/aoidh/layouts/_partials/nav.html b/themes/aoidh/layouts/_partials/nav.html
deleted file mode 100644
index 81751ef..0000000
--- a/themes/aoidh/layouts/_partials/nav.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<nav>
- <ul>
- {{- $currentPage := . }}
- {{- range site.Menus.main }}
- {{- if $currentPage.IsMenuCurrent .Menu . }}
- <li class="nav-active"><a href="{{ .URL }}">{{ .Name }}</a></li>
- {{- else if $currentPage.HasMenuCurrent .Menu . }}
- <li class="nav-ancestor"><a href="{{ .URL }}">{{ .Name }}</a></li>
- {{- else }}
- <li><a href="{{ .URL }}">{{ .Name }}</a></li>
- {{- end }}
- {{- end }}
- </ul>
-</nav>