lone-wolf-theme 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +25 -0
  3. data/LICENSE +21 -0
  4. data/README.md +43 -0
  5. data/_data/blog.yml +21 -0
  6. data/_data/nav.yml +39 -0
  7. data/_includes/ads.html +1 -0
  8. data/_includes/analytics-providers/custom.html +3 -0
  9. data/_includes/analytics-providers/google-gtag.html +9 -0
  10. data/_includes/analytics.html +8 -0
  11. data/_includes/archive-list.html +33 -0
  12. data/_includes/archive-single.html +41 -0
  13. data/_includes/blog-post-sidebar.html +37 -0
  14. data/_includes/comments-providers/custom.html +3 -0
  15. data/_includes/comments-providers/disqus.html +17 -0
  16. data/_includes/comments-providers/scripts.html +8 -0
  17. data/_includes/comments.html +8 -0
  18. data/_includes/footer.html +49 -0
  19. data/_includes/head.html +13 -0
  20. data/_includes/head/favicon.html +13 -0
  21. data/_includes/head/styles.html +3 -0
  22. data/_includes/header.html +31 -0
  23. data/_includes/home-action-btn.html +24 -0
  24. data/_includes/scripts.html +21 -0
  25. data/_includes/search-providers/google-search.html +30 -0
  26. data/_includes/search-providers/scripts.html +7 -0
  27. data/_includes/search-providers/search_form.html +12 -0
  28. data/_includes/social-share.html +7 -0
  29. data/_includes/toc.html +95 -0
  30. data/_layouts/compress.html +10 -0
  31. data/_layouts/default.html +25 -0
  32. data/_layouts/home.html +70 -0
  33. data/_layouts/list.html +11 -0
  34. data/_layouts/page.html +10 -0
  35. data/_layouts/post.html +100 -0
  36. data/_sass/_bootstrap-social.scss +93 -0
  37. data/_sass/_lone-wolf-theme.scss +8 -0
  38. data/_sass/animations/_animate.scss +3607 -0
  39. data/_sass/bootstrap/scss/_alert.scss +51 -0
  40. data/_sass/bootstrap/scss/_badge.scss +54 -0
  41. data/_sass/bootstrap/scss/_breadcrumb.scss +41 -0
  42. data/_sass/bootstrap/scss/_button-group.scss +163 -0
  43. data/_sass/bootstrap/scss/_buttons.scss +137 -0
  44. data/_sass/bootstrap/scss/_card.scss +289 -0
  45. data/_sass/bootstrap/scss/_carousel.scss +197 -0
  46. data/_sass/bootstrap/scss/_close.scss +41 -0
  47. data/_sass/bootstrap/scss/_code.scss +48 -0
  48. data/_sass/bootstrap/scss/_custom-forms.scss +507 -0
  49. data/_sass/bootstrap/scss/_dropdown.scss +191 -0
  50. data/_sass/bootstrap/scss/_forms.scss +330 -0
  51. data/_sass/bootstrap/scss/_functions.scss +86 -0
  52. data/_sass/bootstrap/scss/_grid.scss +52 -0
  53. data/_sass/bootstrap/scss/_images.scss +42 -0
  54. data/_sass/bootstrap/scss/_input-group.scss +193 -0
  55. data/_sass/bootstrap/scss/_jumbotron.scss +17 -0
  56. data/_sass/bootstrap/scss/_list-group.scss +149 -0
  57. data/_sass/bootstrap/scss/_media.scss +8 -0
  58. data/_sass/bootstrap/scss/_mixins.scss +47 -0
  59. data/_sass/bootstrap/scss/_modal.scss +229 -0
  60. data/_sass/bootstrap/scss/_nav.scss +120 -0
  61. data/_sass/bootstrap/scss/_navbar.scss +294 -0
  62. data/_sass/bootstrap/scss/_pagination.scss +73 -0
  63. data/_sass/bootstrap/scss/_popover.scss +171 -0
  64. data/_sass/bootstrap/scss/_print.scss +141 -0
  65. data/_sass/bootstrap/scss/_progress.scss +43 -0
  66. data/_sass/bootstrap/scss/_reboot.scss +483 -0
  67. data/_sass/bootstrap/scss/_root.scss +19 -0
  68. data/_sass/bootstrap/scss/_spinners.scss +55 -0
  69. data/_sass/bootstrap/scss/_tables.scss +185 -0
  70. data/_sass/bootstrap/scss/_toasts.scss +44 -0
  71. data/_sass/bootstrap/scss/_tooltip.scss +115 -0
  72. data/_sass/bootstrap/scss/_transitions.scss +20 -0
  73. data/_sass/bootstrap/scss/_type.scss +125 -0
  74. data/_sass/bootstrap/scss/_utilities.scss +17 -0
  75. data/_sass/bootstrap/scss/_variables.scss +1123 -0
  76. data/_sass/bootstrap/scss/bootstrap-grid.scss +29 -0
  77. data/_sass/bootstrap/scss/bootstrap-reboot.scss +12 -0
  78. data/_sass/bootstrap/scss/bootstrap.scss +44 -0
  79. data/_sass/bootstrap/scss/mixins/_alert.scss +13 -0
  80. data/_sass/bootstrap/scss/mixins/_background-variant.scss +21 -0
  81. data/_sass/bootstrap/scss/mixins/_badge.scss +17 -0
  82. data/_sass/bootstrap/scss/mixins/_border-radius.scss +63 -0
  83. data/_sass/bootstrap/scss/mixins/_box-shadow.scss +20 -0
  84. data/_sass/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  85. data/_sass/bootstrap/scss/mixins/_buttons.scss +107 -0
  86. data/_sass/bootstrap/scss/mixins/_caret.scss +62 -0
  87. data/_sass/bootstrap/scss/mixins/_clearfix.scss +7 -0
  88. data/_sass/bootstrap/scss/mixins/_deprecate.scss +10 -0
  89. data/_sass/bootstrap/scss/mixins/_float.scss +14 -0
  90. data/_sass/bootstrap/scss/mixins/_forms.scss +193 -0
  91. data/_sass/bootstrap/scss/mixins/_gradients.scss +45 -0
  92. data/_sass/bootstrap/scss/mixins/_grid-framework.scss +66 -0
  93. data/_sass/bootstrap/scss/mixins/_grid.scss +51 -0
  94. data/_sass/bootstrap/scss/mixins/_hover.scss +37 -0
  95. data/_sass/bootstrap/scss/mixins/_image.scss +36 -0
  96. data/_sass/bootstrap/scss/mixins/_list-group.scss +21 -0
  97. data/_sass/bootstrap/scss/mixins/_lists.scss +7 -0
  98. data/_sass/bootstrap/scss/mixins/_nav-divider.scss +10 -0
  99. data/_sass/bootstrap/scss/mixins/_pagination.scss +22 -0
  100. data/_sass/bootstrap/scss/mixins/_reset-text.scss +17 -0
  101. data/_sass/bootstrap/scss/mixins/_resize.scss +6 -0
  102. data/_sass/bootstrap/scss/mixins/_screen-reader.scss +33 -0
  103. data/_sass/bootstrap/scss/mixins/_size.scss +7 -0
  104. data/_sass/bootstrap/scss/mixins/_table-row.scss +39 -0
  105. data/_sass/bootstrap/scss/mixins/_text-emphasis.scss +16 -0
  106. data/_sass/bootstrap/scss/mixins/_text-hide.scss +11 -0
  107. data/_sass/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  108. data/_sass/bootstrap/scss/mixins/_transition.scss +16 -0
  109. data/_sass/bootstrap/scss/mixins/_visibility.scss +8 -0
  110. data/_sass/bootstrap/scss/utilities/_align.scss +8 -0
  111. data/_sass/bootstrap/scss/utilities/_background.scss +19 -0
  112. data/_sass/bootstrap/scss/utilities/_borders.scss +75 -0
  113. data/_sass/bootstrap/scss/utilities/_clearfix.scss +3 -0
  114. data/_sass/bootstrap/scss/utilities/_display.scss +26 -0
  115. data/_sass/bootstrap/scss/utilities/_embed.scss +39 -0
  116. data/_sass/bootstrap/scss/utilities/_flex.scss +51 -0
  117. data/_sass/bootstrap/scss/utilities/_float.scss +11 -0
  118. data/_sass/bootstrap/scss/utilities/_overflow.scss +5 -0
  119. data/_sass/bootstrap/scss/utilities/_position.scss +32 -0
  120. data/_sass/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  121. data/_sass/bootstrap/scss/utilities/_shadows.scss +6 -0
  122. data/_sass/bootstrap/scss/utilities/_sizing.scss +20 -0
  123. data/_sass/bootstrap/scss/utilities/_spacing.scss +73 -0
  124. data/_sass/bootstrap/scss/utilities/_stretched-link.scss +19 -0
  125. data/_sass/bootstrap/scss/utilities/_text.scss +72 -0
  126. data/_sass/bootstrap/scss/utilities/_visibility.scss +13 -0
  127. data/_sass/bootstrap/scss/vendor/_rfs.scss +204 -0
  128. data/_sass/bootswatch/dist/cerulean/_bootswatch.scss +103 -0
  129. data/_sass/bootswatch/dist/cerulean/_variables.scss +57 -0
  130. data/_sass/bootswatch/dist/spacelab/_bootswatch.scss +102 -0
  131. data/_sass/bootswatch/dist/spacelab/_variables.scss +63 -0
  132. data/_sass/bootswatch/dist/united/_bootswatch.scss +26 -0
  133. data/_sass/bootswatch/dist/united/_variables.scss +53 -0
  134. data/_sass/lone-wolf-theme/_default-layout.scss +24 -0
  135. data/_sass/lone-wolf-theme/_extend-bs4.scss +212 -0
  136. data/_sass/lone-wolf-theme/_override-bs4.scss +2 -0
  137. data/_sass/lone-wolf-theme/_syntax.scss +396 -0
  138. data/_sass/lone-wolf-theme/_variables.scss +24 -0
  139. data/assets/css/main.scss +16 -0
  140. data/assets/images/favicons/android-chrome-192x192.png +0 -0
  141. data/assets/images/favicons/android-chrome-512x512.png +0 -0
  142. data/assets/images/favicons/apple-touch-icon.png +0 -0
  143. data/assets/images/favicons/browserconfig.xml +9 -0
  144. data/assets/images/favicons/favicon-16x16.png +0 -0
  145. data/assets/images/favicons/favicon-32x32.png +0 -0
  146. data/assets/images/favicons/favicon.ico +0 -0
  147. data/assets/images/favicons/mstile-144x144.png +0 -0
  148. data/assets/images/favicons/mstile-150x150.png +0 -0
  149. data/assets/images/favicons/mstile-310x150.png +0 -0
  150. data/assets/images/favicons/mstile-310x310.png +0 -0
  151. data/assets/images/favicons/mstile-70x70.png +0 -0
  152. data/assets/images/favicons/safari-pinned-tab.svg +8283 -0
  153. data/assets/images/favicons/site.webmanifest +19 -0
  154. data/assets/images/lwt-logo-v1.svg +337 -0
  155. data/assets/js/_main.js +20 -0
  156. data/assets/js/bootstrap/bootstrap.min.js +7 -0
  157. data/assets/js/bootstrap/bootstrap.min.js.map +1 -0
  158. data/assets/js/main.min.js +8 -0
  159. metadata +362 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 97b2cbc5a51bb3dbb6eac5a6a29a18a710a5dc1d312a03796ea5525ea27daf75
4
+ data.tar.gz: d4159b6d7613b8a0a7dc891fdb0364f6da3b1e9a2bd6a5848c3464042181ad18
5
+ SHA512:
6
+ metadata.gz: e30a9d4e809fa078f6796ba0e56826b6cd156b62bc085d22a592de2d860038dd492f60245c54f537199a926e7bbe94af7be79302355a8ddb47b3b9da178740a6
7
+ data.tar.gz: a0c7ee287857cb6678d2c513cbd8a878498eb2cbdf6ef4960af64f406ef47ef5e1e1cff1ccfee1af19ce61f2c2533cf262f35080091f0095ad7c3be4ee43c981
@@ -0,0 +1,25 @@
1
+ # ChangeLog
2
+
3
+ ## Upcoming [v1.1.0]
4
+
5
+ ### Enhancements
6
+
7
+ - Site Search function.
8
+ - Collapse h2 tags in blog posts.
9
+ - Video support.
10
+ - Slide show and carousel support.
11
+
12
+ ## [v1.0.2](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.2)
13
+
14
+ - Changed all internal links to relative urls.
15
+ - Removed unused code.
16
+ - Published **v1.0.2** to RubyGems, [lone-wolf-theme](https://rubygems.org/gems/lone-wolf-theme).
17
+
18
+ ## [v1.0.1](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.1)
19
+
20
+ - Fixed site logo and page title missing in user sites.
21
+
22
+ ## [v1.0.0](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.0)
23
+
24
+ - First version of Lone Wolf Theme.
25
+ - This version is very basic and it is good for personal websites to host work portfolios.
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Mani Kumar
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.
@@ -0,0 +1,43 @@
1
+ # [Lone Wolf Theme Jekyll](https://github.com/manid2/lone-wolf-theme/)
2
+
3
+ [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/manid2/lone-wolf-theme/blob/master/LICENSE)
4
+ [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.8-blue.svg)][jekyll]
5
+ [![Ruby gem](https://badge.fury.io/rb/lone-wolf-theme.svg)](https://rubygems.org/gems/lone-wolf-theme/)
6
+
7
+ ## Introduction
8
+
9
+ Simple, elegant and efficient website theme for solo freelancers.
10
+ AKA **lone wolves** who strive to run a business single handedly.
11
+ It is for [Jekyll][jekyll] static site generator and uses [Bootstrap 4][bs4] with beautiful [Bootswatch][bootswatch] themes.
12
+
13
+ ## Who uses it
14
+
15
+ ### As of now
16
+
17
+ - Lone wolf theme [docs][lwt-docs]
18
+ - Me, [manid2][manid2]
19
+
20
+ ## Installation
21
+
22
+ ### Using remote theme
23
+
24
+ Easiest way to use the theme if you dont want to make changes to the theme's code
25
+
26
+ Add `remote_theme : "manid2/lone-wolf-theme"` to your `_config.yml` file.
27
+
28
+ ### By forking the theme repository
29
+
30
+ If you want to make changes to the code and to truly own the site. Follow the blog on smashing magazine to learn about this method [here](https://www.smashingmagazine.com/2014/08/build-blog-jekyll-github-pages/).
31
+
32
+ ### As a ruby gem
33
+
34
+ When you want to host the site on any server other than the github pages and also to make use of plenty of jekyll plugins.
35
+ Add `gem "lone-wolf-theme"` to your `Gemfile`.
36
+ Update bundled gems by using `bundle` command.
37
+ Add `theme : "lone-wolf-theme"` to your `_config.yml`.
38
+
39
+ [jekyll]: https://jekyllrb.com/
40
+ [bs4]: https://getbootstrap.com/
41
+ [bootswatch]: https://bootswatch.com/
42
+ [manid2]: https://manid2.github.io/
43
+ [lwt-docs]: https://manid2.github.io/lone-wolf-theme/
@@ -0,0 +1,21 @@
1
+ # blog authors
2
+ authors:
3
+ - name: "Blog Author"
4
+ headline: "Awesome blogger."
5
+ avatar: # display_picture.jpg
6
+ follow:
7
+ - label: "GitHub"
8
+ icon: "fab fa-fw fa-github"
9
+ url: # link
10
+ - label: "LinkedIn"
11
+ icon: "fab fa-fw fa-linkedin"
12
+ url: # link
13
+
14
+ # blog post share links
15
+ share:
16
+ - label: "LinkedIn"
17
+ icon: "fab fa-fw fa-linkedin"
18
+ url: # link
19
+ - label: "Twitter"
20
+ icon: "fab fa-fw fa-twitter-square"
21
+ url: # link
@@ -0,0 +1,39 @@
1
+ # header links
2
+ header:
3
+ - title: "Features"
4
+ url: "/features/"
5
+ description: "List of features in the theme"
6
+ - title: "Source"
7
+ url: "/source/"
8
+ description: "Theme source code"
9
+ - title: "About"
10
+ url: "/about/"
11
+ description: "A little story about the theme"
12
+
13
+ # footer links
14
+ footer:
15
+ - owner: "Your Name"
16
+ url: # link if any
17
+ description: # tool tip for your url
18
+ bio: "I am awesome" # short bio
19
+ address: # location
20
+ - social:
21
+ - label: "GitHub"
22
+ icon: "fab fa-fw fa-github"
23
+ url: "" # link to your github
24
+ - label: "LinkedIn"
25
+ icon: "fab fa-fw fa-linkedin"
26
+ url: ""
27
+ - label: "Twitter"
28
+ icon: "fab fa-fw fa-twitter-square"
29
+ url: ""
30
+ - label: "Instagram"
31
+ icon: "fab fa-fw fa-instagram"
32
+ url: ""
33
+ - feed:
34
+ - label: "Sitemap"
35
+ icon: "fas fa-sitemap"
36
+ url: "/sitemap.xml"
37
+ - label: "RSS"
38
+ icon: "fas fa-fw fa-rss-square"
39
+ url: "/feed.xml"
@@ -0,0 +1 @@
1
+ <p class="lead">Show Ads?</p>
@@ -0,0 +1,3 @@
1
+ <!-- start custom analytics snippet -->
2
+
3
+ <!-- end custom analytics snippet -->
@@ -0,0 +1,9 @@
1
+ <!-- Global site tag (gtag.js) - Google Analytics -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.analytics.google.tracking_id }}', { 'anonymize_ip': {{ site.analytics.google.anonymize_ip | default: false }}});
9
+ </script>
@@ -0,0 +1,8 @@
1
+ {% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
2
+ {% case site.analytics.provider %}
3
+ {% when "google-gtag" %}
4
+ {% include /analytics-providers/google-gtag.html %}
5
+ {% when "custom" %}
6
+ {% include /analytics-providers/custom.html %}
7
+ {% endcase %}
8
+ {% endif %}
@@ -0,0 +1,33 @@
1
+ {%- assign list_items = include.list_items -%}
2
+ {%- assign list_type = include.list_type -%}
3
+
4
+ <div class="archive-list">
5
+ {%- if list_type == "posts" -%}
6
+ {% assign posts_by_years = list_items | group_by_exp: 'post', 'post.date | date: "%Y"' %}
7
+ {% for year in posts_by_years %}
8
+ <a data-toggle="collapse" href="#posts_in_{{ year.name }}" role="button" aria-expanded="false"
9
+ aria-controls="posts_in_{{ year.name }}">
10
+ <h2 id="posts_in_{{ year.name }}_heading">{{ year.name }}</h2>
11
+ </a>
12
+ <div class="collapse show" id="posts_in_{{ year.name }}">
13
+ {% for post in year.items %}
14
+ {% include archive-single.html item=post %}
15
+ {% endfor %}
16
+ </div>
17
+ {% endfor %}
18
+ {%- else -%}
19
+ {% assign taxonomies = list_items %}
20
+ {% for taxonomy in taxonomies %}
21
+ {%- capture tax_0 -%} {{ taxonomy[0] | slugify }} {%- endcapture -%}
22
+ <a data-toggle="collapse" href="#posts_in_{{ tax_0 }}" role="button" aria-expanded="false"
23
+ aria-controls="posts_in_{{ tax_0 }}">
24
+ <h2 id="posts_in_{{ tax_0 }}_heading">{{ tax_0 }}</h2>
25
+ </a>
26
+ <div class="collapse show" id="posts_in_{{ tax_0 }}">
27
+ {% for post in taxonomy[1] %}
28
+ {% include archive-single.html item=post %}
29
+ {% endfor %}
30
+ </div>
31
+ {% endfor %}
32
+ {%- endif -%}
33
+ </div>
@@ -0,0 +1,41 @@
1
+ {%- assign item = include.item -%}
2
+
3
+ <a href="{{ item.url | relative_url }}" title="Go to {{ item.title }}" class="nav-link py-0">
4
+ <div class="row no-gutters mb-3 border rounded">
5
+ {% if item.header.teaser %}
6
+ {% capture img_path %}
7
+ {{ "/assets/images/" | relative_url | append: item.header.teaser }}
8
+ {% endcapture %}
9
+
10
+ {% capture img_alt %}
11
+ {{ item.title }}
12
+ {% endcapture %}
13
+
14
+ {% elsif site.teaser %}
15
+ {% capture img_path %}
16
+ {{ "/assets/images/" | relative_url | append: site.teaser }}
17
+ {% endcapture %}
18
+
19
+ {% capture img_alt %}
20
+ {{ site.title }} post teaser
21
+ {% endcapture %}
22
+ {% endif %}
23
+
24
+ {% if img_path %}
25
+ <div class="col-sm-4 text-center">
26
+ <img class="img-fluid rounded" src="{{ img_path | strip }}" alt="{{ img_alt | strip }}">
27
+ </div>
28
+ {% endif %}
29
+ <div class="col-sm-8 pl-3">
30
+ <h3 class="my-1">
31
+ <span class="text-dark ">{{ item.title | strip | strip_html | strip_newlines | truncate: 60 }}</span>
32
+ </h3>
33
+ <p class="mb-1">
34
+ <span class="small font-italic text-secondary">{{ item.date | date: "%b %-d, %Y" }}</span>
35
+ </p>
36
+ <p class="mb-1 d-none d-sm-block">
37
+ <span class="text-muted">{{ item.excerpt | strip | strip_html | strip_newlines | truncate: 180 }}</span>
38
+ </p>
39
+ </div>
40
+ </div>
41
+ </a>
@@ -0,0 +1,37 @@
1
+ <div>
2
+ <h4>Recent posts</h4>
3
+ <ul>
4
+ {% for post in site.posts limit:5 %}
5
+ <li><a href="{{ post.url | relative_url }}">{{ post.title | strip }}</a></li>
6
+ {% endfor %}
7
+ </ul>
8
+
9
+ {%- if page.categories.size > 0 -%}
10
+ <h4>Categories</h4>
11
+ <ul>
12
+ {% for category in page.categories limit:5 %}
13
+ {%- capture link -%}
14
+ /categories/#posts_in_{{ category | slugify }}_heading
15
+ {%- endcapture -%}
16
+ <li><a href="{{ link | relative_url }}">{{ category | strip }}</a>
17
+ </li>
18
+ {% endfor %}
19
+ </ul>
20
+ {%- endif -%}
21
+
22
+ {%- if page.tags.size > 0 -%}
23
+ <h4>Tags</h4>
24
+ <ul>
25
+ {% for tag in page.tags limit:5 %}
26
+ {%- capture link -%}
27
+ /tags/#posts_in_{{ tag | slugify }}_heading
28
+ {%- endcapture -%}
29
+ <li><a href="{{ link | relative_url }}">{{ tag | strip }}</a></li>
30
+ {% endfor %}
31
+ </ul>
32
+ {%- endif -%}
33
+
34
+ {% if page.show_ads %}
35
+ {%- include ads.html ad_src="google-adsense" ad_type="links" -%}
36
+ {% endif %}
37
+ </div>
@@ -0,0 +1,3 @@
1
+ <!-- start custom comments snippet -->
2
+
3
+ <!-- end custom comments snippet -->
@@ -0,0 +1,17 @@
1
+ {% if site.comments.disqus.shortname %}
2
+ <script>
3
+ var disqus_config = function () {
4
+ this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
5
+ this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
6
+ };
7
+ (function () { // DON'T EDIT BELOW THIS LINE
8
+ var d = document, s = d.createElement('script');
9
+ s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
10
+ s.setAttribute('data-timestamp', +new Date());
11
+ (d.head || d.body).appendChild(s);
12
+ })();
13
+ </script>
14
+ <noscript>
15
+ Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
16
+ </noscript>
17
+ {% endif %}
@@ -0,0 +1,8 @@
1
+ {% if site.comments.provider and page.show_comments %}
2
+ {% case site.comments.provider %}
3
+ {% when "disqus" %}
4
+ {% include /comments-providers/disqus.html %}
5
+ {% when "custom" %}
6
+ {% include /comments-providers/custom.html %}
7
+ {% endcase %}
8
+ {% endif %}
@@ -0,0 +1,8 @@
1
+ {% capture comments_label %}{{ "Leave a comment" }}{% endcapture %}
2
+ <h4 class="text-dark">{{ comments_label }}</h4>
3
+ {% case site.comments.provider %}
4
+ {% when "disqus" %}
5
+ <section id="disqus_thread"></section>
6
+ {% when "custom" %}
7
+ <section id="custom-comments"></section>
8
+ {% endcase %}
@@ -0,0 +1,49 @@
1
+ {% assign owner = site.data.nav.footer[0] %}
2
+ {% assign social = site.data.nav.footer[1] %}
3
+ {% assign feed = site.data.nav.footer[2] %}
4
+
5
+ <footer class="page-footer">
6
+ <div class="page-footer-owner">
7
+ <div class="container">
8
+ <div class="row">
9
+ <div class="col-md-4 pb-3 text-center">
10
+ <!-- owner info -->
11
+ <p class="m-0">Owned by
12
+ <a href="{{ owner.url }}" {% if owner.description %} title="{{ owner.description }}"
13
+ {% endif %}>{{ owner.owner }}</a>.
14
+ </p>
15
+ <p class="m-0 font-italic">{{ owner.bio }}</p>
16
+ <p class="m-0"><i class="fas fa-map-marker-alt"></i><span class="pl-1">{{ owner.address }}</span>
17
+ </p>
18
+ </div>
19
+ <div class="col-md-8 text-center">
20
+ <!-- Social media links -->
21
+ <ul class="list-inline">
22
+ <li class="list-inline-item">Social: </li>
23
+ {% for so_link in social.social %}
24
+ <li class="list-inline-item">
25
+ <a href="{{ so_link.url }}"><i class="{{ so_link.icon }}"></i>{{ so_link.label }}</a>
26
+ </li>
27
+ {% endfor %}
28
+ </ul>
29
+ <!-- website feed links -->
30
+ <ul class="list-inline">
31
+ <li class="list-inline-item">Feed: </li>
32
+ {% for fd_link in feed.feed %}
33
+ <li class="list-inline-item">
34
+ <a href="{{ fd_link.url | relative_url }}"><i class="{{ fd_link.icon }}"></i>{{ fd_link.label }}</a>
35
+ </li>
36
+ {% endfor %}
37
+ </ul>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ <div class="page-footer-copyright">
43
+ <div class="container text-center">
44
+ <!-- copyright info -->
45
+ <p>Copyright &copy; {{ owner.owner }}, {{ "now" | date: "%Y" }}. Website theme <a href="https://github.com/manid2/lone-wolf-theme/">LWT</a> for <a href="https://jekyllrb.com/">Jekyll.</a>
46
+ </p>
47
+ </div>
48
+ </div>
49
+ </footer>
@@ -0,0 +1,13 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ {% seo %}
7
+
8
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}"
9
+ href="{{ '/feed.xml' | relative_url }}">
10
+
11
+ {% include head/favicon.html %}
12
+ {% include head/styles.html %}
13
+ </head>
@@ -0,0 +1,13 @@
1
+ <!-- insert favicons. use https://realfavicongenerator.net/ -->
2
+ <!-- favicon start -->
3
+ <!-- FIXME: unable to place favicons in docs/assests folder chrome error -->
4
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/images/favicons/apple-touch-icon.png' | relative_url }}">
5
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/images/favicons/favicon-32x32.png' | relative_url }}">
6
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/images/favicons/favicon-16x16.png' | relative_url }}">
7
+ <link rel="manifest" href="{{ '/assets/images/favicons/site.webmanifest' | relative_url }}">
8
+ <link rel="mask-icon" color="#5bbad5" href="{{ '/assets/images/favicons/safari-pinned-tab.svg' | relative_url }}">
9
+ <meta name="msapplication-TileColor" content="#2d89ef">
10
+ <link rel="shortcut icon" href="{{ '/assets/images/favicons/favicon.ico' | relative_url }}">
11
+ <meta name="msapplication-config" content="{{ '/assets/images/favicons/browserconfig.xml' | relative_url }}">
12
+ <meta name="theme-color" content="#ffffff">
13
+ <!-- favicon end -->
@@ -0,0 +1,3 @@
1
+ <!-- styles start -->
2
+ <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
3
+ <!-- styles end -->
@@ -0,0 +1,31 @@
1
+ <header class="navbar navbar-expand-lg navbar-dark bg-primary shadow-sm">
2
+ <nav class="container">
3
+ <!-- site home -->
4
+ <a class="navbar-brand" href="{{ '/' | absolute_url }}">
5
+ <img src="{{ '/assets/images/' | relative_url | append: site.logo }}" alt="{{ site.title }} logo" height="32" width="32">
6
+ </a>
7
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01"
8
+ aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
9
+ <span class="navbar-toggler-icon"></span>
10
+ </button>
11
+ <div class="collapse navbar-collapse" id="navbarColor01">
12
+ <ul class="navbar-nav mr-auto">
13
+ <!-- TODO add theme version dropdown here -->
14
+ {%- for link in site.data.nav.header -%}
15
+ {%- if link.url contains '://' -%}
16
+ {%- assign url = link.url -%}
17
+ {%- else -%}
18
+ {%- assign url = link.url | relative_url -%}
19
+ {%- endif -%}
20
+ <li class="nav-item">
21
+ <a class="nav-link" href="{{ url }}" {% if link.description %} title="{{ link.description }}"
22
+ {% endif %}>{{ link.title }}</a>
23
+ </li>
24
+ {%- endfor -%}
25
+ </ul>
26
+ {% if site.search == true %}
27
+ {%- include search-providers/search_form.html -%}
28
+ {% endif %}
29
+ </div>
30
+ </nav>
31
+ </header>