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.
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
6 years ago
|
extends frame
|
||
|
block main-content
|
||
|
section.content#bm-content
|
||
|
header.columns#header
|
||
|
#header-one.column
|
||
|
label#the-title
|
||
|
a(href="/") thetwelfthhouse
|
||
|
#header-two.column
|
||
|
| Fipamo means to save.
|
||
|
#bookmark-display
|
||
|
.bookmark-list#bookmark-list
|
||
|
- var index = 0;
|
||
|
- for ( index; index < items.length; index++)
|
||
|
.bookmark-entry(id=items[index]._id style="background-image:url("+items[index].image+")")
|
||
|
a(target='_blank' href= items[index].url)
|
||
|
.bookmark-info#bookmark-info
|
||
|
- var bmlabel = items[index].title
|
||
|
if bmlabel == "" || bmlabel == null
|
||
|
- bmlabel = items[index].url
|
||
|
label= bmlabel
|
||
|
|
||
|
#paginate-control
|
||
|
#paginate
|
||
|
- var prev = page_index-1
|
||
|
if prev < 1
|
||
|
- prev = page_count
|
||
|
- var next = ++page_index
|
||
|
if next > page_count
|
||
|
- next = 1
|
||
|
a(href="/fipamo/"+prev)
|
||
|
i.fa.fa-chevron-left.fa-2x
|
||
|
label= "Page "+String(page_index-1)+" of "+page_count
|
||
|
a(href="/fipamo/"+next)
|
||
|
i.fa.fa-chevron-right.fa-2x
|
||
|
|
||
|
|