Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
/ DrunkenBlog Public archive

A blog based on Tornado 4.2 and Python 3.4. Still under development.

License

Notifications You must be signed in to change notification settings

SilverBut/DrunkenBlog

Repository files navigation

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

About

A blog based on Tornado 4.2 and Python 3.4. Still under development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published