LuckyCoinkydink/templates/2k15/entries_archives.tpl
Matthias Mees 2d90abe4d3 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:28:08 +01:00

21 lines
873 B
Smarty

{serendipity_hookPlugin hook="entries_header"}
<article id="archives" class="clearfix">
<h2>{$CONST.ARCHIVES}</h2>
{foreach from=$archives item="archive"}
<section class="{cycle values="odd,even"}">
<h3>{$archive.year}</h3>
<ul class="year">
{foreach from=$archive.months item="month"}
<li class="month">
<span class="date">{if $month.entry_count}<a href="{$month.link}" title="{$CONST.VIEW_FULL}">{/if}{$month.date|@formatTime:"%B"}{if $month.entry_count}</a>{/if}:</span>
<span class="count">{if $month.entry_count}<a href="{$month.link_summary}" title="{$CONST.VIEW_TOPICS}">{/if}{$month.entry_count} {$CONST.ENTRIES}{if $month.entry_count}</a>{/if}</span>
</li>
{/foreach}
</ul>
</section>
{/foreach}
</article>
{serendipity_hookPlugin hook="entries_footer"}