LuckyCoinkydink/templates/2k15/plugin_staticpage_sidebar.tpl
Matthias Mees 79e4527163 Add new frontend theme 2k15
2k15 is basically 2k11, but up to date. Changes include:

- mobile-first CSS
- toggle-style smallscreen nav instead of select menu
- different choice of webfonts
- updated JS assets
- removed some JS cruft (plugins that are no longer necessary)
- reduced visual style (no, it's NOT 'flat design'!)
- simplified layout (number of columns depends on resolution)
- reduced theme options

Note: 2k15 is NOT compatible with the 2k11 user.css generator.
Currently, there is no 2k15 user.css generator. I don't intend
on building one at the moment.

Also note that I do NOT suggest 2k15 should replace 2k11 as the
default or standard theme in s9y.
2015-02-10 12:18:51 +01:00

22 lines
836 B
Smarty

{if !empty($staticpage_jsStr)}
<div class="staticpage_sbJsList">
{$staticpage_jsStr}
</div>
{/if}
{if !$staticpage_jsStr or empty($staticpage_jsStr)}
<ul class="plainList">
{if $frontpage_path}
<li><a href="{$frontpage_path}">{$CONST.PLUGIN_STATICPAGELIST_FRONTPAGE_LINKNAME}</a></li>
{/if}
{if is_array($staticpage_listContent) and !empty($staticpage_listContent)}
{foreach name="pageList" from=$staticpage_listContent item="pageList"}
{if !empty($pageList.permalink)}
<li class="depth_{$pageList.depth}"><a href="{$pageList.permalink}" title="{$pageList.pagetitle}">{$pageList.headline|truncate:20:"..."}</a></li>
{else}
<li class="depth_{$pageList.depth}">{$pageList.headline|truncate:20:"..."}</li>
{/if}
{/foreach}
{/if}
</ul>
{/if}