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.
22 lines
840 B
Plaintext
22 lines
840 B
Plaintext
4 years ago
|
extends frame
|
||
|
|
||
|
block main-content
|
||
|
section
|
||
|
.page-title
|
||
|
span Archive
|
||
|
article
|
||
|
.page
|
||
|
- var index = 0;
|
||
|
- for ( index; index < archives.length; index++)
|
||
|
.archive-item
|
||
|
span.year= archives[index].year
|
||
|
- var i = 0;
|
||
|
- for (i; i < archives[index].year_data.length; i++)
|
||
|
- var data = archives[index].year_data[i];
|
||
|
.archive-month
|
||
|
span.month= data.full_month
|
||
|
- var x = 0;
|
||
|
- for (x; x < data.pages.length; x++)
|
||
|
-var page = data.pages[x];
|
||
|
a(href='/'+archives[index].year+"/"+data.month+"/"+page.metadata.slug)= page.metadata.title
|
||
|
br
|