summaryrefslogtreecommitdiff
path: root/themes/orca/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'themes/orca/layouts/partials')
-rw-r--r--themes/orca/layouts/partials/footer.html6
-rw-r--r--themes/orca/layouts/partials/header.html11
-rw-r--r--themes/orca/layouts/partials/post-item.html8
3 files changed, 16 insertions, 9 deletions
diff --git a/themes/orca/layouts/partials/footer.html b/themes/orca/layouts/partials/footer.html
new file mode 100644
index 0000000..a2ad329
--- /dev/null
+++ b/themes/orca/layouts/partials/footer.html
@@ -0,0 +1,6 @@
+<hr>
+<p>All content is written by <a href="/">frosty</a> unless noted otherwise. If you think something is incorrect, let me know.</p>
+<a href="https://www.gentoo.org/"><img src="/gentoo.png" alt="Gentoo Linux"/></a>
+<a href="https://www.vim.org/"><img src="/vim.png" alt="Vim: the editor"/></a>
+<br>
+<br>
diff --git a/themes/orca/layouts/partials/header.html b/themes/orca/layouts/partials/header.html
index 77d2a39..666539a 100644
--- a/themes/orca/layouts/partials/header.html
+++ b/themes/orca/layouts/partials/header.html
@@ -1,14 +1,13 @@
<header>
<div class="title">
- <img src="/icon.png"/>
<h2><a href="/">{{ .Site.Title }}</a></h2>
</div>
<nav>
-{{ range site.Menus.main }}
+ <div>
+{{ range $i, $t := site.Menus.main -}}
+{{ if $i }} {{ end -}}
<span>[<a href="{{ .URL }}">{{ .Name }}</a>]</span>
-{{ end }}
-{{ range site.Menus.right_main }}
- <span class="right">[<a href="{{ .URL }}">{{ .Name }}</a>]</span>
-{{ end }}
+{{- end }}
+ </div>
</nav>
</header>
diff --git a/themes/orca/layouts/partials/post-item.html b/themes/orca/layouts/partials/post-item.html
index 183dd28..b20a8f8 100644
--- a/themes/orca/layouts/partials/post-item.html
+++ b/themes/orca/layouts/partials/post-item.html
@@ -1,11 +1,13 @@
<div class="post">
<small class="right"><a href="/{{ .Type }}/">{{ .Type }}</a></small>
- <b><a href="{{ .Permalink }}">{{ .Title }}</a></b>
- <br>
<i>{{ .Date.Format "January 2nd, 2006" }}</i>
<br>
+ <b><a href="{{ .Permalink }}">{{ .Title }}</a></b>
<br>
<span>
- {{ range $i, $t := .Params.tags }}{{ if $i }}, {{ end }}<a href="">{{ $t }}</a>{{ end }}
+{{ range $i, $t := .Params.tags -}}
+ {{ if $i }}, {{ end -}}
+ {{ $t -}}
+{{- end }}
</span>
</div>