Init with cobalt-org/cobalt.rs
This commit is contained in:
parent
fd841232b6
commit
b5275a2aff
7
_cobalt.yml
Normal file
7
_cobalt.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
site:
|
||||||
|
title: M-LABS K.B.
|
||||||
|
description: Knowledge Base for M-Labs
|
||||||
|
base_url: ~
|
||||||
|
posts:
|
||||||
|
rss: rss.xml
|
10
_defaults/pages.md
Normal file
10
_defaults/pages.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
layout: default.liquid
|
||||||
|
---
|
||||||
|
## Blog!
|
||||||
|
|
||||||
|
{% for post in collections.posts.pages %}
|
||||||
|
#### {{post.title}}
|
||||||
|
|
||||||
|
[{{ post.title }}]({{ post.permalink }})
|
||||||
|
{% endfor %}
|
10
_defaults/posts.md
Normal file
10
_defaults/posts.md
Normal file
@ -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!
|
13
_layouts/default.liquid
Normal file
13
_layouts/default.liquid
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user