Initialize cobalt site
commit
5c21b93709
|
@ -0,0 +1,7 @@
|
|||
|
||||
site:
|
||||
title: cobalt blog
|
||||
description: Blog Posts Go Here
|
||||
base_url: http://example.com
|
||||
posts:
|
||||
rss: rss.xml
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
layout: default.liquid
|
||||
---
|
||||
## Blog!
|
||||
|
||||
{% for post in collections.posts.pages %}
|
||||
#### {{post.title}}
|
||||
|
||||
[{{ post.title }}]({{ post.permalink }})
|
||||
{% endfor %}
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
layout: default.liquid
|
||||
|
||||
title: First Post
|
||||
is_draft: true
|
||||
---
|
||||
|
||||
# This is our first Post!
|
||||
|
||||
Welcome to the first post ever on cobalt.rs!
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ page.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<h2>{{ page.title }}</h2>
|
||||
{{ page.content }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
layout: default.liquid
|
||||
---
|
||||
## Blog!
|
||||
|
||||
{% for post in collections.posts.pages %}
|
||||
#### {{post.title}}
|
||||
|
||||
[{{ post.title }}]({{ post.permalink }})
|
||||
{% endfor %}
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
layout: default.liquid
|
||||
|
||||
title: First Post
|
||||
is_draft: true
|
||||
---
|
||||
|
||||
# This is our first Post!
|
||||
|
||||
Welcome to the first post ever on cobalt.rs!
|
Loading…
Reference in New Issue