Initial commit

This commit is contained in:
Chris Josten 2020-06-24 10:08:28 +02:00
commit 4a9cfda0bd
40 changed files with 2743 additions and 0 deletions

View file

14
views/parts/menu.dt Normal file
View file

@ -0,0 +1,14 @@
- void menuItem(string text, string link)
li
a(href="#{link}") #{text}
header
img.logo(src="/static/img/logo.png")
p Chris's webstekkie
ul
- menuItem("home", "/");
- menuItem("posts", "/posts/");
- menuItem("projects", "/projects/");
footer
p ©Chris Josten, 2020

16
views/parts/page.dt Normal file
View file

@ -0,0 +1,16 @@
doctype html
html
head
meta(name="viewport", content="width=device-width; initial-scale=1")
link(rel="stylesheet", href="/static/style/base.css")
link(rel="stylesheet", href="/static/style/highlight.css")
link(rel="alternate stylesheet", href="/static/style/old.css", title="1999")
link(rel="shortcut icon", href="/static/img/logo.png")
meta(name="theme-color", content="#7f0602")
block header
body
nav
block sidebar
main
block content