jekyll-theme-handwritten 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +79 -0
  4. data/_config.yml +54 -0
  5. data/_data/images.json +3 -0
  6. data/_includes/disqus_comments.html +20 -0
  7. data/_includes/footer.html +29 -0
  8. data/_includes/google-analytics.html +12 -0
  9. data/_includes/head.html +38 -0
  10. data/_includes/header.html +33 -0
  11. data/_includes/icon-github.html +1 -0
  12. data/_includes/icon-github.svg +1 -0
  13. data/_includes/icon-twitter.html +1 -0
  14. data/_includes/icon-twitter.svg +1 -0
  15. data/_includes/navrail.html +17 -0
  16. data/_includes/social.html +14 -0
  17. data/_includes/theme_selector.html +35 -0
  18. data/_layouts/default.html +23 -0
  19. data/_layouts/home.html +80 -0
  20. data/_layouts/page.html +14 -0
  21. data/_layouts/post.html +35 -0
  22. data/_sass/minima/_base.scss +839 -0
  23. data/_sass/minima/_layout.scss +291 -0
  24. data/_sass/minima/_mysass.scss +248 -0
  25. data/_sass/minima/_syntax-highlighting.scss +68 -0
  26. data/_sass/minima.scss +52 -0
  27. data/assets/main.scss +5 -0
  28. data/assets/minima-social-icons.svg +33 -0
  29. data/assets/theme-assets/js/theme.js +27 -0
  30. data/assets/theme-assets/material-theme/colors.module.css +294 -0
  31. data/assets/theme-assets/material-theme/theme.css +5 -0
  32. data/assets/theme-assets/material-theme/theme.dark.css +51 -0
  33. data/assets/theme-assets/material-theme/theme.light.css +51 -0
  34. data/assets/theme-assets/material-theme/tokens.css +303 -0
  35. data/assets/theme-assets/material-theme/typography.module.css +150 -0
  36. data/assets/theme-assets/theme-fonts/Virgil.woff2 +0 -0
  37. data/assets/theme-assets/theme-fonts/comic shanns.otf +0 -0
  38. data/assets/theme-assets/theme-icons/aboutme-small.svg +103 -0
  39. data/assets/theme-assets/theme-icons/aboutme.svg +10 -0
  40. data/assets/theme-assets/theme-icons/bookmark.svg +10 -0
  41. data/assets/theme-assets/theme-icons/categories-rough.svg +10 -0
  42. data/assets/theme-assets/theme-icons/categories.svg +1 -0
  43. data/assets/theme-assets/theme-icons/categories2.svg +10 -0
  44. data/assets/theme-assets/theme-icons/divider.svg +10 -0
  45. data/assets/theme-assets/theme-icons/home-rough.svg +10 -0
  46. data/assets/theme-assets/theme-icons/home.svg +6 -0
  47. data/assets/theme-assets/theme-icons/home2.svg +10 -0
  48. data/assets/theme-assets/theme-icons/info.svg +1 -0
  49. data/assets/theme-assets/theme-icons/pin.svg +19 -0
  50. data/assets/theme-assets/theme-images/border-thick.svg +16 -0
  51. data/assets/theme-assets/theme-images/comp.png +0 -0
  52. data/assets/theme-assets/theme-images/comp.svg +10 -0
  53. data/assets/theme-assets/theme-images/logo.png +0 -0
  54. data/assets/theme-assets/theme-images/logo.svg +10 -0
  55. data/assets/theme-assets/theme-images/menu.svg +10 -0
  56. metadata +97 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d4e3f0a3a52c59bb50bba8448f048cd81662b3dd79000e2a3f3014016d88356d
4
+ data.tar.gz: d1a2639f84f633cf276106eb3354f62228797f2f9b1795a5bb819787165d0a37
5
+ SHA512:
6
+ metadata.gz: c31c5deee4de58ecb62497110086236defce08624325cf6f3b4c8ea74085d6c8d4929bb8b3ecba923c98b32410436baaf52ee78411e1bef2a72c0d122240c802
7
+ data.tar.gz: 41d5f31c38f9952134e1c8fb8f0ae63a7212789035c429b50983f0dc4ce35fa62ac74b2b57c926853d515f502f8c28ffd24115de32e3d77ad36d59ed4a8080e6
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Gul Noor
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
13
+ all 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
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,79 @@
1
+ # Dark Theme for Jekyll Blogs
2
+
3
+ Dark theme for [Jekyll](https://jekyllrb.com/) blogs with handwriting fonts and 5 color schemes.
4
+ | | |
5
+ | ----------------------- | ----------------------- |
6
+ | ![GitHub](/etc/ss1.png) | ![GitHub](/etc/ss2.png) |
7
+
8
+ ## Installation
9
+
10
+ if you are using github pages, the recommended method is following:
11
+
12
+ - Add following lines to your `Gemfile`:
13
+
14
+ ```ruby
15
+ source "https://rubygems.org"
16
+
17
+ gem "github-pages", "~> 231", group: :jekyll_plugins
18
+ gem "jekyll-include-cache", group: :jekyll_plugins
19
+ ```
20
+
21
+ - Add jekyll-include-cache to the plugins array of your `_config.yml`
22
+
23
+ ```yaml
24
+ plugins:
25
+ - jekyll-include-cache
26
+ ```
27
+
28
+ - And then execute this command in shell:
29
+
30
+ ```bash
31
+ $ bundle
32
+ ```
33
+
34
+ - Add this your `_config.yml` file.
35
+
36
+ ```yml
37
+ remote_theme: "gulnoor/jekyll-theme-handwritten"
38
+ ```
39
+
40
+ - Remove any other theme: or remote_theme: entry.
41
+
42
+ ## Alternate Method
43
+
44
+ Add this line to your Jekyll site's `Gemfile`:
45
+
46
+ ```ruby
47
+ gem "jekyll-theme-handwritten"
48
+ ```
49
+
50
+ And add this line to your Jekyll site's `_config.yml`:
51
+
52
+ ```yaml
53
+ theme: jekyll-theme-handwritten
54
+ ```
55
+
56
+ And then execute:
57
+
58
+ $ bundle
59
+
60
+ Or install it yourself as:
61
+
62
+ $ gem install jekyll-theme-handwritten
63
+
64
+ ## Usage
65
+
66
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
67
+
68
+ ### TODO
69
+
70
+ - [ ] Add support for comments
71
+ - [ ] Search functionality
72
+
73
+ ## Contributing
74
+
75
+ Bug reports and pull requests are welcome on GitHub at https://github.com/gulnoor/darkBlog
76
+
77
+ ## License
78
+
79
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,54 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+ #
11
+ # If you need help with YAML syntax, here are some quick references for you:
12
+ # https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13
+ # https://learnxinyminutes.com/docs/yaml/
14
+ #
15
+ # Site settings
16
+ # These are used to personalize your new site. If you look in the HTML files,
17
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18
+ # You can create any custom variable you would like, and they will be accessible
19
+ # in the templates via {{ site.myvariable }}.
20
+ show_excerpts: true
21
+ title: Awesome Title
22
+ email: your-email@example.com
23
+ tagline: My Awesome Tagline
24
+ description: >- # this means to ignore newlines until "baseurl:"
25
+ Write an awesome description for your new site here. You can edit this
26
+ line in _config.yml. It will appear in your document head meta (for
27
+ Google search results) and in your feed.xml site description.
28
+ baseurl: "" # the subpath of your site, e.g. /blog
29
+ url: "" # the base hostname & protocol for your site, e.g. http://example.com
30
+ twitter_username: jekyllrb
31
+ github_username: jekyll
32
+ home_icon: /assets/theme-assets/theme-icons/home2.svg
33
+ # Build settings
34
+ plugins:
35
+ - jekyll-feed
36
+ # Exclude from processing.
37
+ # The following items will not be processed, by default.
38
+ # Any item listed under the `exclude:` key here will be automatically added to
39
+ # the internal "default list".
40
+ #
41
+ # Excluded items can be processed by explicitly listing the directories or
42
+ # their entries' file path in the `include:` list.
43
+ #
44
+ # exclude:
45
+ # - .sass-cache/
46
+ # - .jekyll-cache/
47
+ # - gemfiles/
48
+ # - Gemfile
49
+ # - Gemfile.lock
50
+ # - node_modules/
51
+ # - vendor/bundle/
52
+ # - vendor/cache/
53
+ # - vendor/gems/
54
+ # - vendor/ruby/
data/_data/images.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "logo":"/assets/images/logo"
3
+ }
@@ -0,0 +1,20 @@
1
+ {%- if page.comments != false and jekyll.environment == "production" -%}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {%- endif -%}
@@ -0,0 +1,29 @@
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+ <div class="wrapper">
4
+ <h2 class="footer-heading">{{ site.title | escape }}</h2>
5
+ <div class="footer-col-wrapper">
6
+ <div class="footer-col footer-col-1">
7
+ <ul class="contact-list">
8
+ <li class="p-name">
9
+ {%- if site.author -%}
10
+ {{ site.author | escape }}
11
+ {%- else -%}
12
+ {{ site.title | escape }}
13
+ {%- endif -%}
14
+ </li>
15
+ {%- if site.email -%}
16
+ <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
17
+ {%- endif -%}
18
+ </ul>
19
+ <!-- <p id="diplayselectedtheme"></p> -->
20
+ </div>
21
+ <div class="footer-col footer-col-2">
22
+ {%- include social.html -%}
23
+ </div>
24
+ <div class="footer-col footer-col-3">
25
+ <p>{{- site.description | escape -}}</p>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </footer>
@@ -0,0 +1,12 @@
1
+ <script>
2
+ if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7
+
8
+ ga('create', '{{ site.google_analytics }}', 'auto');
9
+ ga('send', 'pageview');
10
+ }
11
+ </script>
12
+
@@ -0,0 +1,38 @@
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
+ <link
6
+ rel="preload"
7
+ href="/assets/theme-assets/theme-fonts/Virgil.woff2"
8
+ as="font"
9
+ type="font/woff2"
10
+ crossorigin
11
+ >
12
+ {% comment %} {%- seo -%} {% endcomment %}
13
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
14
+ <script>
15
+ const colors = {
16
+ 'dark-pink': '#f0b3e7',
17
+ 'dark-green': '#b1d18a',
18
+ 'dark-yellow': '#dbc66e',
19
+ 'dark-blue': '#aac7ff',
20
+ 'dark-cyan': '#81d5cd',
21
+ };
22
+ const root = document.querySelector('html');
23
+ const theme = window.localStorage.getItem('theme');
24
+ if (theme === null) {
25
+ window.localStorage.setItem('theme', 'dark-pink');
26
+ root.className = 'dark-pink';
27
+ root.style.setProperty('--current-color', colors['dark-pink']);
28
+ } else {
29
+ root.className = theme;
30
+ root.style.setProperty('--current-color', colors[theme]);
31
+ }
32
+ </script>
33
+ <script src="/assets/theme-assets/js/theme.js" defer></script>
34
+ {% comment %} {%- feed_meta -%} {% endcomment %}
35
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
36
+ {%- include google-analytics.html -%}
37
+ {%- endif -%}
38
+ </head>
@@ -0,0 +1,33 @@
1
+ <header class="site-header" role="banner">
2
+ {%- include theme_selector.html -%}
3
+
4
+ <div class="wrapper header-container">
5
+ {%- assign default_paths = site.pages | map: 'path' -%}
6
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
7
+
8
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
9
+ {%- if site.tagline -%}
10
+ <span class="tagline">{{ site.tagline }}</span>
11
+ {%- endif -%}
12
+ <!-- <img class="logo" src="{{- "assets/theme-assets/theme-images/logo.svg" | relative_url -}}"> -->
13
+ </div>
14
+ {%- if page_paths -%}
15
+ <nav class="wrapper site-nav">
16
+ <input type="checkbox" id="nav-trigger" class="nav-trigger">
17
+ <label for="nav-trigger">
18
+ <span class="menu-icon">
19
+ <img src="{{- "assets/theme-assets/theme-images/menu.svg" | relative_url -}}" alt="menu-icon">
20
+ </span>
21
+ </label>
22
+
23
+ <div class=" trigger">
24
+ {%- for path in page_paths -%}
25
+ {%- assign my_page = site.pages | where: 'path', path | first -%}
26
+ {%- if my_page.title -%}
27
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
28
+ {%- endif -%}
29
+ {%- endfor -%}
30
+ </div>
31
+ </nav>
32
+ {%- endif -%}
33
+ </header>
@@ -0,0 +1 @@
1
+ <a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -0,0 +1 @@
1
+ <a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
@@ -0,0 +1,17 @@
1
+ {%- if page_paths -%}
2
+ <nav class="navrail">
3
+ <a class="navrail-button" href="/">
4
+ <img class="navrail-icon" src="{{- site.home_icon | relative_url -}}" />
5
+ Home</a
6
+ >
7
+
8
+ {%- for path in page_paths -%} {%- assign my_page = site.pages | where:
9
+ 'path', path | first -%} {%- if my_page.title -%}
10
+ <a class="navrail-button" href="{{ my_page.url | relative_url }}">
11
+ {%- if my_page.title -%}
12
+ <img class="navrail-icon" src="{{- my_page.icon | relative_url -}}" />
13
+ {%- endif -%} {{ my_page.title | escape }}
14
+ </a>
15
+ {%- endif -%} {%- endfor -%}
16
+ </nav>
17
+ {%- endif -%}
@@ -0,0 +1,14 @@
1
+ <ul class="social-media-list">
2
+ {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
3
+ {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
4
+ {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
5
+ {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
6
+ {%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
7
+ {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
8
+ {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
9
+ {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
10
+ {%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
11
+ {%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
12
+ {%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
13
+ {%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
14
+ </ul>
@@ -0,0 +1,35 @@
1
+ <div class="theme-selector" id="themeSelector">
2
+ <div class="theme-options" id="themeOptions">
3
+ <div
4
+ id="pink-theme"
5
+ class="theme-option pink-theme"
6
+ data-theme-class="dark-pink"
7
+ data-color="#f0b3e7"
8
+ ></div>
9
+ <div
10
+ id="green-theme"
11
+ class="theme-option"
12
+ data-theme-class="dark-green"
13
+ data-color="#b1d18a"
14
+ ></div>
15
+ <div
16
+ id="yellow-theme"
17
+ class="theme-option"
18
+ data-theme-class="dark-yellow"
19
+ data-color="#dbc66e"
20
+ ></div>
21
+ <div
22
+ data-theme-class="dark-blue"
23
+ id="blue-theme"
24
+ class="theme-option"
25
+ data-color="#aac7ff"
26
+ ></div>
27
+ <div
28
+ data-theme-class="dark-cyan"
29
+ id="cyan-theme"
30
+ class="theme-option"
31
+ data-color="#81d5cd"
32
+ ></div>
33
+ </div>
34
+ <div class="current-theme" id="currentTheme"></div>
35
+ </div>
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body >
7
+
8
+ {%- include header.html -%}
9
+ {%- include navrail.html -%}
10
+
11
+
12
+ <main class="page-content" aria-label="Content">
13
+
14
+ {{ content }}
15
+
16
+
17
+ </main>
18
+
19
+ {%- include footer.html -%}
20
+
21
+ </body>
22
+
23
+ </html>
@@ -0,0 +1,80 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="home">
5
+ {%- if page.title -%}
6
+ <h1 class="page-heading">{{ page.title }}</h1>
7
+ {%- endif -%}
8
+
9
+ {{ content }}
10
+
11
+ {%- if site.posts.size > 0 -%}
12
+ <h1 class="post-title">{{ page.list_title | default: 'Pinned Posts' }}</h1>
13
+ <ul class="pinned-post-list">
14
+ {%- for post in site.posts -%}
15
+ {%- if post.status == 'pinned' -%}
16
+ <li class="pinned-post-card custom-border">
17
+ <svg
18
+ class="pin-svg"
19
+ version="1.1"
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ viewBox="0 0 54.8289715891961 122.91502231693698"
22
+ width="164.4869147675883"
23
+ height="368.74506695081095"
24
+ >
25
+ <defs>
26
+ <style class="style-fonts">
27
+ </style>
28
+
29
+ </defs>
30
+ <g stroke-linecap="round">
31
+ <g transform="translate(17.963502922513044 98.1012728373579) rotate(0 10.35400784427901 -36.6392819047461)">
32
+ <path
33
+ fill="none"
34
+ class="pin-path"
35
+ d="M-0.92 0.05 C-0.85 -7.96, -1.61 -37.45, 0.46 -48.12 C2.52 -58.8, 8.31 -63.66, 11.46 -64.01 C14.61 -64.36, 17.92 -61.96, 19.34 -50.21 C20.76 -38.46, 20.48 -4.19, 20 6.49 C19.52 17.16, 20.01 12.99, 16.44 13.85 C12.87 14.71, 2.49 13.98, -1.43 11.64 C-5.36 9.29, -6.38 13.15, -7.1 -0.21 C-7.81 -13.57, -8.39 -54.05, -5.72 -68.55 C-3.06 -83.05, 3.85 -87.21, 8.89 -87.23 C13.93 -87.26, 21.52 -74.71, 24.52 -68.68 C27.52 -62.66, 26.27 -53.89, 26.87 -51.11 M0.8 -0.97 C0.75 -9.29, -1.95 -39.43, -0.23 -49.77 C1.5 -60.1, 7.79 -63.14, 11.17 -62.99 C14.54 -62.84, 18.74 -60.01, 20.02 -48.88 C21.29 -37.74, 19.22 -6.54, 18.81 3.8 C18.39 14.14, 21.3 11.55, 17.53 13.15 C13.75 14.76, -0.1 15.77, -3.84 13.45 C-7.59 11.12, -4.38 13.08, -4.95 -0.79 C-5.52 -14.66, -9.58 -55.22, -7.24 -69.77 C-4.91 -84.32, 3.68 -88.43, 9.08 -88.08 C14.47 -87.73, 22.38 -73.79, 25.11 -67.69 C27.84 -61.59, 25.42 -54.5, 25.45 -51.48"
36
+ ></path>
37
+ </g>
38
+ </g>
39
+ <mask></mask>
40
+ </svg>
41
+ {%- if post.image -%}
42
+ <img class="post-image" src="{{- post.image | relative_url -}}">
43
+ {%- endif -%}
44
+ <a class="post-link" href="{{ post.url | relative_url }}">
45
+ {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
46
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
47
+ <h3 class="card-title">
48
+ {{ post.title | escape }}
49
+ </h3>
50
+ <span class="post-excerpt">{{ post.excerpt }}</span>
51
+ </a>
52
+ </li>
53
+ {%- endif -%}
54
+ {%- endfor -%}
55
+ </ul>
56
+ {%- endif -%}
57
+ <div class="all-post-wrapper">
58
+ {%- if site.posts.size > 0 -%}
59
+ <h1 class="post-title">{{ page.list_title | default: 'All Posts' }}</h1>
60
+ <ul class="post-list">
61
+ {%- for post in site.posts -%}
62
+ <li class="post-card custom-border">
63
+ {%- if post.image -%}
64
+ <img class="post-image" src="{{- post.image | relative_url -}}">
65
+ {%- endif -%}
66
+ <a class="post-link" href="{{ post.url | relative_url }}">
67
+ {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
68
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
69
+ <h3 class="card-title">
70
+ {{ post.title | escape }}
71
+ </h3>
72
+ <span class="post-excerpt">{{ post.excerpt }}</span>
73
+ </a>
74
+ </li>
75
+ {%- endfor -%}
76
+ </ul>
77
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
78
+ {%- endif -%}
79
+ </div>
80
+ </div>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="wrapper">
6
+ <article class="post">
7
+ <header class="post-header">
8
+ <h1 class="post-title">{{ page.title | escape }}</h1>
9
+ </header>
10
+
11
+ <div class="post-content">{{ content }}</div>
12
+ </article>
13
+
14
+ </div>
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="wrapper">
5
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
6
+ <header class="post-header">
7
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ {%- if page.image -%}
9
+ <img src="{{- page.image | relative_url -}}" alt="" class="featured-image">
10
+ {%- endif -%}
11
+ <p class="post-meta">
12
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
13
+ {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
14
+ {{ page.date | date: date_format }}
15
+ </time>
16
+ {%- if page.author -%}
17
+
18
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person"
19
+ ><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span
20
+ >
21
+ {%- endif -%}
22
+ </p>
23
+ </header>
24
+
25
+ <div class="post-content e-content" itemprop="articleBody">
26
+ {{ content }}
27
+ </div>
28
+
29
+ {%- if site.disqus.shortname -%}
30
+ {%- include disqus_comments.html -%}
31
+ {%- endif -%}
32
+
33
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
34
+ </article>
35
+ </div>