Initial commit
This commit is contained in:
commit
4a9cfda0bd
40 changed files with 2743 additions and 0 deletions
26
views/pages/article-list.dt
Normal file
26
views/pages/article-list.dt
Normal file
|
@ -0,0 +1,26 @@
|
|||
extends /parts/page.dt
|
||||
|
||||
block header
|
||||
title Posts - Netsoj.nl
|
||||
|
||||
block sidebar
|
||||
include /parts/menu.dt
|
||||
|
||||
block content
|
||||
header
|
||||
h1.title Post list
|
||||
- import vibe.d;
|
||||
- if (articleList.length == 0)
|
||||
p No posts found
|
||||
- else
|
||||
- import utils;
|
||||
- foreach(article; articleList)
|
||||
article
|
||||
header
|
||||
a(href="/posts/#{article.slug}", rel="bookmark")
|
||||
h2.title #{article.title}
|
||||
p.subtitle
|
||||
| By #{article.author} on #{article.firstPublished.toHumanString}
|
||||
- if (article.firstPublished != article.updated)
|
||||
|, updated on #{article.updated.toHumanString}
|
||||
p #{article.excerpt}…
|
17
views/pages/article.dt
Normal file
17
views/pages/article.dt
Normal file
|
@ -0,0 +1,17 @@
|
|||
extends /parts/page
|
||||
block header
|
||||
title #{content.title} - Netsoj.nl
|
||||
|
||||
block sidebar
|
||||
include /parts/menu.dt
|
||||
|
||||
block content
|
||||
article
|
||||
- import utils;
|
||||
header
|
||||
h1.title #{content.title}
|
||||
p.subtitle
|
||||
| By #{content.author} on #{content.firstPublished.toHumanString}
|
||||
- if (content.firstPublished != content.updated)
|
||||
|, updated on #{content.updated.toHumanString}
|
||||
| !{content.content}
|
12
views/pages/error.dt
Normal file
12
views/pages/error.dt
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends /parts/page.dt
|
||||
|
||||
block header
|
||||
title #{error.message} - Netsoj.nl
|
||||
|
||||
block sidebar
|
||||
include /parts/menu.dt
|
||||
|
||||
block content
|
||||
header
|
||||
h1.title #{error.message}
|
||||
p #{error.debugMessage}
|
12
views/pages/page.dt
Normal file
12
views/pages/page.dt
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends /parts/page.dt
|
||||
|
||||
block header
|
||||
title #{content.title} - Netsoj.nl
|
||||
|
||||
block sidebar
|
||||
include /parts/menu.dt
|
||||
|
||||
block content
|
||||
header
|
||||
h1.title #{content.title}
|
||||
| !{content.content}
|
25
views/pages/project-list.dt
Normal file
25
views/pages/project-list.dt
Normal file
|
@ -0,0 +1,25 @@
|
|||
extends /parts/page.dt
|
||||
|
||||
block header
|
||||
title Projects - Netsoj.nl
|
||||
|
||||
block sidebar
|
||||
include /parts/menu.dt
|
||||
|
||||
block content
|
||||
header
|
||||
h1.title Projects
|
||||
p Note: I'm not a graphic designer, so please ignore the icons.
|
||||
- if (projectList.length == 0)
|
||||
p No projects found
|
||||
- foreach(project; projectList)
|
||||
div.project
|
||||
img(src="#{project.icon}")
|
||||
h2 #{project.title}
|
||||
p.platforms
|
||||
- foreach(platform; project.platforms)
|
||||
span.platform #{platform}
|
||||
p.technologies
|
||||
- foreach(technology; project.technologies)
|
||||
span.platform #{technology}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue