about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config.toml5
-rw-r--r--themes/researcher/layouts/partials/footer.html8
2 files changed, 10 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index 7dfa49f..9708ba7 100644
--- a/config.toml
+++ b/config.toml
@@ -11,9 +11,12 @@ theme = "researcher"
   description = "Personal website."
   favicon = "favicon.ico"  # path to a .ico to use as favicon
   logo = ""  # url or path to a logo to put in the header
-  [params.footer]
+  [params.footer1]
     text = "By Baitinq"
     url = "https://github.com/Baitinq/baitinq.ml"
+  [params.footer2]
+    text = "Hosted on NixOS."
+    url = "https://nixos.org"
   [params.style]  # appearance options (can be omitted)
     fontFamily = "Inconsolata"
     pageWidth = "750px"
diff --git a/themes/researcher/layouts/partials/footer.html b/themes/researcher/layouts/partials/footer.html
index b027256..3a55194 100644
--- a/themes/researcher/layouts/partials/footer.html
+++ b/themes/researcher/layouts/partials/footer.html
@@ -7,9 +7,13 @@
         {{ end }}
     </div>
     {{ end }}
-    {{ with .Site.Params.footer }}
         <div class="container text-center">
+    {{ with .Site.Params.footer1 }}
+            <a href="{{ .url | absURL }}" title="{{ .text }}"><small>{{ .text }}</small></a>
+    {{ end }} -
+{{ with .Site.Params.footer2 }}
             <a href="{{ .url | absURL }}" title="{{ .text }}"><small>{{ .text }}</small></a>
-        </div>
     {{ end }}
+        </div>
+
 </div>