-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.clj
146 lines (129 loc) · 5.13 KB
/
_config.clj
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
;; directory setting
:public-dir "public/"
:tag-out-dir "blog/tag/"
:template-dir "template/"
:post-dir "posts/"
:layout-dir "layouts/"
;; posts and tags url setting
;; default value: "/"
;; ex)
;; "/" => "/YYYY-MM/POST.html"
;; "/foo" => "/foo/YYYY-MM/POST.html"
:url-base "/"
:blog-base "blog"
;; dev server port
;; default value: 8080
:port 8080
;; site language
;; default value: "en"
:lang "en"
;; default site data
:site {:atom-base "http://kevinlitwack.com"
:charset "utf-8"
:blog-title "Evolving Ideas"
:site-title "Kevin Litwack"
:twitter "KevinLitwack"
:css ["http://fonts.googleapis.com/css?family=Josefin+Sans"
"/css/buttons/social-icons.css"
"/css/font-awesome.min.css"
"/css/bootstrap.min.css"
"/css/jslider.css"
"/css/settings.css"
"/css/jquery.fancybox.css"
"/css/animate.css"
"/css/video-js.min.css"
"/css/morris.css"
"/css/royalslider/royalslider.css"
"/css/royalslider/skins/minimal-white/rs-minimal-white.css"
"/css/layerslider/layerslider.css"
"/css/ladda.min.css"
"/css/style.css"
"/css/responsive.css"
"/css/customizer/pages.css"
"/css/customizer/home-pages-customizer.css"]
:device-css []
:js ["http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"
"js/bootstrap.min.js"
"js/jquery.carouFredSel-6.2.1-packed.js"
"js/jquery.touchSwipe.min.js"
"js/jquery.elevateZoom-3.0.8.min.js"
"js/jquery.imagesloaded.min.js"
"js/jquery.appear.js"
"js/jquery.sparkline.min.js"
"js/jquery.easypiechart.min.js"
"js/jquery.easing.1.3.js"
"js/jquery.fancybox.pack.js"
"js/isotope.pkgd.min.js"
"js/jquery.knob.js"
"js/jquery.stellar.min.js"
"js/jquery.selectBox.min.js"
"js/jquery.royalslider.min.js"
"js/jquery.tubular.1.0.js"
"js/country.js"
"js/spin.min.js"
"js/ladda.min.js"
"js/masonry.pkgd.min.js"
"js/morris.min.js"
"js/raphael.min.js"
"js/video.js"
"js/pixastic.custom.js"
"js/livicons-1.3.min.js"
"js/layerslider/greensock.js"
"js/layerslider/layerslider.transitions.js"
"js/layerslider/layerslider.kreaturamedia.jquery.js"
"js/revolution/jquery.themepunch.plugins.min.js"
"js/revolution/jquery.themepunch.revolution.min.js"
"js/main.js"]}
;; post file compile hook
:compile-with-post ["blog/index.html.clj" "blog/tags.html.clj" "atom.xml.clj"]
;; tag setting
:tag-layout "tag"
;; post setting
;; default value: #"(\d{4})[-_](\d{1,2})[-_](\d{1,2})[-_](.+)$"
:post-filename-regexp #"(\d{4})[-_](\d{1,2})[-_](\d{1,2})[-_](.+)$"
:post-filename-format "$(year)-$(month)/$(filename)"
;; post sort type (:date :name :title :date-desc :name-desc :title-desc)
;; default value: :date-desc
:post-sort-type :date-desc
;; regexp to detect index template
;; default value: #"^index\."
:index-template-regexp #"^index\.html\.clj$"
;; post number per page
;; default value: nil (disabled pagination)
:posts-per-page 5
;; filename format to generate index file with pagination
;; default value: "page$(page)/$(filename)"
:page-filename-format "blog/page$(page)/$(filename)"
;; clojurescript compile options
;; src-dir base is `:template-dir`
;; output-dir base is `:public-dir`
;:cljs {:src-dir "cljs"
; :output-to "js/main.js"
; :optimizations :whitespace
; :pretty-print true}
;; highlight setting
:code-highlight {:CLJ "lang-clj", :CLOJURE "lang-clj"}
;; flag for detailed log
;; default value: false
:detailed-log true;false
;; flag for error notification
;; default value: false
:notify? false
;; notify setting(OPTIONAL)
:notify-setting {;; title for fixing notification
;; default value: "$(filename)"
:fixed-title "$(filename)"
;; message for fixing notication
;; default value: "FIXED"
:fixed "FIXED"
;; title for failing notification
;; default value: "$(filename) : $(line)"
:failed-title "$(filename) : $(line)"
;; message for failing notification
;; default value: $(message)
:failed "$(message)"}
;; compiler setting
;; default value: "default"
:compiler "default"
}