mirror of
https://github.com/arsenetar/pelican-red.git
synced 2026-01-23 15:11:38 +00:00
Initial release version of templates
The templates in this commit are now in RC form. Everything but the article templates are ready. Changes include ( no limited to ): - Update stylesheet - Add method in app.js to handle images in documents - Create _author_item.html to display author information and vcard - Update _disqus.html to fit in with site style - Update _page_footer.html for translation support - Add _pagination.html for pagination support - Add _translations.html for translation listing support - Minor updates to archives.html, tags.html - Update base.html to have more flexibility - Update authors.html and author.html to display information - Update category.html and categories.html to use the _list_item.html - Update page translation support + misc - Update tag.html to use _list_item.html
This commit is contained in:
@@ -13,6 +13,11 @@ yepnope.errorTimeout = 3000; // set 3 second error timeout instead of 10
|
||||
function ready(){
|
||||
// Hack to fix .codehilitetable overflow
|
||||
$('.codehilitetable').wrap('<div class="codehilitewrapper">');
|
||||
// Hack to make images more responsive and wrap with .th class
|
||||
$('#main article img').each( function() {
|
||||
$(this).css({'height': '', 'width': ''});
|
||||
$(this).wrap('<a class="th" href="'+$(this).attr('src')+'" style="max-width:'+this.naturalWidth+'px">');
|
||||
});
|
||||
};
|
||||
|
||||
// zeptojs or jquery
|
||||
|
||||
Reference in New Issue
Block a user