Skip to content

sakthipriyan/webgen

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Python project to generate static blog from markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages