Skip to content
A blog based on Tornado 4.2 and Python 3.4. Still under development.
Python HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controller
extends/gfm
static
template
util
.gitignore
LICENSE
README.md
config.ini.sample
main.py
motto.txt.sample
requirements.txt

README.md

DrunkenBlog

Drunken is a simple blog structure following Apache license. It synchronously updates with Silver's Blog. The blog is based on Python, and use Markdown as its source.

The blog is still under development now.

Legal Statement

Copyright of this repo belongs to Silver.

Unless otherwise stated, you are requested to follow GPLv3 to use code in this repo.

The following related parts are NOT allowed to use this code, unless a statement is signed and published by the author:

ANY POSSIBLE actions will be committed if this statement had been violated.

Blog Structure

Based on Markdown files to format the article, and use simple file storage techs to save the markdown file. A built-in render is used to convert markdown files to rendered HTML parts and meta infos. Use Disqus as the comment tool.

Functions

  • Simple templates
  • Article list(sort by date and time)
  • Article pages and special pages
  • Disqus comment

Directory List

\-                            # root folder
 |--main.py                      # main script
 |--config.ini.sample           # Example config file
 |--config.ini                  # config file
 |--template                     # template folder
 |--static                       # static file folder, such as .css or err htmls
 |--documents                    # where *.md exists
 |--controller                   # will be used to handle requests
 |--extends                      # plugins and extend modules
 |--util                         # function modules such as renderer

How to load config

CMDLine > Config File > Default Settings

You can’t perform that action at this time.