Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a blog #99

Closed
wants to merge 3 commits into from
Closed

Added a blog #99

wants to merge 3 commits into from

Conversation

dragonmantank
Copy link
Member

@dragonmantank dragonmantank commented Dec 22, 2016

A real working blog example! YAY!

This reads in a list of markdown files from a folder and converts them into blogposts in a DB. It also handles cleaning up any posts that don't have corresponding markdown files.

Markdown files should be placed in data/posts/, and named in YYYY-mm-dd-slug-for-title.md. They can have YAML frontmatter and markdown:

---
title: This is a sample post
published: 1
---

This is the content.

### And it supports markdown

I'm going to run this on the dev site for a bit. If anyone has any blog articles they want to write, they can branch off of this branch.

Fixes #22

@svpernova09
Copy link
Contributor

el oh el

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Basic Blogging Functionality
2 participants