A simple Blog engine using Flask and Markdown.
Project description
Blask is a blogging engine based on Flask. Blask uses Markdown syntax to create and render the contents of blog posts.
Blask uses the Jinja2 template engine to render the web templates.
To install Blask, use pip:
pip install blask
or download the source code:
git clone https://github.com/zerasul/blask/
Later, you need to create a settings.py file:
:::python
templateDir = "templates"
postDir = "posts"
defaultLayout = "template.html"
staticDir = "static"
tittle = "Blask | A Simple Blog Engine Based on Flask"
For last, to Run Blask, use the next Code:
:::import
from Blask.Blask import Blask
import settings
if __name__ == '__main__':
b = Blask(templateDir=settings.templateDir, postDir=settings.postDir
, defaultLayout=settings.defaultLayout,
staticDir=settings.staticDir, tittle=settings.tittle)
b.run()
For more information, see the Blask web page. Also, you can subscribe to our Mailing List.
Blask is Open Source under the GPL 3.0 License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Blask-0.1.0b11.tar.gz
(4.7 kB
view hashes)