Turn on drafts
This commit is contained in:
parent
995fc703ba
commit
f5e95ec81e
2 changed files with 24 additions and 4 deletions
10
_config.yml
10
_config.yml
|
|
@ -8,3 +8,13 @@ jailed: false
|
|||
theme: jekyll-theme-primer
|
||||
gfm_quirks: paragraph_end
|
||||
repository: adafruit/circuitpython-weekly-newsletter
|
||||
collections:
|
||||
drafts:
|
||||
output: true
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: drafts
|
||||
values:
|
||||
layout: post
|
||||
|
|
|
|||
10
index.md
10
index.md
|
|
@ -2,6 +2,16 @@
|
|||
title: Adafruit CircuitPython Weekly Newsletter
|
||||
---
|
||||
|
||||
## Drafts
|
||||
|
||||
{{ site.posts | jsonify }}
|
||||
{% assign sorted = site.drafts | sort: 'date' | reverse %}
|
||||
{% for draft in sorted %}
|
||||
[{{ draft.title }}]({{ draft.url }})
|
||||
{% endfor %}
|
||||
|
||||
## Archive
|
||||
|
||||
{% for post in site.posts%}
|
||||
[{{ post.title }}]({{ post.url }})
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue