diff options
Diffstat (limited to 'docs/creating-a-theme.txt')
| -rw-r--r-- | docs/creating-a-theme.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/creating-a-theme.txt b/docs/creating-a-theme.txt index 40a4566..220a8e7 100644 --- a/docs/creating-a-theme.txt +++ b/docs/creating-a-theme.txt @@ -1,6 +1,6 @@ .. title: Creating a Theme .. slug: creating-a-theme -.. date: 2012/03/13 12:00 +.. date: 2012-03-13 12:00:00 UTC-03:00 .. tags: .. link: .. description: @@ -107,7 +107,7 @@ The general page layout for the theme is done by the ``base.tmpl`` template, whi <li>${base.html_translations()}</li> %endif </%block> - % if not hide_sourcelink: + % if show_sourcelink: <li><%block name="sourcelink"></%block></li> %endif </ul> @@ -131,7 +131,7 @@ The general page layout for the theme is done by the ``base.tmpl`` template, whi </div> ${bootstrap.late_load_js()} ${base.html_social()} - <script type="text/javascript">jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true}); + <script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true}); $(window).on('hashchange', function(){ if (location.hash && $(location.hash)[0]) { $('body').animate({scrollTop: $(location.hash).offset().top - $('#navbar').outerHeight(true)*1.2 }, 1); @@ -193,7 +193,7 @@ Monospace is a two-column-with-footer layout, so let's copy the basics from its </div> </div> ${bootstrap.late_load_js()} - <script type="text/javascript">jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script> + <script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script> <%block name="extra_js"></%block> ${body_end} </body> |
