Skip to content
Snippets Groups Projects
Commit 8838a480 authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Feature: Custom HTML-snippet insertion as part of the standard templates

parent 54604d1f
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<body class="folder"> <body class="folder">
<h1>Quack <span style="color: #999">${SRC_FOLDER}</span></h1> <h1>Quack <span style="color: #999">${SRC_FOLDER}</span></h1>
<div class="foldersnippet">${SNIPPET_FOLDER}</div>
<!-- TODO: Create decent bread crumbs --> <!-- TODO: Create decent bread crumbs -->
<p>Parent folder: <a href="../index.html">${PARENT}</a></p> <p>Parent folder: <a href="../index.html">${PARENT}</a></p>
......
...@@ -19,6 +19,8 @@ ${IDPREVS} ...@@ -19,6 +19,8 @@ ${IDPREVS}
<body class="previewpage"> <body class="previewpage">
<h1>Quack <span style="color: #999">${IMAGE}</span></h1> <h1>Quack <span style="color: #999">${IMAGE}</span></h1>
<div class="imagesnippet">${SNIPPET_IMAGE}</div>
<div id="controlpanel" class="control"> <div id="controlpanel" class="control">
<p class="navigation">${NAVIGATION}</p> <p class="navigation">${NAVIGATION}</p>
${ALTERNATIVES} ${ALTERNATIVES}
......
...@@ -131,6 +131,12 @@ export PRESENTATION="true" ...@@ -131,6 +131,12 @@ export PRESENTATION="true"
export OVERLAY_BLACK=3399FF export OVERLAY_BLACK=3399FF
export OVERLAY_WHITE=FFFF00 export OVERLAY_WHITE=FFFF00
# Snippets are inserted verbatim at the top of the folder and the image pages.
# Use them for specifying things like delivery date or provider notes.
export SNIPPET_FOLDER=""
export SNIPPET_IMAGE=""
# End default settings. User-supplied overrides will be loaded from quack.settings # End default settings. User-supplied overrides will be loaded from quack.settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment