A lightweight FCGI blog written in python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pylog/pylog_config.py

52 lines
1.7 KiB

title = 'PyLog'
# Title displayed on the browser window/tab
blogtitle= 'Plog'
# The blog's title
subtitle=u'produced py Powertomato \xb0\u0DF4\xb0'
# The text to be displayed under the blog title
header="""
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="source.css" />
<script src="gallery.js"></script>
"""
# This header will be printed in the <head> section of the html file
footer=""
# This footer will be printed at the end of the <body> tag
datefmt='%Y-%m-%d'
# format of the date which is displayed next to the entry
# See pythons manual reference for time.strptime for details
contentdir="cnt"
# directory where the content is located
numofposts=5
# number of previews on the base site
numfeed=5
# number of entries in the feed
topurl="http://89.22.98.13/pylog/"
# The URL which specifies the scripts location
# if someone knows how to obtain it using CGI
# please let me know
encoding="utf-8"
# The content files should be encoded using this
# format. See manual reference for codecs.open for
# details
content_format="html5"
# The content-format generated by the markdown-library
markdown_extensions = ['math','gallery','extra','codehilite(guess_lang=False)',]
# Markdown extensions:
# math .......... rich subset of latex formulas between $$ c^2=a^2+b^2 $$
# gallery ....... galleries support:
# !(alt-text)[[path/to/img1.png path/to/img2.png path/to/img3.png]]
# tables ........ adds tables support
# footnots ...... adds footnotes/references support
# codehilite .... http://freewisdom.org/projects/python-markdown/CodeHilite
# -- more at http://packages.python.org/Markdown/extensions/index.html --