mirror of https://github.com/openresty/openresty
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
643 B
C
28 lines
643 B
C
<ul class="module-list">
|
|
[% FOREACH archive IN archives -%]
|
|
<li class="module-list-item">
|
|
[%- index = archive.month %]
|
|
<a href="#archive/[% archive.year %]/[% archive.month %]">[% months.$index %] [% archive.year %] ([% archive.count %])</a>
|
|
</li>
|
|
[% END -%]
|
|
</ul>
|
|
|
|
<p class="module-more">
|
|
|
|
[% IF offset > 0 %]
|
|
<a href="javascript:getArchiveList([% offset - count %])"><<</a>
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
|
[% IF archives.size == count %]
|
|
<a id="more-archives" href="javascript:getArchiveList([% offset + count %]);">
|
|
Next...
|
|
</a>
|
|
[% END %]
|
|
|
|
</p>
|
|
|