-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbase.jade
42 lines (35 loc) · 966 Bytes
/
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
40
41
html
head
+h.headers
block title
title= post.title or site.title
+load('font')
+h.load('markdown')
+h.load('animation')
+load('/template/css/style.scss')
body
.main.animated
.header.animated.fadeInDown
.site_title_container
.site_title
+font(site.configs.site_title_font or "hanazono")
if site.title.length > 6
a_class = 'long_long'
elif site.title.length > 4
a_class = 'long'
else
a_class = ''
h1
a(class=a_class, href='/')= site.title
.description
p.sub_title= site.configs.sub_title
+site.socials
block content
.footer
+site.nav
.powered_by
a(href="https://www.caicai.me") Designed by CaiCai,
a(href="https://www.bitcron.com", target="_blank") Proudly published with Bitcron!
.footer_slogan
+font(site.configs.footer_slogan_font or "hanazono")
span= site.configs.footer_slogan or '重拾写作的乐趣'