mediumish 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +8 -0
  3. data/README.md +23 -0
  4. data/_includes/adsense-under-header.html +12 -0
  5. data/_includes/disqus.html +14 -0
  6. data/_includes/featuredbox.html +59 -0
  7. data/_includes/pagination.html +25 -0
  8. data/_includes/postbox.html +51 -0
  9. data/_includes/search-lunr.html +21 -0
  10. data/_includes/share.html +34 -0
  11. data/_includes/star_rating.html +9 -0
  12. data/_includes/star_rating_postbox.html +9 -0
  13. data/_includes/toc.html +87 -0
  14. data/_layouts/archive.html +21 -0
  15. data/_layouts/categories.html +23 -0
  16. data/_layouts/default.html +208 -0
  17. data/_layouts/page.html +24 -0
  18. data/_layouts/post.html +181 -0
  19. data/_layouts/tags.html +23 -0
  20. data/_sass/_stars.scss +137 -0
  21. data/_sass/_starsnonscss.scss +92 -0
  22. data/_sass/_syntax.scss +69 -0
  23. data/assets/css/main.scss +15 -0
  24. data/assets/css/screen.css +901 -0
  25. data/assets/fonts/casper-icons.eot +0 -0
  26. data/assets/fonts/casper-icons.svg +19 -0
  27. data/assets/fonts/casper-icons.ttf +0 -0
  28. data/assets/fonts/casper-icons.woff +0 -0
  29. data/assets/images/1.jpg +0 -0
  30. data/assets/images/10.jpg +0 -0
  31. data/assets/images/11.jpg +0 -0
  32. data/assets/images/12.jpg +0 -0
  33. data/assets/images/13.jpg +0 -0
  34. data/assets/images/14.jpg +0 -0
  35. data/assets/images/15.jpg +0 -0
  36. data/assets/images/16.jpg +0 -0
  37. data/assets/images/17.jpg +0 -0
  38. data/assets/images/2.jpg +0 -0
  39. data/assets/images/3.jpg +0 -0
  40. data/assets/images/4.jpg +0 -0
  41. data/assets/images/5.jpg +0 -0
  42. data/assets/images/6.jpg +0 -0
  43. data/assets/images/7.jpg +0 -0
  44. data/assets/images/8.jpg +0 -0
  45. data/assets/images/9.jpg +0 -0
  46. data/assets/images/avatar.png +0 -0
  47. data/assets/images/favicon.ico +0 -0
  48. data/assets/images/jumbotron.jpg +0 -0
  49. data/assets/images/log.png +0 -0
  50. data/assets/images/logo.png +0 -0
  51. data/assets/images/mediumish-jekyll-template.png +0 -0
  52. data/assets/js/ie10-viewport-bug-workaround.js +24 -0
  53. data/assets/js/jquery.min.js +2 -0
  54. data/assets/js/lazyload.js +258 -0
  55. data/assets/js/lunr.js +2977 -0
  56. data/assets/js/lunrsearchengine.js +89 -0
  57. data/assets/js/mediumish.js +129 -0
  58. metadata +163 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 63008074c00d12cd5536a910748ab55cb8530dd7b2cb3be19535cfce36867db1
4
+ data.tar.gz: 3fb9482ceca40366373849843eb08092eeb1aa65f79678fe688df4a65120b6fe
5
+ SHA512:
6
+ metadata.gz: c98d5574852484dd721713f9ec9e4a5df4ab66a64f5e07237007c63b178a09289a20c783afeb4e645e49c200f976262b9c22c51b3225838555f167e728afdc80
7
+ data.tar.gz: 5f165e0e07d040c0c8859dfe598b386129e233623cd0f77b11c6f0d956428d4a10a48d994b92c21dece4ac1d4a732628ffb9aea0ca6daa8dbc6cf8bf714b44bc
data/LICENSE.txt ADDED
@@ -0,0 +1,8 @@
1
+ Copyright (c) 2019 WowThemes.net
2
+ License: MIT
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # Mediumish - Jekyll Theme
2
+
3
+ [Live Demo](https://wowthemesnet.github.io/mediumish-theme-jekyll/)   |   [Download](https://github.com/wowthemesnet/mediumish-theme-jekyll/archive/master.zip)   |   [Documentation](https://bootstrapstarter.com/template-mediumish-bootstrap-jekyll/)   |   [Buy me a coffee](https://www.wowthemes.net/donate/)
4
+
5
+ ![mediumish](assets/images/mediumish-jekyll-template.png)
6
+
7
+
8
+ ### Copyright
9
+
10
+ Copyright (C) 2019 Sal, https://www.wowthemes.net
11
+
12
+ **Mediumish for Jekyll** is designed and developed by [Sal](https://www.wowthemes.net) and it is *free* under MIT license.
13
+
14
+ <a href="https://www.wowthemes.net/donate/" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
15
+
16
+ ### Contribute
17
+
18
+ 1. [Fork the repo](https://github.com/wowthemesnet/mediumish-theme-jekyll).
19
+ 2. Clone a copy of your fork on your local
20
+ 3. Create a branch off of master and give it a meaningful name (e.g. my-new-mediumish-feature).
21
+ 4. Make necessary changes, commit, push and open a pull request on GitHub.
22
+
23
+ Thank you!
@@ -0,0 +1,12 @@
1
+ <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
2
+ <!-- Under Header -->
3
+ <ins class="adsbygoogle"
4
+ style="display:block"
5
+ data-ad-client="{{site.adsense-data-ad-client}}"
6
+ data-ad-slot="{{site.adsense-data-ad-slot}}"
7
+ data-ad-format="auto"
8
+ data-full-width-responsive="true"></ins>
9
+ <script>
10
+ (adsbygoogle = window.adsbygoogle || []).push({});
11
+ </script>
12
+ <br/>
@@ -0,0 +1,14 @@
1
+ <section class="disqus">
2
+ <div id="disqus_thread"></div>
3
+ <script type="text/javascript">
4
+ var disqus_shortname = '{{site.disqus}}';
5
+ var disqus_developer = 0;
6
+ (function() {
7
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
8
+ dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
9
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
10
+ })();
11
+ </script>
12
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13
+ <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
14
+ </section>
@@ -0,0 +1,59 @@
1
+ <!-- begin post -->
2
+ {% assign author = site.authors[post.author] %}
3
+ <div class="col-md-6 mb-30px">
4
+ <div class="listfeaturedtag h-100">
5
+ <div class="row h-100">
6
+ <div class="col-12 col-md-12 col-lg-5 pr-lg-0">
7
+ <div class="h-100">
8
+ <div class="wrapthumbnail">
9
+ <a href="{{ site.baseurl }}{{ post.url }}">
10
+ {% if site.lazyimages == "enabled" %}
11
+ <img class="featured-box-img-cover lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}">
12
+ {% else %}
13
+ <img class="featured-box-img-cover" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}">
14
+ {% endif %}
15
+ </a>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div class="col-12 col-md-12 col-lg-7">
20
+ <div class="h-100 card-group">
21
+ <div class="card">
22
+ <div class="card-body">
23
+ <h2 class="card-title">
24
+ <a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
25
+ {% if post.rating %}
26
+ <div class="mb-2 mt-2 font-weight-normal">
27
+ {% include star_rating_postbox.html %}
28
+ </div>
29
+ {% endif %}
30
+ </h2>
31
+
32
+ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:25 }}</h4>
33
+ </div>
34
+ <div class="card-footer b-0 bg-white mt-auto">
35
+ <div class="wrapfooter">
36
+ {% if post.author %}
37
+ <span class="meta-footer-thumb">
38
+ {% if author.avatar %}
39
+ <img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
40
+ {% else %}
41
+ <img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
42
+ {% endif %}
43
+ </span>
44
+ <span class="author-meta">
45
+ <span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
46
+ {% endif %}
47
+ <span class="post-date">{{ post.date | date_to_string }}</span>
48
+ </span>
49
+ <span class="post-read-more"><a href="{{ site.baseurl }}/{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
50
+ <div class="clearfix"></div>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <!-- end post -->
@@ -0,0 +1,25 @@
1
+ {% if paginator.total_pages > 1 %}
2
+ <div class="pagination">
3
+ {% if paginator.previous_page %}
4
+ <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
5
+ {% else %}
6
+ <span>&laquo; Prev</span>
7
+ {% endif %}
8
+
9
+ {% for page in (1..paginator.total_pages) %}
10
+ {% if page == paginator.page %}
11
+ <span class="ml-1 mr-1">{{ page }}</span>
12
+ {% elsif page == 1 %}
13
+ <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
14
+ {% else %}
15
+ <a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
16
+ {% endif %}
17
+ {% endfor %}
18
+
19
+ {% if paginator.next_page %}
20
+ <a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a>
21
+ {% else %}
22
+ <span>Next &raquo;</span>
23
+ {% endif %}
24
+ </div>
25
+ {% endif %}
@@ -0,0 +1,51 @@
1
+ <!-- begin post -->
2
+ {% assign author = site.authors[post.author] %}
3
+
4
+ <div class="col-lg-4 col-md-6 mb-30px card-group">
5
+ <div class="card h-100">
6
+ <div class="maxthumb">
7
+ <a href="{{ site.baseurl }}{{ post.url }}">
8
+ {% if post.image %}
9
+
10
+ {% if site.lazyimages == "enabled" %}
11
+ <img class="img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
12
+ {% else %}
13
+ <img class="img-fluid" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
14
+ {% endif %}
15
+
16
+ {% endif %}
17
+ </a>
18
+ </div>
19
+ <div class="card-body">
20
+ <h2 class="card-title">
21
+ <a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
22
+ {% if post.rating %}
23
+ <div class="mb-2 mt-2 font-weight-normal">
24
+ {% include star_rating_postbox.html %}
25
+ </div>
26
+ {% endif %}
27
+ </h2>
28
+ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4>
29
+ </div>
30
+ <div class="card-footer bg-white">
31
+ <div class="wrapfooter">
32
+ {% if post.author %}
33
+ <span class="meta-footer-thumb">
34
+ {% if author.avatar %}
35
+ <img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
36
+ {% else %}
37
+ <img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
38
+ {% endif %}
39
+ </span>
40
+ <span class="author-meta">
41
+ <span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
42
+ {% endif %}
43
+ <span class="post-date">{{ post.date | date_to_string }}</span>
44
+ </span>
45
+ <span class="post-read-more"><a href="{{ site.baseurl }}{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
46
+ <div class="clearfix"></div>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <!-- end post -->
@@ -0,0 +1,21 @@
1
+ <script src="{{site.baseurl}}/assets/js/lunr.js"></script>
2
+
3
+
4
+ <style>
5
+ .lunrsearchresult .title {color: #d9230f;}
6
+ .lunrsearchresult .url {color: silver;}
7
+ .lunrsearchresult a {display: block; color: #777;}
8
+ .lunrsearchresult a:hover, .lunrsearchresult a:focus {text-decoration: none;}
9
+ .lunrsearchresult a:hover .title {text-decoration: underline;}
10
+ </style>
11
+
12
+
13
+ <form class="bd-search" onSubmit="return lunr_search(document.getElementById('lunrsearch').value);">
14
+ <input type="text" class="form-control text-small launch-modal-search" id="lunrsearch" name="q" maxlength="255" value="" placeholder="Type and enter..."/>
15
+ </form>
16
+
17
+ <div id="lunrsearchresults">
18
+ <ul></ul>
19
+ </div>
20
+
21
+ <script src="{{site.baseurl}}/assets/js/lunrsearchengine.js"></script>
@@ -0,0 +1,34 @@
1
+ <div class="share sticky-top sticky-top-offset">
2
+ <p>
3
+ Share
4
+ </p>
5
+ <ul>
6
+ <li class="ml-1 mr-1">
7
+ <a target="_blank" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ page.url | absolute_url }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
8
+ <i class="fab fa-twitter"></i>
9
+ </a>
10
+ </li>
11
+
12
+ <li class="ml-1 mr-1">
13
+ <a target="_blank" href="https://facebook.com/sharer.php?u={{ page.url | absolute_url }}" onclick="window.open(this.href, 'facebook-share', 'width=550,height=435');return false;">
14
+ <i class="fab fa-facebook-f"></i>
15
+ </a>
16
+ </li>
17
+
18
+ <li class="ml-1 mr-1">
19
+ <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" onclick="window.open(this.href, 'width=550,height=435');return false;">
20
+ <i class="fab fa-linkedin-in"></i>
21
+ </a>
22
+ </li>
23
+
24
+ </ul>
25
+ {% if page.comments != false %}
26
+ <div class="sep">
27
+ </div>
28
+ <ul>
29
+ <li>
30
+ <a class="small smoothscroll" href="#disqus_thread"></a>
31
+ </li>
32
+ </ul>
33
+ {% endif %}
34
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="rating-holder">
2
+ <div class="c-rating c-rating--regular" data-rating-value="{{page.rating}}">
3
+ <button>1</button>
4
+ <button>2</button>
5
+ <button>3</button>
6
+ <button>4</button>
7
+ <button>5</button>
8
+ </div>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="rating-holder">
2
+ <div class="c-rating c-rating--regular" data-rating-value="{{post.rating}}">
3
+ <button>1</button>
4
+ <button>2</button>
5
+ <button>3</button>
6
+ <button>4</button>
7
+ <button>5</button>
8
+ </div>
9
+ </div>
@@ -0,0 +1,87 @@
1
+ {% capture tocWorkspace %}
2
+ {% comment %}
3
+ Version 1.0.6
4
+ https://github.com/allejo/jekyll-toc
5
+
6
+ "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
7
+
8
+ Usage:
9
+ {% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
10
+
11
+ Parameters:
12
+ * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
13
+
14
+ Optional Parameters:
15
+ * sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
16
+ * class (string) : '' - a CSS class assigned to the TOC
17
+ * id (string) : '' - an ID to assigned to the TOC
18
+ * h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
19
+ * h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
20
+ * ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
21
+ * item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
22
+ * baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
23
+ * anchor_class (string) : '' - add custom class(es) for each anchor element
24
+
25
+ Output:
26
+ An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
27
+ generate the table of contents and will NOT output the markdown given to it
28
+ {% endcomment %}
29
+
30
+ {% capture my_toc %}{% endcapture %}
31
+ {% assign orderedList = include.ordered | default: false %}
32
+ {% assign minHeader = include.h_min | default: 1 %}
33
+ {% assign maxHeader = include.h_max | default: 6 %}
34
+ {% assign nodes = include.html | split: '<h' %}
35
+ {% assign firstHeader = true %}
36
+
37
+ {% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
38
+
39
+ {% for node in nodes %}
40
+ {% if node == "" %}
41
+ {% continue %}
42
+ {% endif %}
43
+
44
+ {% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
45
+
46
+ {% if headerLevel < minHeader or headerLevel > maxHeader %}
47
+ {% continue %}
48
+ {% endif %}
49
+
50
+ {% if firstHeader %}
51
+ {% assign firstHeader = false %}
52
+ {% assign minHeader = headerLevel %}
53
+ {% endif %}
54
+
55
+ {% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
56
+ {% assign _workspace = node | split: '</h' %}
57
+
58
+ {% assign _idWorkspace = _workspace[0] | split: 'id="' %}
59
+ {% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
60
+ {% assign html_id = _idWorkspace[0] %}
61
+
62
+ {% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
63
+ {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
64
+
65
+ {% assign space = '' %}
66
+ {% for i in (1..indentAmount) %}
67
+ {% assign space = space | prepend: ' ' %}
68
+ {% endfor %}
69
+
70
+ {% unless include.item_class == blank %}
71
+ {% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
72
+ {% endunless %}
73
+
74
+ {% capture my_toc %}{{ my_toc }}
75
+ {{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
76
+ {% endfor %}
77
+
78
+ {% if include.class %}
79
+ {% capture my_toc %}{:.{{ include.class }}}
80
+ {{ my_toc | lstrip }}{% endcapture %}
81
+ {% endif %}
82
+
83
+ {% if include.id %}
84
+ {% capture my_toc %}{: #{{ include.id }}}
85
+ {{ my_toc | lstrip }}{% endcapture %}
86
+ {% endif %}
87
+ {% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ title: Archive
4
+ ---
5
+
6
+ <!-- Begin List Posts
7
+ ================================================== -->
8
+ <section class="recent-posts">
9
+ <div class="section-title">
10
+ <h2>Archive of posts with <span>{{ page.type }} '{{ page.title }}'</span></h2>
11
+ </div>
12
+ <div class="row listrecent">
13
+
14
+ {% for post in page.posts %}
15
+
16
+ {% include postbox.html %}
17
+
18
+ {% endfor %}
19
+
20
+ </div>
21
+ </section>
@@ -0,0 +1,23 @@
1
+ ---
2
+ title: "Categories"
3
+ layout: default
4
+ permalink: "/categories.html"
5
+ ---
6
+
7
+ <div class="row listrecent">
8
+ {% for category in site.categories %}
9
+ <div class="section-title col-md-12 mt-4">
10
+ <h2 id="{{ category[0] | replace: " ","-" }}">Category <span class="text-capitalize">{{ category[0] }}</span></h2>
11
+ </div>
12
+ {% assign pages_list = category[1] %}
13
+ {% for post in pages_list %}
14
+ {% if post.title != null %}
15
+ {% if group == null or group == post.group %}
16
+ {% include postbox.html %}
17
+ {% endif %}
18
+ {% endif %}
19
+ {% endfor %}
20
+ {% assign pages_list = nil %}
21
+ {% assign group = nil %}
22
+ {% endfor %}
23
+ </div>
@@ -0,0 +1,208 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
+
7
+ <link rel="icon" href="{{ site.baseurl }}/assets/images/logo.png">
8
+
9
+ <title>{{ page.title }} | {{site.name}}</title>
10
+
11
+ {% seo %}
12
+
13
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
14
+
15
+ <link href="{{ site.baseurl }}/assets/css/screen.css" rel="stylesheet">
16
+
17
+ <link href="{{ site.baseurl }}/assets/css/main.css" rel="stylesheet">
18
+
19
+ <script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
20
+
21
+ </head>
22
+
23
+ {% if jekyll.environment == 'production' %}
24
+ <!-- change your GA id in _config.yml -->
25
+ <script>
26
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
27
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
28
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
29
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
30
+ ga('create', '{{site.google_analytics}}', 'auto');
31
+ ga('send', 'pageview');
32
+ </script>
33
+ {% endif %}
34
+
35
+ {% capture layout %}{% if page.layout %}layout-{{ page.layout }}{% endif %}{% endcapture %}
36
+ <body class="{{layout}}">
37
+ <!-- defer loading of font and font awesome -->
38
+ <noscript id="deferred-styles">
39
+ <link href="https://fonts.googleapis.com/css?family=Righteous%7CMerriweather:300,300i,400,400i,700,700i" rel="stylesheet">
40
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
41
+ </noscript>
42
+
43
+
44
+ <!-- Begin Menu Navigation
45
+ ================================================== -->
46
+ <nav class="navbar navbar-expand-lg navbar-light bg-white fixed-top mediumnavigation nav-down">
47
+
48
+ <div class="container pr-0">
49
+
50
+ <!-- Begin Logo -->
51
+ <a class="navbar-brand" href="{{ site.baseurl }}/">
52
+ <img src="{{ site.baseurl }}/{{ site.logo }}" alt="{{ site.name }}">
53
+ </a>
54
+ <!-- End Logo -->
55
+
56
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMediumish" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
57
+ <span class="navbar-toggler-icon"></span>
58
+ </button>
59
+
60
+ <div class="collapse navbar-collapse" id="navbarMediumish">
61
+
62
+ <!-- Begin Menu -->
63
+
64
+ <ul class="navbar-nav ml-auto">
65
+
66
+ {% if page.url == "/" %}
67
+ <li class="nav-item active">
68
+ {% else %}
69
+ <li class="nav-item">
70
+ {% endif %}
71
+ <a class="nav-link" href="{{ site.baseurl }}/index.html">Blog</a>
72
+ </li>
73
+
74
+ <li class="nav-item">
75
+ <a class="nav-link" href="{{ site.baseurl }}/about">About</a>
76
+ </li>
77
+
78
+ <li class="nav-item">
79
+ <a target="_blank" class="nav-link" href="https://bootstrapstarter.com/bootstrap-templates/template-mediumish-bootstrap-jekyll/"> Docs</a>
80
+ </li>
81
+
82
+ <li class="nav-item">
83
+ <a target="_blank" class="nav-link" href="https://www.wowthemes.net/themes/mediumish-wordpress/"><i class="fab fa-wordpress-simple"></i> WP Version</a>
84
+ </li>
85
+
86
+ <li class="nav-item">
87
+ <a target="_blank" class="nav-link" href="https://www.wowthemes.net/themes/mediumish-ghost/"><i class="fab fa-snapchat-ghost"></i> Ghost Version</a>
88
+ </li>
89
+
90
+ <li class="nav-item">
91
+ <a target="_blank" class="nav-link" href="https://github.com/wowthemesnet/mediumish-theme-jekyll"><i class="fab fa-github"></i> Fork on Github</a>
92
+ </li>
93
+
94
+ {% include search-lunr.html %}
95
+
96
+ </ul>
97
+
98
+ <!-- End Menu -->
99
+
100
+ </div>
101
+
102
+ </div>
103
+ </nav>
104
+ <!-- End Navigation
105
+ ================================================== -->
106
+
107
+ <div class="site-content">
108
+
109
+ <div class="container">
110
+
111
+ <!-- Site Title
112
+ ================================================== -->
113
+ <div class="mainheading">
114
+ <h1 class="sitetitle">{{ site.name }}</h1>
115
+ <p class="lead">
116
+ {{ site.description }}
117
+ </p>
118
+ </div>
119
+
120
+ <!-- Content
121
+ ================================================== -->
122
+ <div class="main-content">
123
+ {{ content }}
124
+ </div>
125
+
126
+ {% if site.mailchimp-list %}
127
+ <!-- Bottom Alert Bar
128
+ ================================================== -->
129
+ <div class="alertbar">
130
+ <div class="container text-center">
131
+ <span><img src="{{ site.baseurl }}/{{ site.logo }}" alt="{{site.title}}"> &nbsp; Never miss a <b>story</b> from us, subscribe to our newsletter</span>
132
+ <form action="{{site.mailchimp-list}}" method="post" name="mc-embedded-subscribe-form" class="wj-contact-form validate" target="_blank" novalidate>
133
+ <div class="mc-field-group">
134
+ <input type="email" placeholder="Email" name="EMAIL" class="required email" id="mce-EMAIL" autocomplete="on" required>
135
+ <input type="submit" value="Subscribe" name="subscribe" class="heart">
136
+ </div>
137
+ </form>
138
+ </div>
139
+ </div>
140
+ {% endif %}
141
+
142
+ </div>
143
+
144
+ <!-- Categories Jumbotron
145
+ ================================================== -->
146
+ <div class="jumbotron fortags">
147
+ <div class="d-md-flex h-100">
148
+ <div class="col-md-4 transpdark align-self-center text-center h-100">
149
+ <div class="d-md-flex align-items-center justify-content-center h-100">
150
+ <h2 class="d-md-block align-self-center py-1 font-weight-light">Explore <span class="d-none d-md-inline">→</span></h2>
151
+ </div>
152
+ </div>
153
+ <div class="col-md-8 p-5 align-self-center text-center">
154
+ {% assign categories_list = site.categories %}
155
+ {% if categories_list.first[0] == null %}
156
+ {% for category in categories_list %}
157
+ <a class="mt-1 mb-1" href="{{site.baseurl}}/categories#{{ category | url_escape | strip | replace: ' ', '-' }}">{{ category | camelcase }} ({{ site.tags[category].size }})</a>
158
+ {% endfor %}
159
+ {% else %}
160
+ {% for category in categories_list %}
161
+ <a class="mt-1 mb-1" href="{{site.baseurl}}/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{ category[0] | camelcase }} ({{ category[1].size }})</a>
162
+ {% endfor %}
163
+ {% endif %}
164
+ {% assign categories_list = nil %}
165
+ </div>
166
+ </div>
167
+ </div>
168
+
169
+ <!-- Begin Footer
170
+ ================================================== -->
171
+ <footer class="footer">
172
+ <div class="container">
173
+ <div class="row">
174
+ <div class="col-md-6 col-sm-6 text-center text-lg-left">
175
+ Copyright © {{ site.time | date: "%Y" }} {{ site.name }}
176
+ </div>
177
+ <div class="col-md-6 col-sm-6 text-center text-lg-right">
178
+ <a target="_blank" href="https://www.wowthemes.net/mediumish-free-jekyll-template/">Mediumish Jekyll Theme</a> by WowThemes.net
179
+ </div>
180
+ </div>
181
+ </div>
182
+ </footer>
183
+ <!-- End Footer
184
+ ================================================== -->
185
+
186
+ </div> <!-- /.site-content -->
187
+
188
+ <!-- Scripts
189
+ ================================================== -->
190
+
191
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
192
+
193
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
194
+
195
+ <script src="{{ site.baseurl }}/assets/js/mediumish.js"></script>
196
+
197
+ {% if site.lazyimages == "enabled" %}
198
+ <script src="{{ site.baseurl }}/assets/js/lazyload.js"></script>
199
+ {% endif %}
200
+
201
+ <script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
202
+
203
+ {% if page.layout == 'post' %}
204
+ <script id="dsq-count-scr" src="//{{site.disqus}}.disqus.com/count.js"></script>
205
+ {% endif %}
206
+
207
+ </body>
208
+ </html>