-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.jade
39 lines (38 loc) · 1.24 KB
/
base.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
html
head
+h.headers()
block title
title= request.args.s or post.title or tags.join('+') or category.title or site.title
+h.load('//cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css')
+h.load('/template/static/basic.scss /template/static/style.scss')
body
header#header
.header_container
h1.sitetitle
a(href='/',title=site.title)=site.title
nav.navbar
ul
li
a(href="/") Home
li
a(href='/archive') Archive
if site.tags
li
a(href='/tags') Tags
pages = get_data(type="post", status="page", limit=3,with_page=False)
for page in pages
li
a(href='/'+page.url_path)= page.title
li
a(href="/feed") RSS
main#main
block content
footer#footer
p
span= '© %s '%site.now.year
a(href="/", title=site.title)= site.title
span= "Powered By "
a(rel="nofollow", target="_blank", href="https://bitcron.com/?s=f")= 'Bitcron.com'
span= "Design by "
a(rel="nofollow", target="_blank", href="https://github.com/imsuwj/bitcron-mixedpaper")= 'WayJam'
+h.back_to_top(label="<svg viewBox='0 0 24 24'><path fill='none' d='M0 0h24v24H0z'></path><path d='M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71z'></path></svg>")