Python project to generate static blog from markdown
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
config.json
generator.py
models.py
source.py
webgen.py

README.md

static-web

Python project to generate static websites from markdown

#Goals

Create simple blog generator from markdown size. Blog will have following pages.

a) Home page

b) Blog page

c) Calendar page (Yearly list of blog pages)

d) Tags page (List of tags used across the blog pages)

e) List page (To list blog pages by date, tags,etc.,)

##Extension

.md For all public files .draft.md For all draft versions

##Configuration

{
  "base_dir" : "/home/sakthipriyan/ws/blog/sakthipriyan.com",
  "web_copy" : ["css", "fonts", "img", "js"],

  "gen_draft" : true,

  "html" : {
    "css" : [
      "bootstrap.min.css",
      "font-awesome.min.css",
      "highlight-github.min.css",
      "main.css"
    ],
    "js" : [
      "bootstrap.min.js",
      "highlight.min.js",
      "jquery-1.11.2.min.js",
      "main.js"
    ]
  }
}

Config Description
base_dir base directory of the website repo
web_copy Folders to be copied in the generated websites
gen_draft set to true if draft files has to be included in website generation
html.css CSS files from css folder that will be inculded in header
html.js Javascript files that would be added in each page