about summary refs log tree commit diff
path: root/templates/quark/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/quark/page.html')
-rw-r--r--templates/quark/page.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/templates/quark/page.html b/templates/quark/page.html
index 4fc3496..05d73ea 100644
--- a/templates/quark/page.html
+++ b/templates/quark/page.html
@@ -2,14 +2,22 @@
 <nav class="box">
 	<h2>links~</h2>
 	<div><a href="/" alt="leave quark">← leave quark</a></div>
-	<div><a href="/quark" alt="index">// the index</a></div>
+	<div><a href="/quark/" alt="index">// the index</a></div>
 </nav>
+{%if-set withTools}
 <section id="tools" class="box">
 	<h3>tools..</h3>
 	<a href="?edit">edit!</a>
-	<a href="/quark?create">create&</a>
+	{%if-set withMove}<br><a href="?move">move%</a>{%end}
+	<a href="/quark/?create">create&</a>
+	{%if-set withDelete}<br><a href="?delete">delete.</a>{%end}
+	{%if-set section}<br><a href="../{section}?edit">edit&nbsp;section!</a>{%end}
 </section>
-<main id="main-content" class="box page">
-	{main}
+{%end}
+<main id="main-content" class="page">
+	<h1>{page-title}</h1>
+	<article class="box">
+		{main}
+	</article>
 </main>
-{%end}
\ No newline at end of file
+{%end}