mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
checked in mising files in the blog demo.
This commit is contained in:
16
demo/Blog/template/elem/archive-nav.tt
Normal file
16
demo/Blog/template/elem/archive-nav.tt
Normal file
@ -0,0 +1,16 @@
|
||||
[% IF next %]
|
||||
[%- index = next.month %]
|
||||
<a href="#archive/[% next.year %]/[% next.month %]">
|
||||
« [% months.$index %] [% next.year %]
|
||||
</a>
|
||||
[% END %]
|
||||
|
|
||||
<a href="#posts/1"> Main </a>
|
||||
|
|
||||
[% IF prev %]
|
||||
[%- index = prev.month %]
|
||||
<a href="#archive/[% prev.year %]/[% prev.month %]">
|
||||
[% months.$index %] [% prev.year %] »
|
||||
</a>
|
||||
[% END %]
|
||||
|
Reference in New Issue
Block a user