post.html

The post.html file is used to generate the HTML for each post. Unlike the interface.html template, post.html takes a more free-form approach to tags. This file uses no predefined tags at all. Instead, any pyBlog tags are insert tags with a value of the title of an input field that you specified in your input.conf file. So, for instance, if you have a weather field for your posts, just put a <!--pyBlog insert/ weather--> tag in your post.html template where you would like that field info substituted.

If you don't use all your form fields in your post there are no reprocussions since they just simply won't be substituted for anything. And if you have a tag for something that is not used there are no side-effects either because the insert tag will just be left in the post; since pyBlog tags are just HTML comment tags there are no adverse affects.

pyBlog 1.0; 2001-09-02