Skip to content

c0d33py/blog

Repository files navigation

Dango Portable blog with static pages and posts

Features

  • 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

Installation

  1. Clone the repository
  2. Install the requirements with pip install -r requirements.txt

Usage

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

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

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

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

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published