Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.98 KB

README.md

File metadata and controls

55 lines (40 loc) · 2.98 KB

Flask Blog

A very simple blog with Flask and Flask-Flatpages

Demo at https://insomnux.pythonanywhere.com/

Features:

Posts are added in markdown format in the pages directory. Posts must have YAML metadata, followed by a blank line and an --- delimiter. Followed by the page or post body.

Example:

title: My post
date: 2018-12-12
descr: A new awesome post I wrote
tags: [post, new, awesome]
img: cutecat.jpg
imgalt: Photo of my cute cat

---

# Lorem Ipsum

Metadata tags used:

tag used for
title post or page title
date publication date - mandatory for posts
descr page or post description
tags tags for the post
img filename of a picture uploaded in static/pictures
imgalt alt property for picture (required)
static static: True signifies that an article is a post, not page

Screenshot of Flask Blog

Credits: