aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml11
-rw-r--r--themes/XMin/layouts/partials/foot_custom.html15
-rw-r--r--themes/XMin/layouts/partials/footer.html2
3 files changed, 10 insertions, 18 deletions
diff --git a/config.toml b/config.toml
index a4ebd49..816e318 100644
--- a/config.toml
+++ b/config.toml
@@ -4,11 +4,16 @@ title = 'mfashby.net'
theme = "XMin"
[[menu.main]]
-name = "Home"
+name = "home"
url = ""
weight = 1
[[menu.main]]
-name = "About"
+name = "about"
url = "about/"
-weight = 2 \ No newline at end of file
+weight = 2
+
+[[menu.main]]
+name = "rss"
+url = "index.xml"
+weight = 3 \ No newline at end of file
diff --git a/themes/XMin/layouts/partials/foot_custom.html b/themes/XMin/layouts/partials/foot_custom.html
index 3dd47a3..970c41c 100644
--- a/themes/XMin/layouts/partials/foot_custom.html
+++ b/themes/XMin/layouts/partials/foot_custom.html
@@ -1,18 +1,3 @@
-
-<a href="https://mfashby.net/index.xml">
-<svg xmlns="http://www.w3.org/2000/svg"
- role="img" aria-label="[title]"
- width="24" height="24"
- viewBox="0 0 24 24"
- fill="none"
- stroke="orange"
- stroke-width="2"
- stroke-linecap="round"
- stroke-linejoin="round">
- <title>RSS</title>
- <path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg>
-</a>
-
{{ if .Param "comments" }}
<h2>comments</h2>
<div style="visibility: hidden" id="comments">comments go here</div>
diff --git a/themes/XMin/layouts/partials/footer.html b/themes/XMin/layouts/partials/footer.html
index b2a1d6c..082588d 100644
--- a/themes/XMin/layouts/partials/footer.html
+++ b/themes/XMin/layouts/partials/footer.html
@@ -1,8 +1,10 @@
<footer>
+ {{ if or (.Params.author) (gt .Params.lastmod 0) }}
<div class="article-meta">
{{ with .Params.author }}Author <span class="author">{{ . }}</span><br/>{{ end }}
{{ if (gt .Params.lastmod 0) }}Updated <span class="date">{{ .Lastmod.Format "2006/01/02" }}</span><br/>{{ end }}
</div>
+ {{ end }}
{{ partial "foot_custom.html" . }}
{{ with .Site.Params.footer }}