summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-24 19:11:24 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-24 19:11:24 +0100
commit9222efa007b8790852dc761d09367863bf56ddf3 (patch)
tree078e101d53aa8a87e06013157ddb049a48b40e7d /src/main/resources
parent57c9a8aa7845f27cee62c423c7128b46d256fc40 (diff)
Start implementing /wiki/{pageName}.
Change-Id: Ia9adf24209be8eddcfec72a66434ea4100855533
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties3
-rw-r--r--src/main/resources/templates/benki/wiki/wikiPage.html10
2 files changed, 12 insertions, 1 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 4ba1cb1..bf6018f 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -7,9 +7,10 @@ quarkus.datasource.min-size = 0
#quarkus.flyway.baseline-version = 1
#quarkus.flyway.schemas = public
-%dev.quarkus.datasource.url = jdbc:postgresql://localhost:5432/flep
+%dev.quarkus.datasource.url = jdbc:postgresql://localhost:5432/mulkcms
%dev.quarkus.datasource.username = mulk
%dev.quarkus.datasource.password =
+%dev.quarkus.hibernate-orm.log.sql = true
quarkus.oidc.auth-server-url = https://login.benkard.de/auth/realms/master
quarkus.oidc.client-id = mulkcms
diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html
index 9b3af5d..caf587a 100644
--- a/src/main/resources/templates/benki/wiki/wikiPage.html
+++ b/src/main/resources/templates/benki/wiki/wikiPage.html
@@ -6,5 +6,15 @@
</head>
<body>
<h1>{title}</h1>
+
+ <header>
+ Last edit: <time datetime="{date.htmlFormat}">{date.humanFormat}</time> {author.name}
+ </header>
+
+ <main>
+ <article>
+ {content.raw}
+ </article>
+ </main>
</body>
</html>