1
Fork 0

Add guestbook

This commit is contained in:
Jake Howard 2022-06-13 23:30:55 +01:00
parent f769ffd558
commit 89c60b04aa
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 21 additions and 1 deletions

View file

@ -15,3 +15,5 @@ If you stumbled across an email address of mine, best not to use it. Like most p
- Matrix: {{< sociallink matrix >}}
Want to [say thanks]({{<relref "support" >}})?
Alternatively, you can [Sign my guestbook]({{<relref "guestbook">}}).

11
content/guestbook.md Normal file
View file

@ -0,0 +1,11 @@
---
title: Guestbook
hidden_from_navbar: true
image: unsplash:DgugiZUfH9k
---
Welcome, wary traveller! Sign my guestbook below. You can write whatever you like (within reason).
Once you're done, take a look at some of my [posts]({{<relref "posts">}}).
<small>Ideal _stolen_ from [@laymonage](https://laymonage.com/guestbook).</small>

View file

@ -13,7 +13,7 @@
{{ with (.Site.GetPage "search") }}
<li class="nav-item">
<a class="nav-link" href="{{ .Permalink }}">
<i class="fas fa-search" title="Search"></i>
<i class="fas fa-search" title="{{ .Title }}"></i>
</a>
</li>
{{ end }}
@ -24,6 +24,13 @@
</a>
</li>
{{ end }}
{{ with (.Site.GetPage "guestbook") }}
<li class="nav-item">
<a class="nav-link" href="{{ .Permalink }}">
<i class="fas fa-book" title="{{ .Title }}"></i>
</a>
</li>
{{ end }}
{{ range .Site.Data.social.navbar_accounts }}
{{ $account := index $.Site.Data.social.accounts . }}
<li class="nav-item">