This commit is contained in:
Chris Josten 2021-11-18 19:28:24 +01:00
parent 35d5b02b5e
commit f405f99729
22 changed files with 393 additions and 51 deletions

View file

@ -12,7 +12,7 @@ block content
- if (articleList.length == 0)
p No posts found
- else
- import utils;
- import nl.netsoj.chris.blog.utils;
- foreach(article; articleList)
article
header

View file

@ -14,7 +14,7 @@ block extra_meta_data
block content
article(itemscope, itemtype="https://schema.org/BlogPosting", lang="#{content.language}")
- import utils;
- import nl.netsoj.chris.blog.utils;
header
h1.title(itemprop="headline") #{content.title}
p.subtitle

21
views/pages/indieauth.dt Normal file
View file

@ -0,0 +1,21 @@
extends parts/page
block header
title Aanmelden - Netsoj.nl
block sidebar
block content
- if (app.richInfo)
header.project-header
img.project-icon(src="#{app.logo}", alt="Icon of #{app.name}")
div
h1.title Aanmelden met #[a(href="#{app.clientId}") #{app.name}]
span.project-description #{app.clientId}
- else
header
h1.title Aanmelden met #[a(href="#{app.clientId}") #{app.name}]
p #{app.name} wil uw identiteit bevestigen.
p #[a(href="#{app.redirectUri}") Aanvaarden en aanmelden]  #[a(href="javascript:history.back();") Weigeren]

View file

@ -1,6 +1,6 @@
doctype html
html(prefix="og: http://ogp.me/ns#")
- import constants;
- import nl.netsoj.chris.blog.constants;
- import vibe.d;
head
//- Kick off loading the css as fast as possible