Skip to content

Commit 26d6ad8

Browse files
committed
Moved Blog posts into a "blog" Section
1 parent 90a2cf4 commit 26d6ad8

7 files changed

Lines changed: 5 additions & 1 deletion

content/blog/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
+++
2+
render = false
3+
insert_anchor_links = "right"
4+
+++
File renamed without changes.

content/raspberry-pi-enable-ds18b20-gpio-for-kernel-v3-18-5.md renamed to content/blog/raspberry-pi-enable-ds18b20-gpio-for-kernel-v3-18-5.md

File renamed without changes.
File renamed without changes.
File renamed without changes.

templates/blog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="post">
33
<h1 class="post-title">{{ page.title }}</h1>
44

5-
{% set section = get_section(path="_index.md") %} {{
5+
{% set section = get_section(path="./blog/_index.md") %} {{
66
post_macros::list_posts(pages=section.pages) }}
77
</div>
88
{% endblock content %}

0 commit comments

Comments
 (0)