Permalink
Browse files

add gollum-{{format}}}-content class names to rendered wiki body divs

  • Loading branch information...
1 parent 32a33e0 commit 45a300c6bc6319da1bce1807c1acb0b885c8ae70 @technoweenie technoweenie committed Mar 10, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/gollum/frontend/templates/page.mustache
@@ -13,18 +13,18 @@
</div>
<div id="wiki-content">
<div class="wrap{{#has_footer}} has-footer{{/has_footer}}{{#has_sidebar}} has-rightbar{{/has_sidebar}}">
- <div id="wiki-body">
+ <div id="wiki-body" class="gollum-{{format}}-content">
<div id="template">
{{{content}}}
</div>
</div>
{{#has_sidebar}}
- <div id="wiki-rightbar">
+ <div id="wiki-rightbar" class="gollum-{{sidebar_format}}-content">
{{{sidebar_content}}}
</div>
{{/has_sidebar}}
{{#has_footer}}
- <div id="wiki-footer">
+ <div id="wiki-footer" class="gollum-{{footer_format}}-content">
<div id="footer-content">
{{{footer_content}}}
</div>

0 comments on commit 45a300c

Please sign in to comment.