jekyll-clean-dark 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +96 -0
  3. data/README.md +62 -0
  4. data/_includes/collecttags.html +18 -0
  5. data/_includes/disqus-comments.html +18 -0
  6. data/_includes/disqus-counts.html +12 -0
  7. data/_includes/footer.html +8 -0
  8. data/_includes/google-analytics.html +15 -0
  9. data/_includes/header.html +63 -0
  10. data/_includes/share.html +73 -0
  11. data/_includes/sidebar.html +20 -0
  12. data/_includes/social.html +41 -0
  13. data/_includes/yandex-metrica.html +3 -0
  14. data/_layouts/page.html +21 -0
  15. data/_layouts/post.html +45 -0
  16. data/_layouts/tag_index.html +22 -0
  17. data/_posts/2015-11-01-installation.md +34 -0
  18. data/_posts/2016-07-01-images.md +47 -0
  19. data/_posts/2016-08-01-analytics-tags-comments.md +29 -0
  20. data/_posts/2016-09-16-be-social.md +101 -0
  21. data/_posts/2016-09-20-customizations.md +122 -0
  22. data/_posts/2016-10-01-code-syntax-highlighting.md +81 -0
  23. data/_posts/2016-11-02-text-formatting.md +72 -0
  24. data/_posts/2016-12-01-jekyll-clean-theme.md +27 -0
  25. data/assets/css/bootstrap.min.css +5 -0
  26. data/assets/css/font-awesome/HELP-US-OUT.txt +7 -0
  27. data/assets/css/font-awesome/css/font-awesome.css +2026 -0
  28. data/assets/css/font-awesome/css/font-awesome.min.css +4 -0
  29. data/assets/css/font-awesome/fonts/FontAwesome.otf +0 -0
  30. data/assets/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  31. data/assets/css/font-awesome/fonts/fontawesome-webfont.svg +640 -0
  32. data/assets/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  33. data/assets/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  34. data/assets/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  35. data/assets/css/font-awesome/less/animated.less +34 -0
  36. data/assets/css/font-awesome/less/bordered-pulled.less +25 -0
  37. data/assets/css/font-awesome/less/core.less +12 -0
  38. data/assets/css/font-awesome/less/fixed-width.less +6 -0
  39. data/assets/css/font-awesome/less/font-awesome.less +17 -0
  40. data/assets/css/font-awesome/less/icons.less +677 -0
  41. data/assets/css/font-awesome/less/larger.less +13 -0
  42. data/assets/css/font-awesome/less/list.less +19 -0
  43. data/assets/css/font-awesome/less/mixins.less +26 -0
  44. data/assets/css/font-awesome/less/path.less +15 -0
  45. data/assets/css/font-awesome/less/rotated-flipped.less +20 -0
  46. data/assets/css/font-awesome/less/stacked.less +20 -0
  47. data/assets/css/font-awesome/less/variables.less +688 -0
  48. data/assets/css/font-awesome/scss/_animated.scss +34 -0
  49. data/assets/css/font-awesome/scss/_bordered-pulled.scss +25 -0
  50. data/assets/css/font-awesome/scss/_core.scss +12 -0
  51. data/assets/css/font-awesome/scss/_fixed-width.scss +6 -0
  52. data/assets/css/font-awesome/scss/_icons.scss +677 -0
  53. data/assets/css/font-awesome/scss/_larger.scss +13 -0
  54. data/assets/css/font-awesome/scss/_list.scss +19 -0
  55. data/assets/css/font-awesome/scss/_mixins.scss +26 -0
  56. data/assets/css/font-awesome/scss/_path.scss +15 -0
  57. data/assets/css/font-awesome/scss/_rotated-flipped.scss +20 -0
  58. data/assets/css/font-awesome/scss/_stacked.scss +20 -0
  59. data/assets/css/font-awesome/scss/_variables.scss +688 -0
  60. data/assets/css/font-awesome/scss/font-awesome.scss +17 -0
  61. data/assets/css/pics/background/3px-tile.png +0 -0
  62. data/assets/css/pics/background/asfalt-light.png +0 -0
  63. data/assets/css/pics/background/black-linen.png +0 -0
  64. data/assets/css/pics/background/food.png +0 -0
  65. data/assets/css/pics/background/gplay.png +0 -0
  66. data/assets/css/pics/background/green-dust-and-scratches.png +0 -0
  67. data/assets/css/pics/background/hexellence.png +0 -0
  68. data/assets/css/pics/background/random-grey-variations.png +0 -0
  69. data/assets/css/pics/background/shley-tree-1.png +0 -0
  70. data/assets/css/pics/background/subtle-grey.png +0 -0
  71. data/assets/css/pics/background/triangles.png +0 -0
  72. data/assets/css/pics/background/xv.png +0 -0
  73. data/assets/css/pics/dark-theme-iphone.png +0 -0
  74. data/assets/css/pics/dark-theme-tablet.png +0 -0
  75. data/assets/css/pics/dark-theme-tablet1.png +0 -0
  76. data/assets/css/syntax.scss +148 -0
  77. data/assets/css/theme.scss +377 -0
  78. data/assets/images/ava.jpg +0 -0
  79. data/assets/images/batWid1.png +0 -0
  80. data/assets/images/cc_by_88x31.png +0 -0
  81. data/assets/images/dark_matter.png +0 -0
  82. data/assets/images/deer.jpg +0 -0
  83. data/assets/images/ipad_landscape.PNG +0 -0
  84. data/assets/images/ipad_portrait.PNG +0 -0
  85. data/assets/images/iphone_landscape.PNG +0 -0
  86. data/assets/images/iphone_portrait.PNG +0 -0
  87. data/assets/images/mike.jpeg +0 -0
  88. data/assets/images/preview1.jpg +0 -0
  89. data/assets/images/preview2.jpg +0 -0
  90. data/assets/images/preview3.jpg +0 -0
  91. data/assets/js/bootstrap.min.js +6 -0
  92. data/assets/js/header.js +11 -0
  93. data/assets/js/jquery.min.js +4 -0
  94. data/assets/js/toc.js +88 -0
  95. metadata +107 -28
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14d204ad755d0a30a4706ec193e8ee04a8f8990d
4
- data.tar.gz: 67e0be0c64036f74150cf8e8aff87b2b5431529a
3
+ metadata.gz: b072a13f84f81186d0168e7a759c7b65bcb26168
4
+ data.tar.gz: bf3daa3ca986cf1179db57670d54a748dc4dda86
5
5
  SHA512:
6
- metadata.gz: 648124ef5e7661ab5e594a8e7e7f9d8285d39c35f0f4247d102292593a58d56635884d92c1816092a7c0e293555df51fd04473c5e019074b4876da1df899188a
7
- data.tar.gz: 98aa5a15b77168956dbe4eb634c54bb13882b2d3bf46ad81afbd2de7e17492f5932105d0ba79a1b8cbb8af9289f0bdcc55d6c7dbd22310199718ef870ed0e75a
6
+ metadata.gz: d8e94d5882214d90f17f6d527d6eec2ca0c533464339c5dd8da95820927dab65d179f5ed4f738508e801ec1e7a058c2b1c6abba41e48b41ad4627c433bc94ae5
7
+ data.tar.gz: 11346d2f8a40880b4a51fec49b1c36ffe0d4f50852e0aa8a2cbe39ac7f40330c1b604b2653cf2ace52ffeb7659728dfd5100307207232d4599b5d6f4ffdf8817
data/LICENSE ADDED
@@ -0,0 +1,96 @@
1
+ Creative Commons Attribution 4.0 International Public License
2
+ https://creativecommons.org/licenses/by/4.0/legalcode
3
+
4
+ By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
5
+
6
+ Section 1 – Definitions.
7
+
8
+ Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
9
+ Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
10
+ Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
11
+ Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
12
+ Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
13
+ Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
14
+ Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
15
+ Licensor means the individual(s) or entity(ies) granting rights under this Public License.
16
+ Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
17
+ Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
18
+ You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
19
+
20
+ Section 2 – Scope.
21
+
22
+ License grant.
23
+ Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
24
+ reproduce and Share the Licensed Material, in whole or in part; and
25
+ produce, reproduce, and Share Adapted Material.
26
+ Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
27
+ Term. The term of this Public License is specified in Section 6(a).
28
+ Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
29
+ Downstream recipients.
30
+ Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
31
+ No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
32
+ No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
33
+
34
+ Other rights.
35
+ Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
36
+ Patent and trademark rights are not licensed under this Public License.
37
+ To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
38
+
39
+ Section 3 – License Conditions.
40
+
41
+ Your exercise of the Licensed Rights is expressly made subject to the following conditions.
42
+
43
+ Attribution.
44
+
45
+ If You Share the Licensed Material (including in modified form), You must:
46
+ retain the following if it is supplied by the Licensor with the Licensed Material:
47
+ identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
48
+ a copyright notice;
49
+ a notice that refers to this Public License;
50
+ a notice that refers to the disclaimer of warranties;
51
+ a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
52
+ indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
53
+ indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
54
+ You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
55
+ If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
56
+ If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
57
+
58
+ Section 4 – Sui Generis Database Rights.
59
+
60
+ Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
61
+
62
+ for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
63
+ if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
64
+ You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
65
+
66
+ For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
67
+
68
+ Section 5 – Disclaimer of Warranties and Limitation of Liability.
69
+
70
+ Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
71
+ To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
72
+
73
+ The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
74
+
75
+ Section 6 – Term and Termination.
76
+
77
+ This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
78
+
79
+ Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
80
+ automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
81
+ upon express reinstatement by the Licensor.
82
+ For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
83
+ For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
84
+ Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
85
+
86
+ Section 7 – Other Terms and Conditions.
87
+
88
+ The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
89
+ Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
90
+
91
+ Section 8 – Interpretation.
92
+
93
+ For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
94
+ To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
95
+ No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
96
+ Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
@@ -0,0 +1,62 @@
1
+ Jekyll Clean Dark
2
+ ============
3
+
4
+ [![Gem Version](https://badge.fury.io/rb/jekyll-clean-dark.svg)](https://badge.fury.io/rb/jekyll-clean-dark) - WIP
5
+
6
+ This theme was created on top of Jekyll Clean theme by Scotte, you can view the original version in action [on his blog](https://scotte.github.io).
7
+
8
+ * Get it from [github](https://github.com/streetturtle/jekyll-clean-dark).
9
+ * See the [live demo](http://pavelmakhov.com/jekyll-clean-dark).
10
+ * See it [in action on my own blog](http://pavelmakhov.com).
11
+ * Easily [customizable](http://pavelmakhov.com/jekyll-clean-dark/2016/09/customizations)
12
+
13
+ ![preview1](./assets/images/preview1.jpg)
14
+ ![preview2](./assets/images/preview2.jpg)
15
+ ![preview3](./assets/images/preview3.jpg)
16
+
17
+ This theme uses some parts of Twitter Bootstrap, which allows it to look nice on a mobile devices using a collapsable nav bar and hiding the
18
+ sidebar.
19
+
20
+ Optionally you can use:
21
+
22
+ - [Disqus](http://disqus.com) as a comments system;
23
+ - [Google Analytics](http://www.google.com/analytics/);
24
+ - [Yandex Metrica](http://metrica.yandex.com);
25
+ - Blog tags - check the section below;
26
+ - Share buttons.
27
+
28
+ All these features could be set up in `_config.yml`. Also you can have social icons which could lead to your social profiles. It uses [font-awesome](http://fontawesome.io/), so you can have any icon you want to any social profile. Out-of-the box it has: LinkedIn, GitHub, StackOverflow, LastFm, Instagram. And you can easily add more by adding new style in `theme.css` and setting it in `_config.yml`.
29
+
30
+ Installation
31
+ ============
32
+
33
+ If you dont't have your own blog you can clone this repository and put your articles in a `_posts` folder.
34
+ If you already have your own blog then I think you can clone this repository and copy-paste content keeping your `_posts` folder.
35
+
36
+ After you will have to set up your `_config.yml`
37
+
38
+ Blog tags
39
+ =========
40
+
41
+ To use this feature you simply will need to create a markdown file for each tag which you are using in you site in **tag** folder. To simplify this procedure there is an [/admin](http://pavelmakhov.com/jekyll-clean-dark/admin.html) page, which outputs the bash command which you just need to run inside **tag** folder of your site. Also don't forget to rerun it when you add a post with new tag.
42
+
43
+ License
44
+ =======
45
+
46
+ The content of this theme is distributed and licensed under a
47
+ [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/legalcode)
48
+
49
+ This license lets others distribute, remix, tweak, and build upon your work,
50
+ even commercially, as long as they credit you for the original creation. This
51
+ is the most accommodating of licenses offered. Recommended for maximum
52
+ dissemination and use of licensed materials.
53
+
54
+ In other words: you can do anything you want with this theme on any site, just please
55
+ provide a link to the original theme on github.
56
+
57
+ This theme includes the following files which are the properties of their
58
+ respective owners:
59
+
60
+ * js/bootstrap.min.js - [bootstrap](http://getbootstrap.com)
61
+ * css/bootstrap.min.css - [bootstrap](http://getbootstrap.com)
62
+ * js/jquery.min.js - [jquery](https://jquery.com)
@@ -0,0 +1,18 @@
1
+ {% assign rawtags = "" %}
2
+ {% for post in site.posts %}
3
+ {% assign ttags = post.tags | join:'|' | append:'|' %}
4
+ {% assign rawtags = rawtags | append:ttags %}
5
+ {% endfor %}
6
+ {% assign rawtags = rawtags | split:'|' | sort %}
7
+
8
+ {% assign site.tags = "" %}
9
+ {% for tag in rawtags %}
10
+ {% if tag != "" %}
11
+ {% if tags == "" %}
12
+ {% assign tags = tag | split:'|' %}
13
+ {% endif %}
14
+ {% unless tags contains tag %}
15
+ {% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %}
16
+ {% endunless %}
17
+ {% endif %}
18
+ {% endfor %}
@@ -0,0 +1,18 @@
1
+ {% if page.comments %}
2
+ <!-- Add Disqus comments. -->
3
+ <div id="disqus_thread"></div>
4
+ <script type="text/javascript">
5
+ /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
6
+ var disqus_shortname = '{{ site.disqus }}'; // required: replace example with your forum shortname
7
+ var disqus_identifier = "{{ page.url | replace:'index.html','' }}";
8
+
9
+ /* * * DON'T EDIT BELOW THIS LINE * * */
10
+ (function() {
11
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
12
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
13
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
14
+ })();
15
+ </script>
16
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17
+ <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
18
+ {% endif %}
@@ -0,0 +1,12 @@
1
+ {% if site.comments == true and site.disqus != '' %}
2
+ <script type="text/javascript">
3
+ var disqus_shortname = '{{ site.disqus }}';
4
+
5
+ (function () {
6
+ var s = document.createElement('script'); s.async = true;
7
+ s.type = 'text/javascript';
8
+ s.src = '//' + disqus_shortname + '.disqus.com/count.js';
9
+ (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
10
+ }());
11
+ </script>
12
+ {% endif %}
@@ -0,0 +1,8 @@
1
+ <footer class="footer-distributed">
2
+ <div class="container">
3
+ <div class="footer">
4
+ <p>Pavel Makhov &copy; 2015-2017</p>
5
+ {% include social.html %}
6
+ </div>
7
+ </div>
8
+ </footer>
@@ -0,0 +1,15 @@
1
+ {% if site.google_analytics_key %}
2
+ <script type="text/javascript">
3
+
4
+ var _gaq = _gaq || [];
5
+ _gaq.push(['_setAccount', '{{ site.google_analytics_key }}']);
6
+ _gaq.push(['_trackPageview']);
7
+
8
+ (function() {
9
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
10
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
11
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
12
+ })();
13
+
14
+ </script>
15
+ {% endif %}
@@ -0,0 +1,63 @@
1
+ {% if site.tags != "" %}
2
+ {% include collecttags.html %}
3
+ {% endif %}
4
+
5
+ <html lang="en">
6
+
7
+ <head>
8
+ <meta charset="UTF-8">
9
+ <title>{{ site.name }}{% if page.title %} | {{ page.title }} {% endif %}</title>
10
+ <meta name="theme-color" content="#222222" />
11
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
12
+ <script src="{{ '/assets/js/jquery.min.js' | relative_url }}"></script>
13
+ <script src="{{ '/assets/js/bootstrap.min.js' | relative_url }}"></script>
14
+ <script src="{{ '/assets/js/header.js' | relative_url }}"></script>
15
+ <script src="{{ '/assets/js/toc.js' | relative_url }}"></script>
16
+ <link href="{{ '/assets/css/bootstrap.min.css' | relative_url }}" rel="stylesheet">
17
+ <link href="{{ '/assets/css/theme.css' | relative_url }}" rel="stylesheet">
18
+ <link href="{{ '/assets/css/syntax.css' | relative_url }}" rel="stylesheet">
19
+ <link href="{{ '/assets/css/font-awesome/css/font-awesome.min.css' | relative_url }}" rel="stylesheet">
20
+ </head>
21
+
22
+ <body>
23
+
24
+ {% include google-analytics.html %}
25
+ {% include yandex-metrica.html %}
26
+
27
+ <script type="text/javascript">
28
+ WebFontConfig = {
29
+ google: {
30
+ families: ['Ubuntu::latin']
31
+ }
32
+ };
33
+ (function() {
34
+ var wf = document.createElement('script');
35
+ wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
36
+ '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
37
+ wf.type = 'text/javascript';
38
+ wf.async = 'true';
39
+ var s = document.getElementsByTagName('script')[0];
40
+ s.parentNode.insertBefore(wf, s);
41
+ })();
42
+ </script>
43
+
44
+ <nav class="navbar navbar-inverse navbar-fixed-top">
45
+ <div class="container">
46
+ <div class="navbar-header">
47
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
48
+ <span class="icon-bar"></span>
49
+ <span class="icon-bar"></span>
50
+ <span class="icon-bar"></span>
51
+ </button>
52
+ <a class="navbar-brand" href="{{ '' | relative_url }}/">{{ site.name }}</a>
53
+ </div>
54
+ <div class="collapse navbar-collapse">
55
+ <ul class="nav navbar-nav">
56
+ <li><a href="{{ '' | relative_url }}/">/home</a></li>
57
+ <li><a href="{{ 'archive.html' | relative_url }}">/archive</a></li>
58
+ <li><a href="{{ 'tags.html' | relative_url }}">/tags</a></li>
59
+ <li><a href="{{ 'about.html' | relative_url }}">/about</a></li>
60
+ </ul>
61
+ </div>
62
+ </div>
63
+ </nav>
@@ -0,0 +1,73 @@
1
+ {% if page.share == true %}
2
+
3
+ <div class="share-bar">
4
+ <ul class="share-buttons">
5
+ {% if site.share.facebook %}
6
+ <li class="share-facebook">
7
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url | append: page.url}}" target="_blank" title="Share on Facebook">
8
+ <span class="fa-stack fa-lg">
9
+ <i class="fa fa-square-o fa-stack-2x"></i>
10
+ <i class="fa fa-facebook fa-stack-1x"></i>
11
+ </span>
12
+ </a>
13
+ </li>
14
+ {% endif %}
15
+
16
+ {% if site.share.twitter %}
17
+ <li class="share-twitter">
18
+ <a href="https://twitter.com/intent/tweet?url={{ site.url | append: page.url }}&text={{page.title}}" target="_blank" title="Tweet">
19
+ <span class="fa-stack fa-lg">
20
+ <i class="fa fa-square-o fa-stack-2x"></i>
21
+ <i class="fa fa-twitter fa-stack-1x"></i>
22
+ </span>
23
+ </a>
24
+ </li>
25
+ {% endif %}
26
+
27
+ {% if site.share.gplus %}
28
+ <li class="share-google-plus">
29
+ <a href="https://plus.google.com/share?url={{ site.url | append: page.url}}" target="_blank" title="Share on Google Plus">
30
+ <span class="fa-stack fa-lg">
31
+ <i class="fa fa-square-o fa-stack-2x"></i>
32
+ <i class="fa fa-google-plus fa-stack-1x"></i>
33
+ </span>
34
+ </a>
35
+ </li>
36
+ {% endif %}
37
+
38
+ {% if site.share.linkedin %}
39
+ <li class="share-linkedin">
40
+ <a href="http://www.linkedin.com/shareArticle?mini=true&url={{ site.url | append: page.url }}&title={{page.title}}&summary={{page.description}}&source=" target="_blank" title="Share on LinkedIn">
41
+ <span class="fa-stack fa-lg">
42
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
43
+ <i class="fa fa-linkedin fa-stack-1x"></i>
44
+ </span>
45
+ </a>
46
+ </li>
47
+ {% endif %}
48
+
49
+ {% if site.share.pinterest %}
50
+ <li class="share-pinterest">
51
+ <a href="http://pinterest.com/pin/create/button/?url{{ site.url | append: page.url }}=&description={{page.description}}" target="_blank" title="Pin it">
52
+ <span class="fa-stack fa-lg">
53
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
54
+ <i class="fa fa-pinterest fa-stack-1x"></i>
55
+ </span>
56
+ </a>
57
+ </li>
58
+ {% endif %}
59
+
60
+ {% if site.share.email %}
61
+ <li class="share-envelope">
62
+ <a href="mailto:?&subject={{page.title}}&body={{page.description | append: ' ' | append: site.url | append: page.url}}" target="_blank" title="Email">
63
+ <span class="fa-stack fa-lg">
64
+ <i class="fa fa-circle-thin fa-stack-2x"></i>
65
+ <i class="fa fa-envelope-o fa-stack-1x"></i>
66
+ </span>
67
+ </a>
68
+ </li>
69
+ {% endif %}
70
+
71
+ </ul>
72
+ </div>
73
+ {% endif %}
@@ -0,0 +1,20 @@
1
+ <div class="sidebar ">
2
+ <h2>Recent Posts</h2>
3
+ <ul>
4
+ {% for post in site.posts limit:5 %}
5
+ <li><a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
6
+ {% endfor %}
7
+ </ul>
8
+ </div>
9
+
10
+ <div class="sidebar">
11
+ <h2>Tags</h2>
12
+ <ul class="sideBarTags">
13
+ {% assign tags = (site.tags | sort:0) %}
14
+ {% for tag in tags %}
15
+ <li>
16
+ <a href="{{ '/tag/' | append: tag[0] | relative_url }}" data-toggle="tooltip" data-placement="right" title="{{ tag[1].size }}">
17
+ <span>{{tag[0] }}</span></a></li>
18
+ {% endfor %}
19
+ </ul>
20
+ </div>
@@ -0,0 +1,41 @@
1
+ <h6>Follow me</h6>
2
+
3
+ <ul class="social-media">
4
+
5
+ {% if site.social.github %}
6
+ <li>
7
+ <a title="{{ site.social.github }} on Github" href="https://github.com/{{ site.social.github }}" target="_blank"><i class="fa fa-github fa-2x"></i></a>
8
+ </li>
9
+ {% endif %}
10
+
11
+ {% if site.social.stackoverflow %}
12
+ <li>
13
+ <a title="{{ site.social.stackoverflow }} on StackOverflow" href="https://stackoverflow.com/users/{{ site.social.stackoverflow }}" target="_blank"><i class="fa fa-stack-overflow fa-2x"></i></a>
14
+ </li>
15
+ {% endif %}
16
+
17
+ {% if site.social.linkedin %}
18
+ <li>
19
+ <a title="{{ site.social.linkedin }} on LinkedIn" href="https://www.linkedin.com/in/{{ site.social.linkedin }}" target="_blank"><i class="fa fa-linkedin fa-2x"></i></a>
20
+ </li>
21
+ {% endif %}
22
+
23
+ {% if site.social.instagram %}
24
+ <li>
25
+ <a title="{{ site.social.instagram }} on Instagram" href="https://instagram.com/{{ site.social.instagram }}" target="_blank"><i class="fa fa-instagram fa-2x"></i></a>
26
+ </li>
27
+ {% endif %}
28
+
29
+ {% if site.social.lastfm %}
30
+ <li>
31
+ <a title="{{ site.social.lastfm }} on Last.fm" href="https://www.lastfm.com/user/{{ site.social.lastfm }}" target="_blank"><i class="fa fa-lastfm fa-2x"></i></a>
32
+ </li>
33
+ {% endif %}
34
+
35
+ {% if site.social.rss %}
36
+ <li>
37
+ <a title="{{ site.social.rss }} RSS" href="{{ site.social.rss | relative_url }}" target="_blank"><i class="fa fa-rss fa-2x"></i></a>
38
+ </li>
39
+ {% endif %}
40
+
41
+ </ul>