- Static pages
- Static posts
- Static categories
- Static archives
- Static about
- Static search
- Static 404
- Static sitemap
- Static rss
- Static robots
- Static favicon
- Static assets
- Static comments
- Clone the repository
- Install the requirements with
pip install -r requirements.txt
This is a simple blog generator that uses markdown files to generate static pages. It is written in Python and uses the Flask framework.
Posts are written in markdown and are stored in the posts directory. The filename should be in the format YYYY-MM-DD-post-title.md. The first line of the file should be the title of the post. The rest of the file is the content of the post.
Pages are written in markdown and are stored in the pages directory. The filename should be the title of the page. The first line of the file should be the title of the page. The rest of the file is the content of the page.
Templates are stored in the templates directory. The base.html template is the base template that all other templates inherit from. The index.html template is the template for the index page. The page.html template is the template for pages. The post.html template is the template for posts.
Static files are stored in the static directory. The css directory is for CSS files. The img directory is for image files. The js directory is for JavaScript files.