42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!--
|
|
Default guestbook template.
|
|
Copy this file and point BOOK_TEMPLATE at your copy to customize.
|
|
|
|
Placeholders are inserted with double curly braces, e.g. curly-title-curly.
|
|
|
|
Available placeholders:
|
|
|
|
title - Site title (BOOK_SITE_TITLE). Useful in <title> and headings.
|
|
form - The submission form (labels, inputs, button). Controlled by
|
|
BOOK_LABEL_NAME, BOOK_LABEL_WEBSITE, BOOK_LABEL_MESSAGE,
|
|
BOOK_LABEL_DRAWING, BOOK_LABEL_VOICE_NOTE, BOOK_BUTTON_TEXT,
|
|
BOOK_TEXTAREA_WIDTH, BOOK_TEXTAREA_HEIGHT. Empty when
|
|
BOOK_ENABLE_SUBMISSIONS=false.
|
|
entries - Approved guestbook entries, newest first.
|
|
style - Custom CSS from BOOK_STYLE or BOOK_STYLE_FILE, wrapped in
|
|
a <style> tag. Uses built-in default.css when neither is set.
|
|
|
|
See default.css for available CSS classes on rendered elements.
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{title}}</title>
|
|
{{style}}
|
|
</head>
|
|
<body>
|
|
<div class="page-container">
|
|
<h1>{{title}}</h1>
|
|
|
|
<details class="guestbook-details">
|
|
<summary class="guestbook-summary">Click me to leave an entry</summary>
|
|
{{form}}
|
|
</details>
|
|
|
|
<h1>entries</h1>
|
|
{{entries}}
|
|
</div>
|
|
</body>
|
|
</html>
|