Metadata-Version: 2.0
Name: Blask
Version: 0.1.0b11
Summary: A simple Blog engine using Flask and Markdown.
Home-page: https://getblask.com
Author: zerasul
Author-email: zerasul@gmail.com
License: GPL 3.0
Description-Content-Type: text/markdown
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3
Requires-Dist: Pygments
Requires-Dist: flask
Requires-Dist: markdown
Requires-Dist: markdown-full-yaml-metadata


BLASK
=====


.. image:: https://travis-ci.org/zerasul/blask.svg?branch=master
   :target: https://travis-ci.org/zerasul/blask
   :alt: Build Status

.. image:: https://coveralls.io/repos/github/zerasul/blask/badge.svg?branch=master
   :target: https://coveralls.io/github/zerasul/blask?branch=master
   :alt: Coverage Status

.. image:: https://sonarcloud.io/api/project_badges/measure?project=blask-project-key&metric=alert_status
   :target: https://sonarcloud.io/dashboard?id=blask-project-key
   :alt: sonarcloud-quality-gate

.. image:: https://badge.fury.io/py/Blask.svg
   :target: https://badge.fury.io/py/Blask
   :alt: PyPI version


Blask is a blogging engine based on `Flask <http://flask.pocoo.org/>`_. 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:

.. code-block::

   :::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:

.. code-block::

   :::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 <http://getblask.com/>`_. Also, you can subscribe to our `Mailing List <https://www.freelists.org/archive/blask_mail_list>`_.

----

Blask is Open Source under the `GPL 3.0 <LICENSE>`_ License


