summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2022-12-08 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2022-12-08 00:00:00 +0000
commit89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972 (patch)
tree1b0d0d4bae1bc3082483489aa1cfd7c22eac76225e16b186227b3af216174ade /layouts/partials
parent308be70ca86f4b3450c07f4f7cf30c3217deaea96eff89ecbfb31a1fdef18e05 (diff)
Complete overhaul of the CSS
I made it as BEM-compliant as I could. Making it fully BEM-compliant is impossible since Hugo doesn't have HTML render hooks for certain tags.
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/header.html4
-rw-r--r--layouts/partials/metadata.html4
3 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index daf7cd3..8a59ca9 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,4 +1,4 @@
-<footer>
- <p>Unless otherwise noted, the writing in this journal is licensed under {{ $.Site.Copyright }}<br>
+<footer class="footer">
+ <p class="footer__text">Unless otherwise noted, the writing in this journal is licensed under {{ $.Site.Copyright }}<br>
Copyright {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ $.Site.Author.name }}</p>
</footer> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index d974142..c1084d6 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,3 @@
-<header>
- <pre id="logo">{{ readFile "/content/templates/logo.txt" }}</pre>
+<header class="logo">
+ <pre class="logo__text">{{ readFile "/content/templates/logo.txt" }}</pre>
</header> \ No newline at end of file
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index acfd2d7..ed41518 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -2,7 +2,7 @@
<article>
<header>
<p>{{ partial "pageinfo" . }}<br>
- <a href="{{ .RelPermalink }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Title }}</a></p>
+ <a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Title }}</a></p>
</header>
</article>
-{{ end }} \ No newline at end of file
+{{ end }}