44 lines
1.3 KiB
HTML
44 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.
|
|
prompt - The form prompt text (BOOK_FORM_PROMPT), wrapped in a
|
|
<span class="guestbook-prompt">. Empty when submissions
|
|
are disabled. Place anywhere relative to the form.
|
|
form - The submission form (labels, inputs, button). Controlled by
|
|
BOOK_LABEL_NAME, BOOK_LABEL_WEBSITE, BOOK_LABEL_MESSAGE,
|
|
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">
|
|
{{title}}
|
|
=========
|
|
|
|
{{prompt}}
|
|
{{form}}
|
|
|
|
entries
|
|
=======
|
|
{{entries}}
|
|
</div>
|
|
</body>
|
|
</html>
|