staticjinja

Minimalist Python library for building static sites w/ Jinja2

Github星跟蹤圖

staticjinja

.. image:: https://badge.fury.io/py/staticjinja.png
:target: http://badge.fury.io/py/staticjinja

.. image:: https://travis-ci.org/Ceasar/staticjinja.svg
:target: https://travis-ci.org/Ceasar/staticjinja

staticjinja is a library that makes it easy to build static sites using
Jinja2_.

Many static site generators are complex, with long manuals and unnecessary
features. But using template engines to build static websites is really useful.

staticjinja is designed to be lightweight (under 500 lines of source code),
and to be easy to use, learn, and extend, enabling you to focus on making your
site.

.. code-block:: bash

$ mkdir templates
$ vim templates/index.html
$ staticjinja watch
Building index.html...
Templates built.
Watching 'templates' for changes...
Press Ctrl+C to stop.

Installation

To install staticjinja, simply:

.. code-block:: bash

$ pip install staticjinja

Documentation

Documentation is available at
http://staticjinja.readthedocs.org/en/latest/.

Contribute

#. Check for open issues or open a fresh issue to start a discussion
around a feature idea or a bug.
#. Fork the repository_ on GitHub to start making your changes to
the master branch (or branch off of it).
#. Send a pull request and bug the maintainer until it gets merged and
published. :) Make sure to add yourself to AUTHORS_.

.. _the repository: https://github.com/Ceasar/staticjinja
.. _AUTHORS: https://github.com/Ceasar/staticjinja/blob/master/AUTHORS.rst
.. _Jinja2: http://jinja.pocoo.org/

主要指標

概覽
名稱與所有者staticjinja/staticjinja
主編程語言Python
編程語言Makefile (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2012-09-21 16:07:27
推送於2024-03-04 13:48:04
最后一次提交
發布數27
最新版本名稱5.0.0 (發布於 )
第一版名稱0.0.7 (發布於 )
用户参与
星數324
關注者數11
派生數50
提交數388
已啟用問題?
問題數64
打開的問題數5
拉請求數97
打開的拉請求數5
關閉的拉請求數34
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?