dark-minima 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +4 -0
- data/_includes/categories_archive.html +15 -0
- data/_includes/categories_list.html +12 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +34 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +15 -0
- data/_includes/header.html +31 -0
- data/_includes/image.html +14 -0
- data/_includes/mathjax.html +6 -0
- data/_includes/post-tags.html +11 -0
- data/_includes/search.html +17 -0
- data/_includes/share_bar.html +69 -0
- data/_includes/social.html +19 -0
- data/_includes/tags_archive.html +15 -0
- data/_includes/tags_cloud.html +14 -0
- data/_includes/toc.html +5 -0
- data/_layouts/default.html +25 -0
- data/_layouts/home.html +34 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +34 -0
- data/_sass/minima.scss +57 -0
- data/_sass/minima/_base.scss +256 -0
- data/_sass/minima/_layout.scss +330 -0
- data/_sass/minima/_share.scss +87 -0
- data/_sass/minima/_syntax-highlighting.scss +210 -0
- data/assets/css/background/3px-tile.png +0 -0
- data/assets/css/background/brick-wall.png +0 -0
- data/assets/css/background/ice-age.png +0 -0
- data/assets/css/style.scss +5 -0
- data/assets/images/posts/annotations-to-pro-git-2e/commit-and-parents.png +0 -0
- data/assets/images/posts/annotations-to-pro-git-2e/commit-and-tree.png +0 -0
- data/assets/js/main.js +73 -0
- data/assets/js/simple-jekyll-search.min.js +6 -0
- data/assets/json/search.json +16 -0
- data/assets/minima-social-icons.svg +39 -0
- metadata +153 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 28f7a86c0dd0c35a0b891fcb633f4df3cc511a57da9dd69227478ce632b289f8
|
4
|
+
data.tar.gz: ab78f7b821e279cee85bb892da15bbad734cd50244b7f1ffeb05274ed1791211
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1ae6c5fd8cb82b94fb060409aeb82d94da6d2859dbb12d78d0bc3934ce05b6fd9d6d95a891b43a75cfd7d6c33bf52aa1ff75a5e16e6fd836e30ce5df46c88475
|
7
|
+
data.tar.gz: '096ad87979944fb2e412a839f56172d669806f26401e83e4bdeb9a4eb1ce04cdde9fef7d8403deb544f02e088f8963a0b097580d4ef5986a973fd3fef21796fd'
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2019 Songzi Alexander Vong
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
<ul>
|
2
|
+
{% for category in site.categories %}
|
3
|
+
{% if category[0] == page.category %}
|
4
|
+
{% assign post_list = category[1] %}
|
5
|
+
{%- for post in post_list -%}
|
6
|
+
<li>
|
7
|
+
<span>{{ post.date | date: "%Y-%m-%d" }}</span> »
|
8
|
+
<a href="{{ post.url | relative_url }}">
|
9
|
+
{{ post.title | escape }}
|
10
|
+
</a>
|
11
|
+
</li>
|
12
|
+
{%- endfor -%}
|
13
|
+
{%- endif -%}
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<ul class="category-list">
|
2
|
+
{% assign categories = site.categories | sort %}
|
3
|
+
{% for category in categories %}
|
4
|
+
<li class="site-category">
|
5
|
+
<h2>
|
6
|
+
<a class="site-category-text" href="{{ site.baseurl }}/categories/{{ category | first | slugify }}.html">
|
7
|
+
{{ category[0] }}
|
8
|
+
</a>
|
9
|
+
</h2>
|
10
|
+
</li>
|
11
|
+
{% endfor %}
|
12
|
+
</ul>
|
@@ -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,34 @@
|
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
+
|
4
|
+
<div class="wrapper">
|
5
|
+
|
6
|
+
<div class="footer-col-wrapper">
|
7
|
+
<div class="footer-col one-half">
|
8
|
+
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
9
|
+
<ul class="contact-list">
|
10
|
+
<li class="p-name">
|
11
|
+
{%- if site.author -%}
|
12
|
+
{{ site.author | escape }}
|
13
|
+
{%- else -%}
|
14
|
+
{{ site.title | escape }}
|
15
|
+
{%- endif -%}
|
16
|
+
</li>
|
17
|
+
{%- if site.email -%}
|
18
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
19
|
+
{%- endif -%}
|
20
|
+
</ul>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div class="footer-col one-half">
|
24
|
+
<p>{{- site.description | escape -}}</p>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="social-links">
|
28
|
+
{%- include social.html -%}
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
</div>
|
33
|
+
|
34
|
+
</footer>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
2
|
+
<script>
|
3
|
+
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.google_analytics }}');
|
9
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,15 @@
|
|
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
|
+
{%- seo -%}
|
6
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
7
|
+
{%- feed_meta -%}
|
8
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
9
|
+
{%- include google-analytics.html -%}
|
10
|
+
{%- endif -%}
|
11
|
+
{%- if page.math -%}
|
12
|
+
{%- include mathjax.html -%}
|
13
|
+
{%- endif -%}
|
14
|
+
<script type="text/javascript" src="{{ "/assets/js/main.js" | relative_url }}"></script>
|
15
|
+
</head>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<header class="site-header">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.data.navigation | default: default_paths -%}
|
6
|
+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
7
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
8
|
+
|
9
|
+
{%- if titles_size > 0 -%}
|
10
|
+
<nav class="site-nav">
|
11
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
12
|
+
<label for="nav-trigger">
|
13
|
+
<span class="menu-icon">
|
14
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
15
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
16
|
+
</svg>
|
17
|
+
</span>
|
18
|
+
</label>
|
19
|
+
|
20
|
+
<div class="trigger">
|
21
|
+
{%- for path in page_paths -%}
|
22
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
23
|
+
{%- if my_page.title -%}
|
24
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
25
|
+
{%- endif -%}
|
26
|
+
{%- endfor -%}
|
27
|
+
</div>
|
28
|
+
</nav>
|
29
|
+
{%- endif -%}
|
30
|
+
</div>
|
31
|
+
</header>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% if page.filename %}
|
2
|
+
{% capture imagePath %}{{ page.filename | slugify }}/{{ include.name }}{% endcapture %}
|
3
|
+
{% else %}
|
4
|
+
{% capture imagePath %}{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% if include.caption %}
|
8
|
+
<figure>
|
9
|
+
<img src="{{ site.baseurl }}/assets/images/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
10
|
+
<figcaption>{{ include.caption }}</figcaption>
|
11
|
+
</figure>
|
12
|
+
{% else %}
|
13
|
+
<img src="{{ site.baseurl }}/assets/images/posts/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
|
14
|
+
{% endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="tags-bar">
|
2
|
+
{% assign tags = page.tags | sort %}
|
3
|
+
{% for tag in tags %}
|
4
|
+
<span class="tag-wrapper">
|
5
|
+
<a class="tag-text" href="{{ site.baseurl }}/tags/{{ tag | slugify }}.html">{{ tag | replace:'-', ' ' }}</a>
|
6
|
+
</span>
|
7
|
+
{% endfor %}
|
8
|
+
</div>
|
9
|
+
<script type="text/javascript">
|
10
|
+
setInvertedColor('tag-text');
|
11
|
+
</script>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- Html Elements for Search -->
|
2
|
+
<div id="search-container">
|
3
|
+
<input type="text" id="search-input" placeholder="search...">
|
4
|
+
<ul id="results-container"></ul>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<!-- Script pointing to search-script.js -->
|
8
|
+
<script src="{{ '/assets/js/simple-jekyll-search.min.js' | absolute_url }}" type="text/javascript"></script>
|
9
|
+
|
10
|
+
<!-- Configuration -->
|
11
|
+
<script>
|
12
|
+
SimpleJekyllSearch({
|
13
|
+
searchInput: document.getElementById('search-input'),
|
14
|
+
resultsContainer: document.getElementById('results-container'),
|
15
|
+
json: "{{ '/assets/json/search.json' | absolute_url }}"
|
16
|
+
})
|
17
|
+
</script>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
{%- if page.share != false and jekyll.environment == "production" and site.data.share -%}
|
2
|
+
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
3
|
+
<div id="share-bar">
|
4
|
+
<div class="share-buttons">
|
5
|
+
{% if site.data.share.facebook %}
|
6
|
+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
7
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
8
|
+
title="Share on Facebook" >
|
9
|
+
<i class="fa fa-facebook-official share-button"></i>
|
10
|
+
</a>
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% if site.data.share.twitter %}
|
14
|
+
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
15
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
16
|
+
title="Share on Twitter" >
|
17
|
+
<i class="fa fa-twitter share-button"></i>
|
18
|
+
</a>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% if site.data.share.google %}
|
22
|
+
<a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
23
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
24
|
+
title="Share on Google+" >
|
25
|
+
<i class="fa fa-google-plus share-button"></i>
|
26
|
+
</a>
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
{% if site.data.share.pinterest %}
|
30
|
+
<a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
31
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
32
|
+
title="Share on Pinterest" >
|
33
|
+
<i class="fa fa-pinterest-p share-button"></i>
|
34
|
+
</a>
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
{% if site.data.share.tumblr %}
|
38
|
+
<a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
39
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
40
|
+
title="Share on Tumblr" >
|
41
|
+
<i class="fa fa-tumblr share-button"></i>
|
42
|
+
</a>
|
43
|
+
{% endif %}
|
44
|
+
|
45
|
+
{% if site.data.share.reddit %}
|
46
|
+
<a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
47
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
48
|
+
title="Share on Reddit" >
|
49
|
+
<i class="fa fa-reddit-alien share-button"></i>
|
50
|
+
</a>
|
51
|
+
{% endif %}
|
52
|
+
|
53
|
+
{% if site.data.share.linkedin %}
|
54
|
+
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ site.baseurl }}{{ page.url }}&title={{ page.title }}&summary={{ page.description }}&source={{ site.title }}"
|
55
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
56
|
+
title="Share on LinkedIn" >
|
57
|
+
<i class="fa fa-linkedin share-button"></i>
|
58
|
+
</a>
|
59
|
+
{% endif %}
|
60
|
+
|
61
|
+
{% if site.data.share.mail %}
|
62
|
+
<a href="mailto:?subject={{ page.title }}&body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
63
|
+
title="Share via Email" >
|
64
|
+
<i class="fa fa-envelope share-button"></i>
|
65
|
+
</a>
|
66
|
+
{% endif %}
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
{%- endif -%}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{%- assign social = site.minima.social_links -%}
|
2
|
+
|
3
|
+
<ul class="social-media-list">
|
4
|
+
{%- if social.dribbble -%}<li><a href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
5
|
+
{%- if social.facebook -%}<li><a href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
6
|
+
{%- if social.flickr -%}<li><a href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
7
|
+
{%- if social.github -%}<li><a href="https://github.com/{{ social.github | cgi_escape | escape }}" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
8
|
+
{%- if social.instagram -%}<li><a href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
9
|
+
{%- if social.linkedin -%}<li><a href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
10
|
+
{%- if social.pinterest -%}<li><a href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
11
|
+
{%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
12
|
+
{%- if social.twitter -%}<li><a href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
13
|
+
{%- if social.youtube -%}<li><a href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
14
|
+
{%- if social.youtube_channel -%}<li><a href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
15
|
+
{%- if social.telegram -%}<li><a href="https://t.me/{{ social.telegram | cgi_escape | escape }}" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
16
|
+
{%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
17
|
+
{%- if social.googleplus -%}<li><a href="https://plus.google.com/{{ social.googleplus | escape }}" title="{{ social.googleplus | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
18
|
+
{%- if social.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" title="{{ social.rss | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
19
|
+
</ul>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<ul>
|
2
|
+
{% for tag in site.tags %}
|
3
|
+
{% if tag[0] == page.tag %}
|
4
|
+
{% assign post_list = tag[1] %}
|
5
|
+
{%- for post in post_list -%}
|
6
|
+
<li>
|
7
|
+
<span>{{ post.date | date: "%Y-%m-%d" }}</span> »
|
8
|
+
<a href="{{ post.url | relative_url }}">
|
9
|
+
{{ post.title | escape }}
|
10
|
+
</a>
|
11
|
+
</li>
|
12
|
+
{%- endfor -%}
|
13
|
+
{%- endif -%}
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<p class="tag-cloud">
|
2
|
+
{% assign tags = site.tags | sort %}
|
3
|
+
{% for tag in tags %}
|
4
|
+
<span class="tag-wrapper">
|
5
|
+
<a class="tag-text" href="{{ site.baseurl }}/tags/{{ tag | first | slugify }}.html" style="font-size: {{ tag | last | size | times: 4 | plus: 80 }}%;">
|
6
|
+
{{ tag[0] | replace:'-', ' ' }}
|
7
|
+
</a>
|
8
|
+
</span>
|
9
|
+
{% endfor %}
|
10
|
+
</p>
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
setInvertedColor('tag-text');
|
14
|
+
</script>
|
data/_includes/toc.html
ADDED
@@ -0,0 +1,25 @@
|
|
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
|
+
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{%- include footer.html -%}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
|
20
|
+
{% if site.data.background %}
|
21
|
+
<script>
|
22
|
+
document.body.style.backgroundImage = `url('{{ site.data.background.path }}')`;
|
23
|
+
</script>
|
24
|
+
{% endif %}
|
25
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="home card">
|
6
|
+
{%- if page.title -%}
|
7
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
8
|
+
{%- endif -%}
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
{%- if site.posts.size > 0 -%}
|
13
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
14
|
+
<ul class="post-list">
|
15
|
+
{%- for post in site.posts -%}
|
16
|
+
<li>
|
17
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
18
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
19
|
+
<h3>
|
20
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
21
|
+
{{ post.title | escape }}
|
22
|
+
</a>
|
23
|
+
</h3>
|
24
|
+
{%- if site.show_excerpts -%}
|
25
|
+
{{ post.excerpt }}
|
26
|
+
{%- endif -%}
|
27
|
+
</li>
|
28
|
+
{%- endfor -%}
|
29
|
+
</ul>
|
30
|
+
|
31
|
+
<p class="feed-subscribe"><svg class="svg-icon orange"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p>
|
32
|
+
{%- endif -%}
|
33
|
+
|
34
|
+
</div>
|
data/_layouts/page.html
ADDED