Initial commit
This commit is contained in:
commit
4a9cfda0bd
40 changed files with 2743 additions and 0 deletions
0
views/parts/article-fragment.dt
Normal file
0
views/parts/article-fragment.dt
Normal file
14
views/parts/menu.dt
Normal file
14
views/parts/menu.dt
Normal 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
16
views/parts/page.dt
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue