jekyll-theme-type-on-strap 8.0.0 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +18 -242
- data/LICENSE +0 -21
- data/README.md +0 -432
- data/_data/language.yml +0 -13
- data/_includes/blog.html +0 -34
- data/_includes/blog_nav.html +0 -42
- data/_includes/disqus.html +0 -10
- data/_includes/footer.html +0 -13
- data/_includes/gallery.html +0 -23
- data/_includes/head.html +0 -65
- data/_includes/icons.html +0 -252
- data/_includes/navbar.html +0 -41
- data/_includes/portfolio.html +0 -16
- data/_includes/post_info.html +0 -13
- data/_includes/post_nav.html +0 -19
- data/_includes/share_buttons.html +0 -69
- data/_includes/tags_list.html +0 -23
- data/_layouts/custom.html +0 -35
- data/_layouts/default.html +0 -11
- data/_layouts/home.html +0 -15
- data/_layouts/page.html +0 -31
- data/_layouts/post.html +0 -58
- data/_layouts/search.html +0 -27
- data/_layouts/tags.html +0 -98
- data/_sass/base/_global.scss +0 -229
- data/_sass/base/_utility.scss +0 -96
- data/_sass/base/_variables.scss +0 -79
- data/_sass/external/_font-awesome.scss +0 -17
- data/_sass/external/_katex.scss +0 -1010
- data/_sass/external/_pacifico.scss +0 -17
- data/_sass/external/_reset.scss +0 -427
- data/_sass/external/_source-sans-pro.scss +0 -45
- data/_sass/external/_syntax.scss +0 -188
- data/_sass/external/font-awesome/_animated.scss +0 -34
- data/_sass/external/font-awesome/_bordered-pulled.scss +0 -25
- data/_sass/external/font-awesome/_core.scss +0 -12
- data/_sass/external/font-awesome/_fixed-width.scss +0 -6
- data/_sass/external/font-awesome/_icons.scss +0 -789
- data/_sass/external/font-awesome/_larger.scss +0 -13
- data/_sass/external/font-awesome/_list.scss +0 -19
- data/_sass/external/font-awesome/_mixins.scss +0 -60
- data/_sass/external/font-awesome/_path.scss +0 -16
- data/_sass/external/font-awesome/_rotated-flipped.scss +0 -20
- data/_sass/external/font-awesome/_screen-reader.scss +0 -5
- data/_sass/external/font-awesome/_stacked.scss +0 -20
- data/_sass/external/font-awesome/_variables.scss +0 -800
- data/_sass/external/font-awesome/font-awesome.scss +0 -17
- data/_sass/includes/_blog_nav.scss +0 -48
- data/_sass/includes/_footer.scss +0 -23
- data/_sass/includes/_grid.scss +0 -48
- data/_sass/includes/_navbar.scss +0 -152
- data/_sass/includes/_portfolio.scss +0 -53
- data/_sass/includes/_post_nav.scss +0 -33
- data/_sass/includes/_share_buttons.scss +0 -30
- data/_sass/layouts/_blog.scss +0 -103
- data/_sass/layouts/_page.scss +0 -12
- data/_sass/layouts/_posts.scss +0 -128
- data/_sass/layouts/_search.scss +0 -55
- data/_sass/layouts/_tags.scss +0 -58
- data/_sass/type-on-strap.scss +0 -26
- data/assets/css/bootstrap-iso.less +0 -12
- data/assets/css/main.scss +0 -4
- data/assets/css/vendor/bootstrap-iso.css +0 -9151
- data/assets/css/vendor/bootstrap-iso.min.css +0 -6
- data/assets/css/vendor/bootstrap.css +0 -10037
- data/assets/data/search.json +0 -29
- data/assets/fonts/Pacifico/Pacifico.eot +0 -0
- data/assets/fonts/Pacifico/Pacifico.svg +0 -10833
- data/assets/fonts/Pacifico/Pacifico.ttf +0 -0
- data/assets/fonts/Pacifico/Pacifico.woff +0 -0
- data/assets/fonts/Pacifico/Pacifico.woff2 +0 -0
- data/assets/fonts/Pacifico/original-pacifico-regular.ttf +0 -0
- data/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.svg +0 -2671
- data/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.woff +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.woff +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.woff +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/fonts/source-sans-pro/source-sans-pro-bold-italic.woff2 +0 -0
- data/assets/fonts/source-sans-pro/source-sans-pro-bold.woff2 +0 -0
- data/assets/fonts/source-sans-pro/source-sans-pro-italic.woff2 +0 -0
- data/assets/fonts/source-sans-pro/source-sans-pro-regular.woff2 +0 -0
- data/assets/js/main.min.js +0 -1
- data/assets/js/partials/katex_init.js +0 -28
- data/assets/js/partials/masonry_init.js +0 -22
- data/assets/js/partials/navbar.js +0 -23
- data/assets/js/vendor/imagesloaded.min.js +0 -7
- data/assets/js/vendor/katex.min.js +0 -1
- data/assets/js/vendor/masonry.pkgd.min.js +0 -9
- data/assets/js/vendor/simple-jekyll-search.min.js +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bc1be58a5caa6f29cd1e01fb1622878181f678cbcd199faa94023222ec4c377
|
4
|
+
data.tar.gz: a54d82a4f53c570dba06ed17a247c873f36b4247746a3d2c31535c510babf3e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e840287f62fe63fcf11cd45b13dcad5fb877eceb06854be44ac72bc74cc349d28258fa938190ccbf2b8cd90f39c02fcfe1352481c83fca452c94e5f475998fd3
|
7
|
+
data.tar.gz: d3587373c43a42608b4780c68f4516f407cae4dffd52dfdf715786a8032a2ae4ca435043878e1a60e6dfc18936751ceef4e575e1b96dba3796b2cd25f476d0dd
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-type-on-strap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylhare
|
@@ -9,90 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-09-
|
12
|
+
date: 2019-09-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: type-on-strap
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 1.4.0
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '3'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
30
|
+
version: 1.4.0
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: jekyll-feed
|
36
|
-
requirement: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.9'
|
41
|
-
type: :runtime
|
42
|
-
prerelease: false
|
43
|
-
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.9'
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: jekyll-paginate
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.1'
|
55
|
-
type: :runtime
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.1'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: jekyll-seo-tag
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '2.6'
|
69
|
-
type: :runtime
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2.6'
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: bundler
|
78
|
-
requirement: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.12'
|
83
|
-
- - "<"
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 2.1.0
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
requirements:
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '1.12'
|
93
|
-
- - "<"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: 2.1.0
|
33
|
+
version: '3'
|
96
34
|
description: Deprecated, please use 'type-on-strap' instead. A custom Type Theme template
|
97
35
|
(a free and open-source Jekyll theme). Great for blogs, easy to customize and responsive.
|
98
36
|
email:
|
@@ -101,183 +39,21 @@ email:
|
|
101
39
|
executables: []
|
102
40
|
extensions: []
|
103
41
|
extra_rdoc_files: []
|
104
|
-
files:
|
105
|
-
- LICENSE
|
106
|
-
- README.md
|
107
|
-
- _data/language.yml
|
108
|
-
- _includes/blog.html
|
109
|
-
- _includes/blog_nav.html
|
110
|
-
- _includes/disqus.html
|
111
|
-
- _includes/footer.html
|
112
|
-
- _includes/gallery.html
|
113
|
-
- _includes/head.html
|
114
|
-
- _includes/icons.html
|
115
|
-
- _includes/navbar.html
|
116
|
-
- _includes/portfolio.html
|
117
|
-
- _includes/post_info.html
|
118
|
-
- _includes/post_nav.html
|
119
|
-
- _includes/share_buttons.html
|
120
|
-
- _includes/tags_list.html
|
121
|
-
- _layouts/custom.html
|
122
|
-
- _layouts/default.html
|
123
|
-
- _layouts/home.html
|
124
|
-
- _layouts/page.html
|
125
|
-
- _layouts/post.html
|
126
|
-
- _layouts/search.html
|
127
|
-
- _layouts/tags.html
|
128
|
-
- _sass/base/_global.scss
|
129
|
-
- _sass/base/_utility.scss
|
130
|
-
- _sass/base/_variables.scss
|
131
|
-
- _sass/external/_font-awesome.scss
|
132
|
-
- _sass/external/_katex.scss
|
133
|
-
- _sass/external/_pacifico.scss
|
134
|
-
- _sass/external/_reset.scss
|
135
|
-
- _sass/external/_source-sans-pro.scss
|
136
|
-
- _sass/external/_syntax.scss
|
137
|
-
- _sass/external/font-awesome/_animated.scss
|
138
|
-
- _sass/external/font-awesome/_bordered-pulled.scss
|
139
|
-
- _sass/external/font-awesome/_core.scss
|
140
|
-
- _sass/external/font-awesome/_fixed-width.scss
|
141
|
-
- _sass/external/font-awesome/_icons.scss
|
142
|
-
- _sass/external/font-awesome/_larger.scss
|
143
|
-
- _sass/external/font-awesome/_list.scss
|
144
|
-
- _sass/external/font-awesome/_mixins.scss
|
145
|
-
- _sass/external/font-awesome/_path.scss
|
146
|
-
- _sass/external/font-awesome/_rotated-flipped.scss
|
147
|
-
- _sass/external/font-awesome/_screen-reader.scss
|
148
|
-
- _sass/external/font-awesome/_stacked.scss
|
149
|
-
- _sass/external/font-awesome/_variables.scss
|
150
|
-
- _sass/external/font-awesome/font-awesome.scss
|
151
|
-
- _sass/includes/_blog_nav.scss
|
152
|
-
- _sass/includes/_footer.scss
|
153
|
-
- _sass/includes/_grid.scss
|
154
|
-
- _sass/includes/_navbar.scss
|
155
|
-
- _sass/includes/_portfolio.scss
|
156
|
-
- _sass/includes/_post_nav.scss
|
157
|
-
- _sass/includes/_share_buttons.scss
|
158
|
-
- _sass/layouts/_blog.scss
|
159
|
-
- _sass/layouts/_page.scss
|
160
|
-
- _sass/layouts/_posts.scss
|
161
|
-
- _sass/layouts/_search.scss
|
162
|
-
- _sass/layouts/_tags.scss
|
163
|
-
- _sass/type-on-strap.scss
|
164
|
-
- assets/css/bootstrap-iso.less
|
165
|
-
- assets/css/main.scss
|
166
|
-
- assets/css/vendor/bootstrap-iso.css
|
167
|
-
- assets/css/vendor/bootstrap-iso.min.css
|
168
|
-
- assets/css/vendor/bootstrap.css
|
169
|
-
- assets/data/search.json
|
170
|
-
- assets/fonts/Pacifico/Pacifico.eot
|
171
|
-
- assets/fonts/Pacifico/Pacifico.svg
|
172
|
-
- assets/fonts/Pacifico/Pacifico.ttf
|
173
|
-
- assets/fonts/Pacifico/Pacifico.woff
|
174
|
-
- assets/fonts/Pacifico/Pacifico.woff2
|
175
|
-
- assets/fonts/Pacifico/original-pacifico-regular.ttf
|
176
|
-
- assets/fonts/fontawesome/FontAwesome.otf
|
177
|
-
- assets/fonts/fontawesome/fontawesome-webfont.eot
|
178
|
-
- assets/fonts/fontawesome/fontawesome-webfont.svg
|
179
|
-
- assets/fonts/fontawesome/fontawesome-webfont.ttf
|
180
|
-
- assets/fonts/fontawesome/fontawesome-webfont.woff
|
181
|
-
- assets/fonts/fontawesome/fontawesome-webfont.woff2
|
182
|
-
- assets/fonts/katex/KaTeX_AMS-Regular.eot
|
183
|
-
- assets/fonts/katex/KaTeX_AMS-Regular.ttf
|
184
|
-
- assets/fonts/katex/KaTeX_AMS-Regular.woff
|
185
|
-
- assets/fonts/katex/KaTeX_AMS-Regular.woff2
|
186
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Bold.eot
|
187
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Bold.ttf
|
188
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Bold.woff
|
189
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Bold.woff2
|
190
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Regular.eot
|
191
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Regular.ttf
|
192
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Regular.woff
|
193
|
-
- assets/fonts/katex/KaTeX_Caligraphic-Regular.woff2
|
194
|
-
- assets/fonts/katex/KaTeX_Fraktur-Bold.eot
|
195
|
-
- assets/fonts/katex/KaTeX_Fraktur-Bold.ttf
|
196
|
-
- assets/fonts/katex/KaTeX_Fraktur-Bold.woff
|
197
|
-
- assets/fonts/katex/KaTeX_Fraktur-Bold.woff2
|
198
|
-
- assets/fonts/katex/KaTeX_Fraktur-Regular.eot
|
199
|
-
- assets/fonts/katex/KaTeX_Fraktur-Regular.ttf
|
200
|
-
- assets/fonts/katex/KaTeX_Fraktur-Regular.woff
|
201
|
-
- assets/fonts/katex/KaTeX_Fraktur-Regular.woff2
|
202
|
-
- assets/fonts/katex/KaTeX_Main-Bold.eot
|
203
|
-
- assets/fonts/katex/KaTeX_Main-Bold.ttf
|
204
|
-
- assets/fonts/katex/KaTeX_Main-Bold.woff
|
205
|
-
- assets/fonts/katex/KaTeX_Main-Bold.woff2
|
206
|
-
- assets/fonts/katex/KaTeX_Main-Italic.eot
|
207
|
-
- assets/fonts/katex/KaTeX_Main-Italic.ttf
|
208
|
-
- assets/fonts/katex/KaTeX_Main-Italic.woff
|
209
|
-
- assets/fonts/katex/KaTeX_Main-Italic.woff2
|
210
|
-
- assets/fonts/katex/KaTeX_Main-Regular.eot
|
211
|
-
- assets/fonts/katex/KaTeX_Main-Regular.ttf
|
212
|
-
- assets/fonts/katex/KaTeX_Main-Regular.woff
|
213
|
-
- assets/fonts/katex/KaTeX_Main-Regular.woff2
|
214
|
-
- assets/fonts/katex/KaTeX_Math-BoldItalic.eot
|
215
|
-
- assets/fonts/katex/KaTeX_Math-BoldItalic.ttf
|
216
|
-
- assets/fonts/katex/KaTeX_Math-BoldItalic.woff
|
217
|
-
- assets/fonts/katex/KaTeX_Math-BoldItalic.woff2
|
218
|
-
- assets/fonts/katex/KaTeX_Math-Italic.eot
|
219
|
-
- assets/fonts/katex/KaTeX_Math-Italic.ttf
|
220
|
-
- assets/fonts/katex/KaTeX_Math-Italic.woff
|
221
|
-
- assets/fonts/katex/KaTeX_Math-Italic.woff2
|
222
|
-
- assets/fonts/katex/KaTeX_Math-Regular.eot
|
223
|
-
- assets/fonts/katex/KaTeX_Math-Regular.ttf
|
224
|
-
- assets/fonts/katex/KaTeX_Math-Regular.woff
|
225
|
-
- assets/fonts/katex/KaTeX_Math-Regular.woff2
|
226
|
-
- assets/fonts/katex/KaTeX_SansSerif-Bold.eot
|
227
|
-
- assets/fonts/katex/KaTeX_SansSerif-Bold.ttf
|
228
|
-
- assets/fonts/katex/KaTeX_SansSerif-Bold.woff
|
229
|
-
- assets/fonts/katex/KaTeX_SansSerif-Bold.woff2
|
230
|
-
- assets/fonts/katex/KaTeX_SansSerif-Italic.eot
|
231
|
-
- assets/fonts/katex/KaTeX_SansSerif-Italic.ttf
|
232
|
-
- assets/fonts/katex/KaTeX_SansSerif-Italic.woff
|
233
|
-
- assets/fonts/katex/KaTeX_SansSerif-Italic.woff2
|
234
|
-
- assets/fonts/katex/KaTeX_SansSerif-Regular.eot
|
235
|
-
- assets/fonts/katex/KaTeX_SansSerif-Regular.ttf
|
236
|
-
- assets/fonts/katex/KaTeX_SansSerif-Regular.woff
|
237
|
-
- assets/fonts/katex/KaTeX_SansSerif-Regular.woff2
|
238
|
-
- assets/fonts/katex/KaTeX_Script-Regular.eot
|
239
|
-
- assets/fonts/katex/KaTeX_Script-Regular.ttf
|
240
|
-
- assets/fonts/katex/KaTeX_Script-Regular.woff
|
241
|
-
- assets/fonts/katex/KaTeX_Script-Regular.woff2
|
242
|
-
- assets/fonts/katex/KaTeX_Size1-Regular.eot
|
243
|
-
- assets/fonts/katex/KaTeX_Size1-Regular.ttf
|
244
|
-
- assets/fonts/katex/KaTeX_Size1-Regular.woff
|
245
|
-
- assets/fonts/katex/KaTeX_Size1-Regular.woff2
|
246
|
-
- assets/fonts/katex/KaTeX_Size2-Regular.eot
|
247
|
-
- assets/fonts/katex/KaTeX_Size2-Regular.ttf
|
248
|
-
- assets/fonts/katex/KaTeX_Size2-Regular.woff
|
249
|
-
- assets/fonts/katex/KaTeX_Size2-Regular.woff2
|
250
|
-
- assets/fonts/katex/KaTeX_Size3-Regular.eot
|
251
|
-
- assets/fonts/katex/KaTeX_Size3-Regular.ttf
|
252
|
-
- assets/fonts/katex/KaTeX_Size3-Regular.woff
|
253
|
-
- assets/fonts/katex/KaTeX_Size3-Regular.woff2
|
254
|
-
- assets/fonts/katex/KaTeX_Size4-Regular.eot
|
255
|
-
- assets/fonts/katex/KaTeX_Size4-Regular.ttf
|
256
|
-
- assets/fonts/katex/KaTeX_Size4-Regular.woff
|
257
|
-
- assets/fonts/katex/KaTeX_Size4-Regular.woff2
|
258
|
-
- assets/fonts/katex/KaTeX_Typewriter-Regular.eot
|
259
|
-
- assets/fonts/katex/KaTeX_Typewriter-Regular.ttf
|
260
|
-
- assets/fonts/katex/KaTeX_Typewriter-Regular.woff
|
261
|
-
- assets/fonts/katex/KaTeX_Typewriter-Regular.woff2
|
262
|
-
- assets/fonts/source-sans-pro/source-sans-pro-bold-italic.woff2
|
263
|
-
- assets/fonts/source-sans-pro/source-sans-pro-bold.woff2
|
264
|
-
- assets/fonts/source-sans-pro/source-sans-pro-italic.woff2
|
265
|
-
- assets/fonts/source-sans-pro/source-sans-pro-regular.woff2
|
266
|
-
- assets/js/main.min.js
|
267
|
-
- assets/js/partials/katex_init.js
|
268
|
-
- assets/js/partials/masonry_init.js
|
269
|
-
- assets/js/partials/navbar.js
|
270
|
-
- assets/js/vendor/imagesloaded.min.js
|
271
|
-
- assets/js/vendor/katex.min.js
|
272
|
-
- assets/js/vendor/masonry.pkgd.min.js
|
273
|
-
- assets/js/vendor/simple-jekyll-search.min.js
|
42
|
+
files: []
|
274
43
|
homepage: https://github.com/sylhare/Type-on-Strap
|
275
44
|
licenses:
|
276
45
|
- MIT
|
277
46
|
metadata:
|
278
47
|
plugin_type: theme
|
279
|
-
post_install_message:
|
280
|
-
|
48
|
+
post_install_message: |
|
49
|
+
----------------------------------------------------------
|
50
|
+
Jekyll theme type on strap is deprecated:
|
51
|
+
|
52
|
+
* please use 'type-on-strap' directly.
|
53
|
+
|
54
|
+
* Try installing it with gem install type-on-strap"
|
55
|
+
or just "type-on-strap" in your gemfile
|
56
|
+
----------------------------------------------------------
|
281
57
|
rdoc_options: []
|
282
58
|
require_paths:
|
283
59
|
- lib
|
@@ -285,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
61
|
requirements:
|
286
62
|
- - ">="
|
287
63
|
- !ruby/object:Gem::Version
|
288
|
-
version: '
|
64
|
+
version: '0'
|
289
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
290
66
|
requirements:
|
291
67
|
- - ">="
|
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017 Sylhare
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
data/README.md
DELETED
@@ -1,432 +0,0 @@
|
|
1
|
-
# Type on Strap
|
2
|
-
|
3
|
-
[![Build Status](https://travis-ci.org/sylhare/Type-on-Strap.svg?branch=master)](https://travis-ci.org/sylhare/Type-on-Strap)
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/type-on-strap.svg)](https://badge.fury.io/rb/type-on-strap)
|
5
|
-
|
6
|
-
A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chandra [type-theme](https://github.com/rohanchandra/type-theme) with a few new features:
|
7
|
-
|
8
|
-
* Responsive design
|
9
|
-
* Portfolio page for your projects
|
10
|
-
* Tags compatibility
|
11
|
-
* Bootstrap : [Get Bootstrap](http://getbootstrap.com/)
|
12
|
-
* Search feature : [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)
|
13
|
-
* Math Rendering : [KateX](https://github.com/Khan/KaTeX)
|
14
|
-
* Nice fonts : [Font Awesome](https://fontawesome.com/), [Source Sans Pro](https://fonts.google.com/specimen/Source+Sans+Pro), [Pacifico](https://fonts.google.com/specimen/Pacifico?selection.family=Pacifico)
|
15
|
-
* Seo Tags : [Jekyll-seo-tag](https://help.github.com/articles/search-engine-optimization-for-github-pages/)
|
16
|
-
* Syntax Highlighting: Easily customisable [Base16](https://github.com/chriskempson/base16)
|
17
|
-
* Free of rights images from [pexels](https://www.pexels.com/)
|
18
|
-
|
19
|
-
> [Demo](https://sylhare.github.io/Type-on-Strap/)
|
20
|
-
|
21
|
-
[![Default Type on Strap blog](https://github.com/Sylhare/Type-on-Strap/blob/master/screenshot.png?raw=true)](https://sylhare.github.io/Type-on-Strap/)
|
22
|
-
|
23
|
-
## Table of Contents
|
24
|
-
|
25
|
-
1. [Usage](https://github.com/Sylhare/Type-on-Strap#Usage)
|
26
|
-
2. [Structure](https://github.com/Sylhare/Type-on-Strap#structure)
|
27
|
-
3. [Configure Type on Strap](https://github.com/Sylhare/Type-on-Strap#configure-type-on-strap)
|
28
|
-
4. [Layout](https://github.com/Sylhare/Type-on-Strap#layout)
|
29
|
-
5. [Feature pages](https://github.com/Sylhare/Type-on-Strap#feature-pages)
|
30
|
-
6. [Template as a Gem](https://github.com/Sylhare/Type-on-Strap#Template-as-a-Gem)
|
31
|
-
7. [Advanced](https://github.com/Sylhare/Type-on-Strap#advanced)
|
32
|
-
8. [License](https://github.com/Sylhare/Type-on-Strap#license)
|
33
|
-
|
34
|
-
## Usage
|
35
|
-
|
36
|
-
1. Fork and clone the [Type on Strap repo](https://github.com/sylhare/Type-On-Strap): `git clone https://github.com/Sylhare/Type-on-Strap.git`
|
37
|
-
2. Install [Jekyll](https://jekyllrb.com/docs/installation/): `gem install jekyll`, check [#1](https://github.com/Sylhare/Type-on-Strap/issues/1) if you have a problem.
|
38
|
-
3. Install the theme's dependencies: `bundle install`
|
39
|
-
4. Customize the theme
|
40
|
-
- Github Page: [update `_config.yml`](https://github.com/Sylhare/Type-on-Strap#site-configuration)
|
41
|
-
5. Run the Jekyll server: `jekyll serve`
|
42
|
-
|
43
|
-
## Structure
|
44
|
-
|
45
|
-
Here are the main files of the template
|
46
|
-
|
47
|
-
```bash
|
48
|
-
jekyll-theme-basically-basic
|
49
|
-
├── _draft # To store your drafts, they won't be published on your site
|
50
|
-
├── _includes # theme includes
|
51
|
-
├── _layouts # theme layouts (see below for details)
|
52
|
-
├── _portfolio # collection of article to be populated in the portfolio page
|
53
|
-
├── _posts # Blog posts
|
54
|
-
├── _sass # Sass partials
|
55
|
-
├── assets
|
56
|
-
| ├── js # theme javascript, Katex, jquery, bootstrap, jekyll search,
|
57
|
-
| ├── css # isolated Bootstrap, font-awesome, katex and main css
|
58
|
-
| ├── fonts # Font-Awesome, and other fonts
|
59
|
-
| └── img # Images used for the template
|
60
|
-
├── pages
|
61
|
-
| ├── 404.md # To be displayed when url is wrong
|
62
|
-
| ├── about.md # About example page
|
63
|
-
| ├── gallery.md # Gallery page for your photos
|
64
|
-
| ├── portfolio.md # Portfolio page for your projects
|
65
|
-
| ├── search.html # Search page
|
66
|
-
| └── tags.md # The tag page
|
67
|
-
├── _config.yml # sample configuration
|
68
|
-
└── index.html # sample home page (blog page paginated)
|
69
|
-
```
|
70
|
-
|
71
|
-
## Configure Type on Strap
|
72
|
-
|
73
|
-
Open `_config.yml` in a text editor to change most of the blog's settings.
|
74
|
-
|
75
|
-
If a variable in this document is marked as "optional", disable the feature by removing all text from the variable.
|
76
|
-
|
77
|
-
|
78
|
-
### Site configuration
|
79
|
-
Configure Jekyll as your own blog or with a subpath in in `_config.yml`:
|
80
|
-
|
81
|
-
Jekyll website *without* a subpath (such as a GitHub Pages website for a given username):
|
82
|
-
|
83
|
-
```yml
|
84
|
-
baseurl: ""
|
85
|
-
url: "https://username.github.io"
|
86
|
-
```
|
87
|
-
|
88
|
-
Jekyll website *with* subpath (like the Type on Strap [demo](https://sylhare.github.io/Type-on-Strap/) page):
|
89
|
-
|
90
|
-
```yml
|
91
|
-
baseurl: "/sub-directory"
|
92
|
-
url: "https://username.github.io/"
|
93
|
-
```
|
94
|
-
|
95
|
-
Please configure this before using the theme.
|
96
|
-
|
97
|
-
### Meta and Branding
|
98
|
-
|
99
|
-
Meta variables hold basic information about your Jekyll site which will be used throughout the site
|
100
|
-
and as meta properties for search engines, browsers, and the site's RSS feed.
|
101
|
-
|
102
|
-
Change these variables in `_config.yml`:
|
103
|
-
|
104
|
-
```yml
|
105
|
-
theme_settings:
|
106
|
-
title: My Jekyll Blog # Name of website
|
107
|
-
avatar: assets/img/triangle.png # Path of avatar image, to be displayed in the theme's header
|
108
|
-
description: My blog posts # Short description, primarily used by search engines
|
109
|
-
```
|
110
|
-
|
111
|
-
### Customizing text
|
112
|
-
|
113
|
-
#### Footer and Header's text
|
114
|
-
|
115
|
-
Customize your site header/footer with these variables in `_config.yml`:
|
116
|
-
|
117
|
-
```yml
|
118
|
-
theme_settings:
|
119
|
-
header_text: Welcome to my Jekyll blog
|
120
|
-
header_feature_image: assets/img/sample3.png
|
121
|
-
footer_text: Copyright 2017
|
122
|
-
```
|
123
|
-
|
124
|
-
#### Localisation string
|
125
|
-
|
126
|
-
Change localization string variables in `_config.yml`.
|
127
|
-
|
128
|
-
English text used in the theme has been grouped so you can quickly translate the theme or change labels to suit your needs.
|
129
|
-
|
130
|
-
```yml
|
131
|
-
theme_settings:
|
132
|
-
str_follow_on: "Follow on"
|
133
|
-
str_rss_follow: "Follow RSS feed"
|
134
|
-
str_email: "Email"
|
135
|
-
str_next_post: "Next post"
|
136
|
-
str_previous_post: "Previous post"
|
137
|
-
str_next_page: "Next"
|
138
|
-
str_previous_page: "Prev"
|
139
|
-
str_continue_reading: "Continue reading"
|
140
|
-
str_javascript_required_disqus: "Please enable JavaScript to view comments."
|
141
|
-
```
|
142
|
-
|
143
|
-
|
144
|
-
### Other features
|
145
|
-
|
146
|
-
Jekyll works with [liquid](https://shopify.github.io/liquid/) tags usually represented by:
|
147
|
-
|
148
|
-
```
|
149
|
-
{{ liquid.tag | filter }}
|
150
|
-
```
|
151
|
-
|
152
|
-
These are useful to render your jekyll files.
|
153
|
-
You can learn more about them on [shopify's doc](https://help.shopify.com/themes/liquid/basics)
|
154
|
-
|
155
|
-
### Footer's icons
|
156
|
-
|
157
|
-
Display the site's icon from [Font Awesome](https://fortawesome.github.io/Font-Awesome/) in the footer.
|
158
|
-
All icon variables should be your username enclosed in quotes (e.g. "username") in `_config.yml`,
|
159
|
-
except for the following variables:
|
160
|
-
|
161
|
-
```yml
|
162
|
-
theme_settings:
|
163
|
-
rss: true # Make sure you created a feed.xml with feed.xml layout
|
164
|
-
email_address: type@example.com
|
165
|
-
linkedin: https://www.linkedin.com/in/FirstLast
|
166
|
-
stack_exchange: https://stackoverflow.com/users/0000/first-last
|
167
|
-
```
|
168
|
-
|
169
|
-
### Comments (via Disqus)
|
170
|
-
|
171
|
-
Optionally, if you have a [Disqus](https://disqus.com/) account, you can show a
|
172
|
-
comments section below each post.
|
173
|
-
|
174
|
-
To enable Disqus comments, add your [Disqus shortname](https://help.disqus.com/customer/portal/articles/466208)
|
175
|
-
to your project's `_config.yml` file:
|
176
|
-
|
177
|
-
```yml
|
178
|
-
theme_settings:
|
179
|
-
disqus_shortname: my_disqus_shortname
|
180
|
-
```
|
181
|
-
|
182
|
-
### Google Analytics
|
183
|
-
|
184
|
-
To enable Google Analytics, add your [tracking ID](https://support.google.com/analytics/answer/1032385)
|
185
|
-
to `_config.yml` like so:
|
186
|
-
|
187
|
-
```yml
|
188
|
-
theme_settings:
|
189
|
-
google_analytics: UA-NNNNNNNN-N
|
190
|
-
```
|
191
|
-
|
192
|
-
### Math typesetting
|
193
|
-
|
194
|
-
When KateX is set in `_config.yml`:
|
195
|
-
|
196
|
-
```yml
|
197
|
-
theme_settings:
|
198
|
-
katex: true # to Enable it
|
199
|
-
```
|
200
|
-
|
201
|
-
You can then wrap math expressions with `$$` signs in your posts and make sure you have set the `katex` variable
|
202
|
-
in `_config.yml` to `true` for math typesetting.
|
203
|
-
|
204
|
-
For inline math typesetting, type your math expression on the *same line* as your content. For example:
|
205
|
-
|
206
|
-
```latex
|
207
|
-
Type math within a sentence $$2x^2 + x + c$$ to display inline
|
208
|
-
```
|
209
|
-
|
210
|
-
For display math typesetting, type your math expression on a *new line*. For example:
|
211
|
-
|
212
|
-
```latex
|
213
|
-
$$
|
214
|
-
\bar{y} = {1 \over n} \sum_{i = 1}^{n}y_i
|
215
|
-
$$
|
216
|
-
```
|
217
|
-
|
218
|
-
### Post excerpt
|
219
|
-
|
220
|
-
The [excerpt](https://jekyllrb.com/docs/posts/#post-excerpts) are the first lines of an article that is display on the blog page.
|
221
|
-
The length of the excerpt has a default of around `250` characters and can be manually set in the post using:
|
222
|
-
|
223
|
-
```yml
|
224
|
-
---
|
225
|
-
layout: post
|
226
|
-
title: Sample Page
|
227
|
-
excerpt_separator: <!--more-->
|
228
|
-
---
|
229
|
-
|
230
|
-
some text in the excerpt
|
231
|
-
<!--more-->
|
232
|
-
... rest of the text not shown in the excerpt ...
|
233
|
-
```
|
234
|
-
|
235
|
-
The html is stripped out of the excerpt so it only display text.
|
236
|
-
|
237
|
-
## Layout
|
238
|
-
Please refer to the [Jekyll docs for writing posts](https://jekyllrb.com/docs/posts/).
|
239
|
-
Non-standard features are documented below.
|
240
|
-
|
241
|
-
### Layout: Post
|
242
|
-
|
243
|
-
This are the basic features you can use with the `post` layout.
|
244
|
-
|
245
|
-
```yml
|
246
|
-
---
|
247
|
-
layout: post
|
248
|
-
title: Hello World # Title of the page
|
249
|
-
hide_title: true # Hide the title when displaying the post, but shown in lists of posts
|
250
|
-
feature-img: "assets/img/sample.png" # Add a feature-image to the post
|
251
|
-
thumbnail: "assets/img/thumbnail/sample-th.png" # Add a thumbnail image on blog view
|
252
|
-
color: rgb(80,140,22) # Add the specified color as feature image, and change link colors in post
|
253
|
-
bootstrap: true # Add bootstrap to the page
|
254
|
-
tags: [sample, markdown, html]
|
255
|
-
---
|
256
|
-
```
|
257
|
-
|
258
|
-
With `thumbnail`, you can add a smaller image than the `feature-img`.
|
259
|
-
If you don't want/have a thumbnail you can still use the same image as the feature one.
|
260
|
-
|
261
|
-
The background used when `color` is set comes from `lineart.png` from [xukimseven](https://github.com/xukimseven)
|
262
|
-
you can edit it in the config file (`theme_settings > color_image`). If you want another one, put it in `/assets/img` as well.
|
263
|
-
|
264
|
-
The **bootstrap** is not mandatory and is only useful if you want to add bootstrapped content in your page.
|
265
|
-
It will respect the page and theme layout, mind the padding on the sides.
|
266
|
-
|
267
|
-
### Layout: Page
|
268
|
-
|
269
|
-
The page layout have a bit more features explained here.
|
270
|
-
|
271
|
-
```yml
|
272
|
-
---
|
273
|
-
layout: page
|
274
|
-
title: "About"
|
275
|
-
subtitle: "This is a subtitle"
|
276
|
-
feature-img: "assets/img/sample.png"
|
277
|
-
permalink: /about.html # Set a permalink your your page
|
278
|
-
hide: true # Prevent the page title to appear in the navbar
|
279
|
-
icon: "fa-search" # Will Display only the fontawesome icon (here: fa-search) and not the title
|
280
|
-
tags: [sample, markdown, html]
|
281
|
-
---
|
282
|
-
```
|
283
|
-
|
284
|
-
The hide only hides your page from the navigation bar, it is however still generated and can be access through its link.
|
285
|
-
Use the `_draft` folder to keep files from being generated on your site.
|
286
|
-
|
287
|
-
### Layout: Default
|
288
|
-
|
289
|
-
This layout includes the head, navigation bar and footer around your content.
|
290
|
-
|
291
|
-
## Feature pages
|
292
|
-
|
293
|
-
All feature pages besides the "home" one are stored in the `page` folder,
|
294
|
-
they will appear in the navigation bar unless you set `Hide: true` in the front matter.
|
295
|
-
|
296
|
-
Here are the documentation for the other feature pages that can be added through `_config.yml`.
|
297
|
-
|
298
|
-
### Home
|
299
|
-
|
300
|
-
This page is the used as the home page of the template (in the `index.html`). It displays the list of article in `_posts`.
|
301
|
-
You can use this layout in another page (adding a title to it will make it appear in the navigation bar).
|
302
|
-
|
303
|
-
The recommended width and height for the home picture is width:`2484px;` and height:`1280px`
|
304
|
-
which are the dimension of the actual picture for it to be rolling down as you scroll the page.
|
305
|
-
|
306
|
-
### Portfolio
|
307
|
-
|
308
|
-
Portfolio is a feature page that will take all the markdown/html files in the `_portfolio` folder to create a 3-columns image portfolio matrix.
|
309
|
-
|
310
|
-
To use the portfolio, simply create a `portfolio.md` with this information inside:
|
311
|
-
```yml
|
312
|
-
---
|
313
|
-
layout: page
|
314
|
-
title : Portfolio
|
315
|
-
---
|
316
|
-
|
317
|
-
{% include portfolio.html %}
|
318
|
-
```
|
319
|
-
|
320
|
-
#### Portofolio posts
|
321
|
-
|
322
|
-
You can format the portfolio posts in the `_portfolio` folder using the `post layout`. Here are little explaination on some of the possible feature you can use and what they will do.
|
323
|
-
|
324
|
-
If you decide to use a date, please be sure to use one that can be parsed such as `yyyy-mm-dd`. You can see more format example on the demo posts that are available for the theme:
|
325
|
-
|
326
|
-
```yml
|
327
|
-
---
|
328
|
-
layout: post
|
329
|
-
title: Circus # Title of the portfolio post
|
330
|
-
feature-img: "assets/img/portfolio/cake.png" # Will display the image in the post
|
331
|
-
img: "assets/img/portfolio/cake.png" # Will display the image in the portfolio page
|
332
|
-
date: 2019-07-25 # Not mandatory, however needs to be in date format to display the date
|
333
|
-
---
|
334
|
-
```
|
335
|
-
|
336
|
-
### Gallery
|
337
|
-
|
338
|
-
You can create a gallery using [Masonry JS](https://masonry.desandro.com/) which will placing the pictures in optimal position
|
339
|
-
based on available vertical space.
|
340
|
-
You need to specify the `gallery_path` which will be used to find the pictures to render.
|
341
|
-
It will take all of the picture under that directory. Then use the `include` to add it in your page.
|
342
|
-
|
343
|
-
```yml
|
344
|
-
---
|
345
|
-
layout: page
|
346
|
-
title: Gallery
|
347
|
-
gallery: "assets/img/pexels"
|
348
|
-
---
|
349
|
-
|
350
|
-
{% include gallery.html gallery_path=page.gallery %}
|
351
|
-
```
|
352
|
-
|
353
|
-
|
354
|
-
### Search
|
355
|
-
|
356
|
-
The search feature is based on [Simple-Jekyll-search](https://github.com/christian-fei/Simple-Jekyll-Search)
|
357
|
-
there is a `search.json` file that will create a list of all of the site posts, pages and portfolios.
|
358
|
-
|
359
|
-
Then there's a `search.js` displaying the formatted results entered in the `search.html` page.
|
360
|
-
|
361
|
-
The search page can be hidden with the `hide` option. You can remove the icon by removing `icon`:
|
362
|
-
|
363
|
-
```yml
|
364
|
-
---
|
365
|
-
layout: search
|
366
|
-
title: Search
|
367
|
-
icon: "search"
|
368
|
-
---
|
369
|
-
```
|
370
|
-
|
371
|
-
### Tags
|
372
|
-
|
373
|
-
Tags should be placed between `[]` in your post metadata. Separate each tag with a comma.
|
374
|
-
Tags are recommended for posts and portfolio items.
|
375
|
-
|
376
|
-
For example:
|
377
|
-
|
378
|
-
```yml
|
379
|
-
---
|
380
|
-
layout: post
|
381
|
-
title: Markdown and HTML
|
382
|
-
tags: [sample, markdown, html]
|
383
|
-
---
|
384
|
-
```
|
385
|
-
|
386
|
-
> Tags are case sensitive `Tag_nAme` ≠ `tag_name`
|
387
|
-
|
388
|
-
All the tags will be listed in `tags.html` with a link toward the pages or posts.
|
389
|
-
The Tag page can be hidden with the `hide` option. You can remove the icon by removing `icon` (like for the search page).
|
390
|
-
|
391
|
-
## Template as a Gem
|
392
|
-
|
393
|
-
You can use Type-on-strap as a [gem](https://rubygems.org/gems/type-on-strap).
|
394
|
-
Checkout an example in the [gem-demo branch](https://github.com/Sylhare/Type-on-Strap/tree/gem-demo).
|
395
|
-
To make the feature pages available in from the gem I created them as layouts that can be invoked in the pages folder.
|
396
|
-
|
397
|
-
So if you're using the template as a theme, Make sure you have:
|
398
|
-
- A `index.html` file
|
399
|
-
- The right `_config.yml` with the theme setting such as `theme: type-on-strap` uncommented
|
400
|
-
- The feature page included. (ex: as it is already in `pages`)
|
401
|
-
- Some content ready in `_posts` and `_portfolio` to be displayed
|
402
|
-
|
403
|
-
Now you can use any theme gem with github pages : [29/11/2017 Github Pages Broadcast](https://github.com/blog/2464-use-any-theme-with-github-pages)
|
404
|
-
|
405
|
-
## Advanced
|
406
|
-
|
407
|
-
### Minimizing and optimizing: css, js and images
|
408
|
-
|
409
|
-
Before you need to have `node` and `npm` installed:
|
410
|
-
- Windows: https://nodejs.org/
|
411
|
-
- Ubuntu/Debian: `apt-get install nodejs npm libgl1 libxi6`
|
412
|
-
- Fedora (dnf) / RHEL/CentOS (yum): `dnf install node npm libglvnd-glx libXi`
|
413
|
-
|
414
|
-
Then you need to install [`gulp-cli`](https://gulpjs.com/) and its dependencies:
|
415
|
-
```shell
|
416
|
-
cd assets/
|
417
|
-
sudo npm install gulp-cli -g
|
418
|
-
npm install
|
419
|
-
```
|
420
|
-
|
421
|
-
**Now, whenever you want to minify and optimize, run:**
|
422
|
-
```shell
|
423
|
-
cd assets/
|
424
|
-
gulp default
|
425
|
-
# tip: run a git status to see the changes
|
426
|
-
git status
|
427
|
-
```
|
428
|
-
|
429
|
-
## License
|
430
|
-
|
431
|
-
There are some fonts and component on this theme going under the MIT licence as well in this theme.
|
432
|
-
[The MIT License (MIT)](https://raw.githubusercontent.com/Sylhare/Type-on-Strap/master/LICENSE)
|