jekyll-theme-type-on-strap 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +311 -0
  4. data/_includes/disqus.html +10 -0
  5. data/_includes/footer.html +13 -0
  6. data/_includes/head.html +69 -0
  7. data/_includes/icons.html +230 -0
  8. data/_includes/navbar.html +56 -0
  9. data/_includes/portfolio.html +17 -0
  10. data/_includes/post_nav.html +20 -0
  11. data/_includes/tags_list.html +19 -0
  12. data/_layouts/bootstrap.html +38 -0
  13. data/_layouts/default.html +11 -0
  14. data/_layouts/home.html +59 -0
  15. data/_layouts/page.html +23 -0
  16. data/_layouts/post.html +30 -0
  17. data/_layouts/search.html +52 -0
  18. data/_layouts/tags.html +94 -0
  19. data/_sass/base/_global.scss +147 -0
  20. data/_sass/base/_utility.scss +71 -0
  21. data/_sass/base/_variables.scss +43 -0
  22. data/_sass/external/_reset.scss +427 -0
  23. data/_sass/external/_syntax.scss +63 -0
  24. data/_sass/includes/_footer.scss +17 -0
  25. data/_sass/includes/_navbar.scss +132 -0
  26. data/_sass/includes/_post_nav.scss +21 -0
  27. data/_sass/layouts/_index.scss +106 -0
  28. data/_sass/layouts/_page.scss +10 -0
  29. data/_sass/layouts/_portfolio.scss +77 -0
  30. data/_sass/layouts/_posts.scss +114 -0
  31. data/_sass/layouts/_search.scss +55 -0
  32. data/_sass/layouts/_tags.scss +52 -0
  33. data/_sass/type-on-strap.scss +21 -0
  34. data/assets/css/bootstrap-iso.min.css +8 -0
  35. data/assets/css/font-awesome.min.css +4 -0
  36. data/assets/css/katex.min.css +1 -0
  37. data/assets/css/main.scss +4 -0
  38. data/assets/fonts/FontAwesome.otf +0 -0
  39. data/assets/fonts/KaTeX_AMS-Regular.eot +0 -0
  40. data/assets/fonts/KaTeX_AMS-Regular.ttf +0 -0
  41. data/assets/fonts/KaTeX_AMS-Regular.woff +0 -0
  42. data/assets/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  43. data/assets/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
  44. data/assets/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  45. data/assets/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  46. data/assets/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  47. data/assets/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
  48. data/assets/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  49. data/assets/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  50. data/assets/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  51. data/assets/fonts/KaTeX_Fraktur-Bold.eot +0 -0
  52. data/assets/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  53. data/assets/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  54. data/assets/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  55. data/assets/fonts/KaTeX_Fraktur-Regular.eot +0 -0
  56. data/assets/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  57. data/assets/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  58. data/assets/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  59. data/assets/fonts/KaTeX_Main-Bold.eot +0 -0
  60. data/assets/fonts/KaTeX_Main-Bold.ttf +0 -0
  61. data/assets/fonts/KaTeX_Main-Bold.woff +0 -0
  62. data/assets/fonts/KaTeX_Main-Bold.woff2 +0 -0
  63. data/assets/fonts/KaTeX_Main-Italic.eot +0 -0
  64. data/assets/fonts/KaTeX_Main-Italic.ttf +0 -0
  65. data/assets/fonts/KaTeX_Main-Italic.woff +0 -0
  66. data/assets/fonts/KaTeX_Main-Italic.woff2 +0 -0
  67. data/assets/fonts/KaTeX_Main-Regular.eot +0 -0
  68. data/assets/fonts/KaTeX_Main-Regular.ttf +0 -0
  69. data/assets/fonts/KaTeX_Main-Regular.woff +0 -0
  70. data/assets/fonts/KaTeX_Main-Regular.woff2 +0 -0
  71. data/assets/fonts/KaTeX_Math-BoldItalic.eot +0 -0
  72. data/assets/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  73. data/assets/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  74. data/assets/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  75. data/assets/fonts/KaTeX_Math-Italic.eot +0 -0
  76. data/assets/fonts/KaTeX_Math-Italic.ttf +0 -0
  77. data/assets/fonts/KaTeX_Math-Italic.woff +0 -0
  78. data/assets/fonts/KaTeX_Math-Italic.woff2 +0 -0
  79. data/assets/fonts/KaTeX_Math-Regular.eot +0 -0
  80. data/assets/fonts/KaTeX_Math-Regular.ttf +0 -0
  81. data/assets/fonts/KaTeX_Math-Regular.woff +0 -0
  82. data/assets/fonts/KaTeX_Math-Regular.woff2 +0 -0
  83. data/assets/fonts/KaTeX_SansSerif-Bold.eot +0 -0
  84. data/assets/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  85. data/assets/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  86. data/assets/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  87. data/assets/fonts/KaTeX_SansSerif-Italic.eot +0 -0
  88. data/assets/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  89. data/assets/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  90. data/assets/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  91. data/assets/fonts/KaTeX_SansSerif-Regular.eot +0 -0
  92. data/assets/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  93. data/assets/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  94. data/assets/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  95. data/assets/fonts/KaTeX_Script-Regular.eot +0 -0
  96. data/assets/fonts/KaTeX_Script-Regular.ttf +0 -0
  97. data/assets/fonts/KaTeX_Script-Regular.woff +0 -0
  98. data/assets/fonts/KaTeX_Script-Regular.woff2 +0 -0
  99. data/assets/fonts/KaTeX_Size1-Regular.eot +0 -0
  100. data/assets/fonts/KaTeX_Size1-Regular.ttf +0 -0
  101. data/assets/fonts/KaTeX_Size1-Regular.woff +0 -0
  102. data/assets/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  103. data/assets/fonts/KaTeX_Size2-Regular.eot +0 -0
  104. data/assets/fonts/KaTeX_Size2-Regular.ttf +0 -0
  105. data/assets/fonts/KaTeX_Size2-Regular.woff +0 -0
  106. data/assets/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  107. data/assets/fonts/KaTeX_Size3-Regular.eot +0 -0
  108. data/assets/fonts/KaTeX_Size3-Regular.ttf +0 -0
  109. data/assets/fonts/KaTeX_Size3-Regular.woff +0 -0
  110. data/assets/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  111. data/assets/fonts/KaTeX_Size4-Regular.eot +0 -0
  112. data/assets/fonts/KaTeX_Size4-Regular.ttf +0 -0
  113. data/assets/fonts/KaTeX_Size4-Regular.woff +0 -0
  114. data/assets/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  115. data/assets/fonts/KaTeX_Typewriter-Regular.eot +0 -0
  116. data/assets/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  117. data/assets/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  118. data/assets/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  119. data/assets/fonts/fontawesome-webfont.eot +0 -0
  120. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  121. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  122. data/assets/fonts/fontawesome-webfont.woff +0 -0
  123. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  124. data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  125. data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  126. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  127. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  128. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  129. data/assets/js/bootstrap.min.js +12 -0
  130. data/assets/js/jekyll-search.min.js +6 -0
  131. data/assets/js/jquery-3.2.1.min.js +5 -0
  132. data/assets/js/katex.min.js +6 -0
  133. data/assets/js/katex_init.js +26 -0
  134. data/assets/js/main.min.js +1 -0
  135. data/assets/js/navbar.js +31 -0
  136. metadata +251 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e02ccd34a7820d7acdbfffe0c320e51587faec9c
4
+ data.tar.gz: dea06332bad6c32649dbe9777259bdcd25f54b35
5
+ SHA512:
6
+ metadata.gz: eb24aa48844fc0904cf63283e53f575586440d9da70b481c24561f74e83390dd7b4604bce4f5d288ebb87f086681a699c175aa012cef97ebddcd61b2e8f1961c
7
+ data.tar.gz: 17dfa9352f14211de8820b4f99d07282660934f77a373794407837f4c91e6bd0fc2bbb9f69431f809ca897004bd47205641178cc6d6ae491ee78e7a845b0e18a
data/LICENSE ADDED
@@ -0,0 +1,21 @@
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 ADDED
@@ -0,0 +1,311 @@
1
+ # Type on Strap
2
+
3
+ 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:
4
+
5
+ * Responsive design
6
+ * Portfolio page for your projects
7
+ * Tags compability
8
+ * Bootstrap : [Get Bootstrap](http://getbootstrap.com/)
9
+ * Search feature : [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)
10
+ * Math Rendering : [KateX](https://github.com/Khan/KaTeX)
11
+ * Seo Tags : [Jekyll-seo-tag](https://help.github.com/articles/search-engine-optimization-for-github-pages/)
12
+ * Free of rights images from [pexels](https://www.pexels.com/)
13
+
14
+ > [Demo](https://sylhare.github.io/Type-on-Strap/)
15
+
16
+ [![Default Type on Strap blog](https://raw.githubusercontent.com/Sylhare/Type-on-Strap/dev/screenshot.png)](https://sylhare.github.io/Type-on-Strap/)
17
+
18
+ ## Table of Contents
19
+
20
+ 1. [Usage](https://github.com/Sylhare/Type-on-Strap#Usage)
21
+ 2. [Struture](https://github.com/Sylhare/Type-on-Strap#structure)
22
+ 3. [Configure Type on Strap](https://github.com/Sylhare/Type-on-Strap#configure-type-on-strap)
23
+ 4. [Layout](https://github.com/Sylhare/Type-on-Strap#layout)
24
+ 5. [Feature pages](https://github.com/Sylhare/Type-on-Strap#feature-pages)
25
+ 6. [License](https://github.com/Sylhare/Type-on-Strap#license)
26
+
27
+ ## Usage
28
+
29
+ 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`
30
+ 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.
31
+ 3. Install the theme's dependencies: `bundle install`
32
+ 4. Customize the theme
33
+ - Github Page: [update `_config.yml`](https://github.com/Sylhare/Type-on-Strap#site-configuration)
34
+ 5. Run the Jekyll server: `jekyll serve`
35
+
36
+ ## Structure
37
+
38
+ Here are the main files of the template
39
+
40
+ ```bash
41
+ jekyll-theme-basically-basic
42
+ ├── _draft # To store your drafts, they won't be published on your site
43
+ ├── _includes # theme includes
44
+ ├── _layouts # theme layouts (see below for details)
45
+ ├── _portofolio # collection of article to be populated in the portfolio page
46
+ ├── _posts # Blog posts
47
+ ├── _sass # Sass partials
48
+ ├── assets
49
+ | ├── js # theme javascript, Katex, jquery, bootstrap, jekyll search,
50
+ | ├── css # isolated Bootstrap, font-awesome, katex and main css
51
+ | ├── fonts # Font-Awesome, Glyphicon, and other fonts
52
+ | └── img # Images used for the template
53
+ ├── pages
54
+ | ├── 404.md # To be displayed when url is wrong
55
+ | ├── about.md # About example page
56
+ | ├── portfolio.html # Portfolio bootstrapped page
57
+ | ├── search.html # Search page
58
+ | └── search.json # Specify the search target (page, post, collection)
59
+ ├── _config.yml # sample configuration
60
+ └── index.html # sample home page (blog page paginated)
61
+ ```
62
+
63
+ ## Configure Type on Strap
64
+
65
+ Open `_config.yml` in a text editor to change most of the blog's settings.
66
+
67
+ If a variable in this document is marked as "optional", disable the feature by removing all text from the variable.
68
+
69
+
70
+ ### Site configuration
71
+ Configure Jekyll as your own blog or with a subpath in in `_config.yml`:
72
+
73
+ Jekyll website *without* a subpath (such as a GitHub Pages website for a given username):
74
+
75
+ ```yml
76
+ baseurl: ""
77
+ url: "https://username.github.io"
78
+ ```
79
+
80
+ Jekyll website *with* subpath (like the Type on Strap [demo](https://sylhare.github.io/Type-on-Strap/) page):
81
+
82
+ ```yml
83
+ baseurl: "/sub-directory"
84
+ url: "https://username.github.io/"
85
+ ```
86
+
87
+ Please configure this before using the theme.
88
+
89
+ ### Meta and Branding
90
+
91
+ Meta variables hold basic information about your Jekyll site which will be used throughout the site and as meta properties for search engines, browsers, and the site's RSS feed.
92
+
93
+ Change these variables in `_config.yml`:
94
+
95
+ ```yml
96
+ theme_settings:
97
+ title: My Jekyll Blog # Name of website
98
+ avatar: assets/img/triangular.svg # Path of avatar image, to be displayed in the theme's header
99
+ gravatar: f98....6bfc # MD5 hash of your email address
100
+ description: My blog posts # Short description, primarily used by search engines
101
+ ```
102
+
103
+ ### Customizing text
104
+
105
+ #### Footer and Header's text
106
+
107
+ Customize your site header/footer with these variables in `_config.yml`:
108
+
109
+ ```yml
110
+ theme_settings:
111
+ header_text: Welcome to my Jekyll blog
112
+ header_text_feature_image: assets/img/sample3.png
113
+ footer_text: Copyright 2017
114
+ ```
115
+
116
+ #### Localisation string
117
+
118
+ Change localization string variables in `_config.yml`.
119
+
120
+ English text used in the theme has been grouped so you can quickly translate the theme or change labels to suit your needs.
121
+
122
+ ```yml
123
+ theme_settings:
124
+ str_follow_on: "Follow on"
125
+ str_rss_follow: "Follow RSS feed"
126
+ str_email: "Email"
127
+ str_next_post: "Next post"
128
+ str_previous_post: "Previous post"
129
+ str_next_page: "Next"
130
+ str_previous_page: "Prev"
131
+ str_continue_reading: "Continue reading"
132
+ str_javascript_required_disqus: "Please enable JavaScript to view comments."
133
+ ```
134
+
135
+
136
+ ### Other features
137
+
138
+ Jekyll works with [liquid](https://shopify.github.io/liquid/) tags usually represented by:
139
+
140
+ ```
141
+ {{ liquid.tag | filter }}
142
+ ```
143
+
144
+ These are useful to render your jekyll files. You can learn more about them on [shopify's doc](https://help.shopify.com/themes/liquid/basics)
145
+
146
+ ### Footer's icons
147
+
148
+ Display the site's icon from [Font Awesome](https://fortawesome.github.io/Font-Awesome/) in the footer. All icon variables should be your username enclosed in quotes (e.g. "username") in `_config.yml`, except for the following variables:
149
+
150
+ ```yml
151
+ theme_settings:
152
+ rss: true
153
+ email_address: type@example.com
154
+ linkedin: ttps://www.linkedin.com/in/FirstLast
155
+ stack_exchange: https://stackoverflow.com/users/0000/first-last
156
+ ```
157
+
158
+ ### Comments (via Disqus)
159
+
160
+ Optionally, if you have a [Disqus](https://disqus.com/) account, you can show a
161
+ comments section below each post.
162
+
163
+ To enable Disqus comments, add your [Disqus shortname](https://help.disqus.com/customer/portal/articles/466208) to your project's `_config.yml` file:
164
+
165
+ ```yml
166
+ theme_settings:
167
+ disqus_shortname: my_disqus_shortname
168
+ ```
169
+
170
+ ### Google Analytics
171
+
172
+ To enable Google Analytics, add your [tracking ID](https://support.google.com/analytics/answer/1032385)
173
+ to `_config.yml` like so:
174
+
175
+ ```yml
176
+ theme_settings:
177
+ google_analytics: UA-NNNNNNNN-N
178
+ ```
179
+
180
+ ### Math typesetting
181
+
182
+ When KateX is set in `_config.yml`:
183
+
184
+ ```yml
185
+ theme_settings:
186
+ katex: true # to Enable it
187
+ ```
188
+
189
+ You can then wrap math expressions with `$$` signs in your posts and make sure you have set the `katex` variable in `_config.yml` to `true` for math typesetting.
190
+
191
+ For inline math typesetting, type your math expression on the *same line* as your content. For example:
192
+
193
+ ```latex
194
+ Type math within a sentence $$2x^2 + x + c$$ to display inline
195
+ ```
196
+
197
+ For display math typesetting, type your math expression on a *new line*. For example:
198
+
199
+ ```latex
200
+ $$
201
+ \bar{y} = {1 \over n} \sum_{i = 1}^{n}y_i
202
+ $$
203
+ ```
204
+
205
+ ## Layout
206
+ Please refer to the [Jekyll docs for writing posts](https://jekyllrb.com/docs/posts/). Non-standard features are documented below.
207
+
208
+ ### Layout: Post
209
+
210
+ This are the basic features you can use with the `post` layout.
211
+
212
+ ```yml
213
+ ---
214
+ layout: post
215
+ title: Hello World # Title of the page
216
+ subtitle: "This is a subtitle" # A subtitle can be displayed below your title
217
+ feature-img: "assets/img/sample.png" # Add a feature-image to the post
218
+ thumbnail: "assets/img/thumbnail/sample-th.png" # Add a thumbnail image on blog view
219
+ tags: [sample, markdown, html]
220
+ ---
221
+ ```
222
+
223
+ With `thumbnail`, you can add a smaller image than the `feature-img`. If you don't want/have a thumbnail you can still use the same image as the feature one.
224
+
225
+ ### Layout: Page
226
+
227
+ The page layout have a bit more features explained here.
228
+
229
+ ```yml
230
+ ---
231
+ layout: page
232
+ title: "About"
233
+ subtitle: "This is a subtitle"
234
+ feature-img: "assets/img/sample.png"
235
+ permalink: /about.html # Set a permalink your your page
236
+ hide: true # Prevent the page title to appear in the navbar
237
+ tags: [sample, markdown, html]
238
+ ---
239
+ ```
240
+
241
+ The hide only hides your page from the navigation bar, it is however still generated and can be access through its link. Use the `_draft` folder to keep files from being generated on your site.
242
+
243
+ ### Layout: Bootstrap
244
+
245
+ This is the page layout modified to have bootstrap activated to format your content accordingly with the theme.
246
+
247
+ ```yml
248
+ ---
249
+ layout: bootstrap
250
+ ---
251
+ ```
252
+
253
+ ### Layout: Default
254
+
255
+ This layout includes the head, navigation bar and footer around your content.
256
+
257
+ ## Feature pages
258
+
259
+ All feature pages are stored in the `page` folder, they will appear in the navigation bar unless you set `Hide: true` in the front matter.
260
+
261
+ Here are the documentation for the other feature pages that can be added through `_config.yml`.
262
+
263
+ ### Portfolio
264
+
265
+ Portfolio is a feature bootstrapped page that will take all the markdown/html files in the `_portfolio` folder to create a 3x3 image portfolio matrix.
266
+
267
+ The portfolio page can be enable/disable through the `_config.yml` via:
268
+ ```yml
269
+ # Scripts / Feature
270
+ portfolio: true
271
+ ```
272
+ ### Search
273
+
274
+ The search feature is based on [Simple-Jekyll-search](https://github.com/christian-fei/Simple-Jekyll-Search) there is a `search.json` file that will create a list of all of the site posts, pages and portfolios.
275
+
276
+ Then there's a `search.js` displaying the formated results entered in the `search.html` page.
277
+
278
+
279
+ The search page can be enable/disable through the `_config.yml` via:
280
+ ```yml
281
+ # Scripts / Feature
282
+ search: true
283
+ ```
284
+
285
+ ### Tags
286
+
287
+ Tags should be placed between `[]` in your post metadata. Seperate each tag with a comma. Tags are recommended for posts and portfolio items.
288
+
289
+ For example:
290
+
291
+ ```yml
292
+ ---
293
+ layout: post
294
+ title: Markdown and HTML
295
+ tags: [sample, markdown, html]
296
+ ---
297
+ ```
298
+
299
+ > Tags are case sensitive `Tag_nAme` ≠ `tag_name`
300
+
301
+ All the tags will be listed in `tags.html` with a link toward the pages or posts.
302
+ The tags page can be enable/disable through the `_config.yml` via:
303
+
304
+ ```yml
305
+ # Scripts / Feature
306
+ tags: true
307
+ ```
308
+
309
+ ## License
310
+
311
+ [The MIT License (MIT)](https://raw.githubusercontent.com/Sylhare/Type-on-Strap/master/LICENSE)
@@ -0,0 +1,10 @@
1
+ <div id="disqus_thread"></div>
2
+ <script type="text/javascript">
3
+ var disqus_shortname = '{{ site.theme_settings.disqus_shortname }}';
4
+ (function() {
5
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
6
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
7
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
8
+ })();
9
+ </script>
10
+ <noscript>{{ site.theme_settings.str_javascript_required_disqus }}</noscript>
@@ -0,0 +1,13 @@
1
+ {% if site.theme_settings.footer_text %}
2
+ <footer class="site-footer">
3
+ <p class="text">{{ site.theme_settings.footer_text }}</p>
4
+ <div class="footer-icons">
5
+ <ul>
6
+ <!-- Social icons from Font Awesome, if enabled -->
7
+ {% include icons.html %}
8
+ </ul>
9
+ </div>
10
+ </footer>
11
+ {% endif %}
12
+
13
+
@@ -0,0 +1,69 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
4
+
5
+ <!-- JQuery (used for bootstrap and jekyll search) -->
6
+ <script src="{{ site.baseurl }}/assets/js/jquery-3.2.1.min.js" ></script>
7
+
8
+ <!-- Main JS (navbar.js and katex_init.js)-->
9
+ <script defer=true src="{{ site.baseurl }}/assets/js/main.min.js"></script>
10
+
11
+ <!-- CSS -->
12
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
13
+
14
+ <!--Favicon-->
15
+ <link rel="shortcut icon" href="{{ site.baseurl }}/{{ site.theme_settings.favicon }}" type="image/x-icon">
16
+
17
+ <!-- Canonical -->
18
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
19
+
20
+ <!-- RSS -->
21
+ <link rel="alternate" type="application/atom+xml" title="{{ site.theme_settings.title }}" href="{{ site.url }}/{{ site.baseurl }}//feed.xml"/>
22
+
23
+ <!-- Font Awesome -->
24
+ <!-- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> -->
25
+ <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/font-awesome.min.css">
26
+
27
+ <!-- Google Fonts -->
28
+ {% if site.theme_settings.google_fonts %}
29
+ <link href="//fonts.googleapis.com/css?family={{ site.theme_settings.google_fonts }}" rel="stylesheet" type="text/css">
30
+ {% endif %}
31
+
32
+ <!-- KaTeX 0.8.3 -->
33
+ {% if site.theme_settings.katex %}
34
+ <!--<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.css">
35
+ <script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.js"></script> -->
36
+ <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/katex.min.css">
37
+ <script src="{{ site.baseurl }}/assets/js/katex.min.js">
38
+ </script>
39
+ {% endif %}
40
+
41
+ <!-- Google Analytics -->
42
+ {% if site.theme_settings.google_analytics %}
43
+ <script>
44
+ (function(i, s, o, g, r, a, m) {
45
+ i['GoogleAnalyticsObject'] = r;
46
+ i[r] = i[r] || function() {
47
+ (i[r].q = i[r].q || []).push(arguments)
48
+ }, i[r].l = 1 * new Date();
49
+ a = s.createElement(o),
50
+ m = s.getElementsByTagName(o)[0];
51
+ a.async = 1;
52
+ a.src = g;
53
+ m.parentNode.insertBefore(a, m)
54
+ })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
55
+
56
+ ga('create', '{{ site.theme_settings.google_analytics }}', 'auto');
57
+ ga('send', 'pageview');
58
+
59
+ </script>
60
+ {% endif %}
61
+
62
+ <!-- seo tags -->
63
+ {% seo %}
64
+ <!-- Manual seo tags -->
65
+ <!--
66
+ <title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.theme_settings.title }}</title>
67
+ <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.theme_settings.description }}{% endif %}">
68
+ -->
69
+ </head>
@@ -0,0 +1,230 @@
1
+ {% if site.theme_settings.rss %}
2
+ <li>
3
+ <a href="{{ site.url }}//{{ site.baseurl }}//feed.xml" title="{{ site.theme_settings.str_rss_follow }}">
4
+ <span class="fa-stack fa-lg">
5
+ <i class="fa fa-circle fa-stack-2x"></i>
6
+ <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
7
+ </span>
8
+ </a>
9
+ </li>
10
+ {% endif %}
11
+
12
+ {% if site.theme_settings.email_address %}
13
+ <li>
14
+ <a href="mailto:{{ site.theme_settings.email_address }}" title="{{ site.theme_settings.str_email }}">
15
+ <span class="fa-stack fa-lg">
16
+ <i class="fa fa-circle fa-stack-2x"></i>
17
+ <i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
18
+ </span>
19
+ </a>
20
+ </li>
21
+ {% endif %}
22
+
23
+ {% if site.theme_settings.behance %}
24
+ <li>
25
+ <a href="https://www.behance.net/{{ site.theme_settings.behance }}" title="{{ site.theme_settings.str_follow_on }} Behance">
26
+ <span class="fa-stack fa-lg">
27
+ <i class="fa fa-circle fa-stack-2x"></i>
28
+ <i class="fa fa-behance fa-stack-1x fa-inverse"></i>
29
+ </span>
30
+ </a>
31
+ </li>
32
+ {% endif %}
33
+
34
+ {% if site.theme_settings.bitbucket %}
35
+ <li>
36
+ <a href="https://bitbucket.org/{{ site.theme_settings.bitbucket }}" title="{{ site.theme_settings.str_follow_on }} Bitbucket">
37
+ <span class="fa-stack fa-lg">
38
+ <i class="fa fa-circle fa-stack-2x"></i>
39
+ <i class="fa fa-bitbucket fa-stack-1x fa-inverse"></i>
40
+ </span>
41
+ </a>
42
+ </li>
43
+ {% endif %}
44
+
45
+ {% if site.theme_settings.dribbble %}
46
+ <li>
47
+ <a href="https://dribbble.com/{{ site.theme_settings.dribbble }}" title="{{ site.theme_settings.str_follow_on }} Dribbble">
48
+ <span class="fa-stack fa-lg">
49
+ <i class="fa fa-circle fa-stack-2x"></i>
50
+ <i class="fa fa-dribbble fa-stack-1x fa-inverse"></i>
51
+ </span>
52
+ </a>
53
+ </li>
54
+ {% endif %}
55
+
56
+ {% if site.theme_settings.facebook %}
57
+ <li>
58
+ <a href="https://www.facebook.com/{{ site.theme_settings.facebook }}" title="{{ site.theme_settings.str_follow_on }} Facebook">
59
+ <span class="fa-stack fa-lg">
60
+ <i class="fa fa-circle fa-stack-2x"></i>
61
+ <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
62
+ </span>
63
+ </a>
64
+ </li>
65
+ {% endif %}
66
+
67
+ {% if site.theme_settings.flickr %}
68
+ <li>
69
+ <a href="https://www.flickr.com/photos/{{ site.theme_settings.flickr }}" title="{{ site.theme_settings.str_follow_on }} Flickr">
70
+ <span class="fa-stack fa-lg">
71
+ <i class="fa fa-circle fa-stack-2x"></i>
72
+ <i class="fa fa-flickr fa-stack-1x fa-inverse"></i>
73
+ </span>
74
+ </a>
75
+ </li>
76
+ {% endif %}
77
+
78
+ {% if site.theme_settings.github %}
79
+ <li>
80
+ <a href="https://github.com/{{ site.theme_settings.github }}" title="{{ site.theme_settings.str_follow_on }} GitHub">
81
+ <span class="fa-stack fa-lg">
82
+ <i class="fa fa-circle fa-stack-2x"></i>
83
+ <i class="fa fa-github fa-stack-1x fa-inverse"></i>
84
+ </span>
85
+ </a>
86
+ </li>
87
+ {% endif %}
88
+
89
+ {% if site.theme_settings.google_plus %}
90
+ <li>
91
+ <a href="https://plus.google.com/{{ site.theme_settings.google_plus }}" title="{{ site.theme_settings.str_follow_on }} Google+">
92
+ <span class="fa-stack fa-lg">
93
+ <i class="fa fa-circle fa-stack-2x"></i>
94
+ <i class="fa fa-google-plus fa-stack-1x fa-inverse"></i>
95
+ </span>
96
+ </a>
97
+ </li>
98
+ {% endif %}
99
+
100
+ {% if site.theme_settings.instagram %}
101
+ <li>
102
+ <a href="http://instagram.com/{{ site.theme_settings.instagram }}" title="{{ site.theme_settings.str_follow_on }} Instagram">
103
+ <span class="fa-stack fa-lg">
104
+ <i class="fa fa-circle fa-stack-2x"></i>
105
+ <i class="fa fa-instagram fa-stack-1x fa-inverse"></i>
106
+ </span>
107
+ </a>
108
+ </li>
109
+ {% endif %}
110
+
111
+ {% if site.theme_settings.linkedin %}
112
+ <li>
113
+ <a href="{{ site.theme_settings.linkedin }}" title="{{ site.theme_settings.str_follow_on }} LinkedIn">
114
+ <span class="fa-stack fa-lg">
115
+ <i class="fa fa-circle fa-stack-2x"></i>
116
+ <i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
117
+ </span>
118
+ </a>
119
+ </li>
120
+ {% endif %}
121
+
122
+ {% if site.theme_settings.pinterest %}
123
+ <li>
124
+ <a href="http://www.pinterest.com/{{ site.theme_settings.pinterest }}" title="{{ site.theme_settings.str_follow_on }} Pinterest">
125
+ <span class="fa-stack fa-lg">
126
+ <i class="fa fa-circle fa-stack-2x"></i>
127
+ <i class="fa fa-pinterest fa-stack-1x fa-inverse"></i>
128
+ </span>
129
+ </a>
130
+ </li>
131
+ {% endif %}
132
+
133
+ {% if site.theme_settings.reddit %}
134
+ <li>
135
+ <a href="https://www.reddit.com/user/{{ site.theme_settings.reddit }}" title="{{ site.theme_settings.str_follow_on }} Reddit">
136
+ <span class="fa-stack fa-lg">
137
+ <i class="fa fa-circle fa-stack-2x"></i>
138
+ <i class="fa fa-reddit fa-stack-1x fa-inverse"></i>
139
+ </span>
140
+ </a>
141
+ </li>
142
+ {% endif %}
143
+
144
+ {% if site.theme_settings.soundcloud %}
145
+ <li>
146
+ <a href="https://soundcloud.com/{{ site.theme_settings.soundcloud }}" title="{{ site.theme_settings.str_follow_on }} SoundCloud">
147
+ <span class="fa-stack fa-lg">
148
+ <i class="fa fa-circle fa-stack-2x"></i>
149
+ <i class="fa fa-soundcloud fa-stack-1x fa-inverse"></i>
150
+ </span>
151
+ </a>
152
+ </li>
153
+ {% endif %}
154
+
155
+ {% if site.theme_settings.stack_exchange %}
156
+ <li>
157
+ <a href="{{ site.theme_settings.stack_exchange }}" title="{{ site.theme_settings.str_follow_on }} Stack Exchange">
158
+ <span class="fa-stack fa-lg">
159
+ <i class="fa fa-circle fa-stack-2x"></i>
160
+ <i class="fa fa-stack-exchange fa-stack-1x fa-inverse"></i>
161
+ </span>
162
+ </a>
163
+ </li>
164
+ {% endif %}
165
+
166
+ {% if site.theme_settings.steam %}
167
+ <li>
168
+ <a href="http://steamcommunity.com/id/{{ site.theme_settings.steam }}" title="{{ site.theme_settings.str_follow_on }} Steam">
169
+ <span class="fa-stack fa-lg">
170
+ <i class="fa fa-circle fa-stack-2x"></i>
171
+ <i class="fa fa-steam fa-stack-1x fa-inverse"></i>
172
+ </span>
173
+ </a>
174
+ </li>
175
+ {% endif %}
176
+
177
+ {% if site.theme_settings.tumblr %}
178
+ <li>
179
+ <a href="http://{{ site.theme_settings.tumblr }}.tumblr.com/" title="{{ site.theme_settings.str_follow_on }} Tumblr">
180
+ <span class="fa-stack fa-lg">
181
+ <i class="fa fa-circle fa-stack-2x"></i>
182
+ <i class="fa fa-tumblr fa-stack-1x fa-inverse"></i>
183
+ </span>
184
+ </a>
185
+ </li>
186
+ {% endif %}
187
+
188
+ {% if site.theme_settings.gitlab %}
189
+ <li>
190
+ <a href="https://gitlab.com/{{ site.theme_settings.gitlab }}" title="{{ site.theme_settings.str_follow_on }} Gitlab">
191
+ <span class="fa-stack fa-lg">
192
+ <i class="fa fa-circle fa-stack-2x"></i>
193
+ <i class="fa fa-gitlab fa-stack-1x fa-inverse"></i>
194
+ </span>
195
+ </a>
196
+ </li>
197
+ {% endif %}
198
+
199
+ {% if site.theme_settings.twitter %}
200
+ <li>
201
+ <a href="https://twitter.com/{{ site.theme_settings.twitter }}" title="{{ site.theme_settings.str_follow_on }} Twitter" class="type">
202
+ <span class="fa-stack fa-lg">
203
+ <i class="fa fa-circle fa-stack-2x"></i>
204
+ <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
205
+ </span>
206
+ </a>
207
+ </li>
208
+ {% endif %}
209
+
210
+ {% if site.theme_settings.wordpress %}
211
+ <li>
212
+ <a href="https://{{ site.theme_settings.wordpress }}.wordpress.com/" title="{{ site.theme_settings.str_follow_on }} WordPress">
213
+ <span class="fa-stack fa-lg">
214
+ <i class="fa fa-circle fa-stack-2x"></i>
215
+ <i class="fa fa-wordpress fa-stack-1x fa-inverse"></i>
216
+ </span>
217
+ </a>
218
+ </li>
219
+ {% endif %}
220
+
221
+ {% if site.theme_settings.youtube %}
222
+ <li>
223
+ <a href="https://www.youtube.com/user/{{ site.theme_settings.youtube }}" title="{{ site.theme_settings.str_follow_on }} YouTube">
224
+ <span class="fa-stack fa-lg">
225
+ <i class="fa fa-circle fa-stack-2x"></i>
226
+ <i class="fa fa-youtube fa-stack-1x fa-inverse"></i>
227
+ </span>
228
+ </a>
229
+ </li>
230
+ {% endif %}