Implement guestbook
This commit is contained in:
@ -4,6 +4,8 @@ title: Nathan Upchurch | Changelog
|
||||
structuredData: none
|
||||
---
|
||||
# Changelog
|
||||
* 2025-08-14
|
||||
* Implemented a [guestbook](/guestbook/).
|
||||
* 2025-07-29
|
||||
* Added [The 74](https://www.the74million.org/) to the [blogroll](/blogroll).
|
||||
* 2025-07-14
|
||||
|
55
content/guestbook.njk
Normal file
55
content/guestbook.njk
Normal file
@ -0,0 +1,55 @@
|
||||
---
|
||||
layout: layouts/base.njk
|
||||
title: Nathan Upchurch | Guestbook
|
||||
structuredData: none
|
||||
---
|
||||
<h1>Sign My Guestbook</h1>
|
||||
<!-- Guestbook Script -->
|
||||
<script async src="https://guestbooks.meadow.cafe/resources/js/embed_script/835/script.js"></script>
|
||||
|
||||
<!-- Guestbook Form -->
|
||||
<div id="guestbooks___guestbook-form-container">
|
||||
<form id="guestbooks___guestbook-form"
|
||||
action="https://guestbooks.meadow.cafe/guestbook/835/submit"
|
||||
method="post">
|
||||
|
||||
<label for="name">Your name:</label>
|
||||
<div class="guestbooks___input-container">
|
||||
<input type="text"
|
||||
id="name"
|
||||
name="name"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<label for="website">Your website (optional):</label>
|
||||
<div class="guestbooks___input-container">
|
||||
<input type="url"
|
||||
id="website"
|
||||
name="website">
|
||||
</div>
|
||||
|
||||
<div id="guestbooks___challenge-answer-container"></div>
|
||||
|
||||
<label for="text">Your message:</label>
|
||||
<div class="guestbooks___input-container">
|
||||
<textarea id="text"
|
||||
name="text"
|
||||
rows="4"
|
||||
style="width: 100%; box-sizing: border-box; resize: vertical;"
|
||||
required></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit">Sign Guestbook</button>
|
||||
<div id="guestbooks___error-message"></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Attribution (optional but appreciated!) -->
|
||||
<div id="guestbooks___guestbook-made-with" style="text-align: right; margin-top: 10px;">
|
||||
<small>Powered by <a href="https://guestbooks.meadow.cafe" target="_blank">Guestbooks</a></small>
|
||||
</div>
|
||||
|
||||
<!-- Messages Section -->
|
||||
<hr/>
|
||||
<h2 id="guestbooks___guestbook-messages-header">Messages</h2>
|
||||
<div id="guestbooks___guestbook-messages-container"></div>
|
@ -3,10 +3,5 @@ layout: layouts/home.njk
|
||||
eleventyNavigation:
|
||||
key: Home
|
||||
order: 1
|
||||
numberOfLatestPostsToShow: 3
|
||||
numberOfNowPostsToShow: 1
|
||||
numberOfGalleriesToShow: 1
|
||||
numberOfQuizzesToShow: 1
|
||||
hideGalleryDescriptions: 1
|
||||
---
|
||||
{% include "navigator.njk" %}
|
||||
|
@ -22,7 +22,13 @@ structuredData: none
|
||||
<li><a href="/me">Contact</a></li>
|
||||
<li><a href="/feed/feed.xml">Feed</a></li>
|
||||
<li><a href="/galleries">Galleries</a></li>
|
||||
<li><a href="/guestbook">Guestbook</a></li>
|
||||
<li><a href="/now">Now</a></li>
|
||||
<li>Special
|
||||
<ul>
|
||||
<li><a href="/special/flying-toasters/">Flying Toasters</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/tags">Tags</a></li>
|
||||
<li><a href="/wish">Wishes</a></li>
|
||||
<li><a href="/quizzes">Quizzes</a></li>
|
||||
|
Reference in New Issue
Block a user