List of release changes.
Wed Jan 05, 2014
Wed Jun 22, 2013
added youtube directive for reStructured Text, added image-gallery directive for rst using maginific-popup jquery plugin. created a pagd.rst sub-package, that contains reStructured text directives - sourcecode, youtube, gallery.
any number of google webfonts can be referenced for every blog-page.
added social-sharing feature to pagd.myblog layout. Social sharing templates are added under _templates/_social/ directory. Right now supports twitter, disqus, hackernews, reddit, linkedin, google+ and facebook. disqus.html can contain disqus plugin. And other social plugins referred by “social_sharing” configuration option has html file under _template/_social/ directoy by the same name. For Eg, if social_sharing is twitter,hn, then users must generate their plugins snippets and save them under files _templates/_social/twitter.html and _templates/_social/hn.html respectively.
social plugins also have CSS styling under myblog.css.
Integration with git and hg through IXContext interface, fetches page meta information like, author, emailid, created-date, modified date etc .. from repository.
pagd.git and pagd.hg plugins will use “day” scale while calculating last modified time for every article.
added jquery link.
moved “style”, “google_webfonts”, “copyright” out of _context.json to config.json. Felt that these attributes are more like configuration attributes than context attributes. Since templates can access the config dictionary as page.site.siteconfig, this does not cripple them.
myblog pages contain only one article.
blog pages have author-name, created-time, last-modified-time and author’s email reference. Any or all of them can be disabled through config.json.
skip_context configuration option added using config.json. Using this it is possible to restrict usage of context information from _contents/. skip_context makes context attribute refer to None.
CSS style blocks are added in media/myblog.css, meaningful comments added to myblog.css. Prefixes CSS id names with myblob- for pagd.myblog layout.
Added a helper module pagd.h to contain helper functions for tayra templates. All functions inside this module will automatically be made available under h namespace inside ttl-script.
Changed fetch() interface method for IXContext interface. Reasoning behind this is that, IXContext plugin’s fetch() method can be called for entire page or for every article for this page.
template plugins must be included under try ... except blocks to avoid crashing when they are not being used.
removed duplicate dependencies.
minor fixes in error logging and documentation
Source documentation, using sphinx, is updated.
pagd.myblog layout show email-id by default.
Wed Jun 12, 2013
Tue Jun 11, 2013