a simple python (cherrypy) blog server.

bsimjoo a77ef6ecbe به روزرسانی license.md 4 년 전
posts 3f258c0c33 First release 4 년 전
Configuration.py 3f258c0c33 First release 4 년 전
HomePage.html 3f258c0c33 First release 4 년 전
README.md 3f258c0c33 First release 4 년 전
license.md a77ef6ecbe به روزرسانی license.md 4 년 전
server.py 3f258c0c33 First release 4 년 전

README.md

Blogger

This is a simple python blog server using cherrypy.

variables:

You can use variables in html template like this [::variable name] and also you can change variables value in configuration

foreach:

You can create repeatable template codes for posts and any other things like this:

[::foreach post]
<div class="post">
    <h1 class="header">
        [::header]
    </h1>
    <div class='postContent'>
        [::content]
    </div>
</div>
[::end]

foreach syntax: [::foreach source] in server codes source must return a dictionary of variables. (for more information see source code!)