summaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-25 05:37:43 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-25 05:37:43 +0100
commitd8f164432c0b18765f74473001c54006e50787a9 (patch)
treedecbbad94a95d58b9a64d767e4d83716dafeb27b /src/main/resources/templates
parent514273e539bbe580f142ce96d96972667b779b73 (diff)
Clean up CSS and JavaScript files, change wiki layout a bit.
Change-Id: Ib47bf59db5e4e65ef58515b45d63bd7f1572c88b
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/benki/wiki/wikiPage.html28
1 files changed, 20 insertions, 8 deletions
diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html
index caf587a..28903ba 100644
--- a/src/main/resources/templates/benki/wiki/wikiPage.html
+++ b/src/main/resources/templates/benki/wiki/wikiPage.html
@@ -2,19 +2,31 @@
<html>
<head>
<meta charset="UTF-8">
+
<title>{title} &#8212; Benki Wiki</title>
+
+ <link rel="stylesheet" type="text/css" href="/common.css" />
</head>
+
<body>
- <h1>{title}</h1>
+ <article id="wiki-page">
+ <header>
+ <h1>{title}</h1>
- <header>
- Last edit: <time datetime="{date.htmlFormat}">{date.humanFormat}</time> {author.name}
- </header>
+ <div class="">
+ Last edit: <time datetime="{date.htmlFormat}">{date.humanFormat}</time> by {author.name}
+ </div>
+ </header>
- <main>
- <article>
+ <main>
{content.raw}
- </article>
- </main>
+ </main>
+
+ <hr>
+
+ <footer>
+ <a href="/wiki/{title}/revisions">Page revisions</a>
+ </footer>
+ </article>
</body>
</html>