Created
May 13, 2015 00:59
-
-
Save M-Drummond/0d071da61e4c36d3511b to your computer and use it in GitHub Desktop.
From http://wiki.mdz.com.au/index.php?title=Homepage_Specific_Class Adding body/class tags for various dispatches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body id="{$runtime.controller}" class="{$runtime.mode}{if $runtime.controller=='categories'} category{$smarty.request.category_id}{/if}{if $runtime.controller=='pages'} page{$smarty.request.page_id}{/if}"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment