summaryrefslogtreecommitdiffstatshomepage
path: root/templates/shortcodes/guestbook_entry.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2026-02-02 21:10:12 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2026-02-02 21:10:12 +0530
commitd245c05825743e20d2df2900c4f8313d82ebcfe1 (patch)
treeb82ce18e8b9d2ff3d6c32f152b6d799d27eb4ffa /templates/shortcodes/guestbook_entry.html
first commit
Diffstat (limited to 'templates/shortcodes/guestbook_entry.html')
-rw-r--r--templates/shortcodes/guestbook_entry.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/shortcodes/guestbook_entry.html b/templates/shortcodes/guestbook_entry.html
new file mode 100644
index 0000000..69789ca
--- /dev/null
+++ b/templates/shortcodes/guestbook_entry.html
@@ -0,0 +1,25 @@
+{% import "macros/date.html" as date %}
+
+<div class="guestbook-entry">
+ <p>
+ {% if website %}<a href="{{ website | safe }}" target="_blank">{% endif %}
+ <strong class="guestbook-entry-name">{{ name | safe }}</strong>
+ {% if website %}</a>{% endif %}
+ <br>
+ <time datetime="{{ time }}">
+ {{ date::format_date(date=time) }}
+ </time>
+ </p>
+ <p>
+ {{ message | safe }}
+ </p>
+ {% if reply %}
+ <blockquote>
+ <p>
+ {{ reply | safe }}
+ <br><br>
+ &mdash; {{ config.extra.nickname }}
+ </p>
+ </blockquote>
+ {% endif %}
+</div>