a simple python (cherrypy) blog server.

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

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!)