initial setup. make pages work, basic layouts, config, markdown blog
This commit is contained in:
parent
6979f11d92
commit
af0f3e6268
13 changed files with 438 additions and 12 deletions
9
content/pages/blog.njk
Normal file
9
content/pages/blog.njk
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: 'Blog'
|
||||
permalink: "/blog/"
|
||||
---
|
||||
|
||||
<h1>Blog</h1>
|
||||
{% for post in collections.blogpost %}
|
||||
<a href="{{ post.data.permalink | safe }}">{{post.data.title}}</a>
|
||||
{% endfor %}
|
7
content/pages/contact.html
Normal file
7
content/pages/contact.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: Contact
|
||||
permalink: "/contact/"
|
||||
---
|
||||
|
||||
<h2>E-mail</h2>
|
||||
mail@riksolo.com
|
6
content/pages/index.njk
Normal file
6
content/pages/index.njk
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Home
|
||||
permalink: "/"
|
||||
---
|
||||
|
||||
<h1>{{title}}</h1>
|
3
content/pages/pages.json
Normal file
3
content/pages/pages.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"tags": "page"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue