better-minima 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +167 -34
- data/_includes/custom-head.html +6 -6
- data/_includes/disqus_comments.html +20 -20
- data/_includes/footer.html +28 -28
- data/_includes/google-analytics.html +9 -9
- data/_includes/head.html +14 -14
- data/_includes/header.html +31 -31
- data/_includes/landing-hero.html +12 -12
- data/_includes/landing.html +4 -4
- data/_includes/social.html +21 -21
- data/_layouts/default.html +10 -10
- data/_layouts/home.html +76 -76
- data/_layouts/html_scaffold.html +13 -13
- data/_layouts/page.html +14 -14
- data/_layouts/post.html +38 -38
- data/_sass/minima/_base.scss +291 -291
- data/_sass/minima/_layout.scss +382 -381
- data/_sass/minima/custom-styles.scss +2 -2
- data/_sass/minima/custom-variables.scss +1 -1
- data/_sass/minima/initialize.scss +50 -50
- data/_sass/minima/skins/classic.scss +91 -91
- data/_sass/minima/skins/dark.scss +95 -95
- data/_sass/minima/skins/solarized-dark.scss +4 -4
- data/_sass/minima/skins/solarized.scss +140 -140
- data/assets/better-minima-social-icons.svg +51 -51
- data/assets/css/style.scss +7 -7
- data/assets/img/posts/dirtycow.jpg +0 -0
- data/assets/img/posts/shellshock.jpg +0 -0
- metadata +3 -3
data/_layouts/home.html
CHANGED
@@ -1,77 +1,77 @@
|
|
1
|
-
---
|
2
|
-
layout: html_scaffold
|
3
|
-
---
|
4
|
-
|
5
|
-
<main class="landing-page" aria-label="Content">
|
6
|
-
|
7
|
-
{%- include landing.html -%}
|
8
|
-
|
9
|
-
<div class="wrapper home-wrapper">
|
10
|
-
|
11
|
-
{% assign featured_posts = site.posts | where: "featured",true %}
|
12
|
-
{%- if featured_posts.size > 0 -%}
|
13
|
-
<!-- Add Featured Posts here -->
|
14
|
-
<div class="featuredposts-container">
|
15
|
-
<h1>Featured</h1>
|
16
|
-
|
17
|
-
<ul class="post-list">
|
18
|
-
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
19
|
-
{%- for post in featured_posts limit: site.recent_posts_count -%}
|
20
|
-
<li>
|
21
|
-
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
22
|
-
<h3>
|
23
|
-
<a class="post-link" href="{{ post.url | relative_url }}">
|
24
|
-
{{ post.title | escape }}
|
25
|
-
</a>
|
26
|
-
</h3>
|
27
|
-
{%- if site.show_excerpts -%}
|
28
|
-
{{ post.excerpt }}
|
29
|
-
{%- endif -%}
|
30
|
-
</li>
|
31
|
-
{%- endfor -%}
|
32
|
-
</ul>
|
33
|
-
|
34
|
-
</div>
|
35
|
-
{%- endif -%}
|
36
|
-
|
37
|
-
{%- if site.posts.size > 0 -%}
|
38
|
-
<!-- Add Recent Posts here -->
|
39
|
-
<div class="recentposts-container">
|
40
|
-
<h1>Recent Posts</h1>
|
41
|
-
|
42
|
-
<ul class="post-list">
|
43
|
-
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
44
|
-
|
45
|
-
{% if site.recent_posts_count %}
|
46
|
-
{% assign posts_count = site.recent_posts_count %}
|
47
|
-
{% else %}
|
48
|
-
{% assign posts_count = 10 %}
|
49
|
-
{% endif %}
|
50
|
-
|
51
|
-
{%- for post in site.posts limit: site.recent_posts_count -%}
|
52
|
-
<li>
|
53
|
-
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
54
|
-
<h3>
|
55
|
-
<a class="post-link" href="{{ post.url | relative_url }}">
|
56
|
-
{{ post.title | escape }}
|
57
|
-
</a>
|
58
|
-
</h3>
|
59
|
-
{%- if site.show_excerpts -%}
|
60
|
-
{{ post.excerpt }}
|
61
|
-
{%- endif -%}
|
62
|
-
</li>
|
63
|
-
{%- endfor -%}
|
64
|
-
</ul>
|
65
|
-
|
66
|
-
{% if site.paginate_root_path %}
|
67
|
-
<a href="{{ site.paginate_root_path | relative_url }}">
|
68
|
-
View all posts
|
69
|
-
</a>
|
70
|
-
{% endif %}
|
71
|
-
|
72
|
-
</div>
|
73
|
-
{%- endif -%}
|
74
|
-
|
75
|
-
</div>
|
76
|
-
|
1
|
+
---
|
2
|
+
layout: html_scaffold
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="landing-page" aria-label="Content">
|
6
|
+
|
7
|
+
{%- include landing.html -%}
|
8
|
+
|
9
|
+
<div class="wrapper home-wrapper">
|
10
|
+
|
11
|
+
{% assign featured_posts = site.posts | where: "featured",true %}
|
12
|
+
{%- if featured_posts.size > 0 -%}
|
13
|
+
<!-- Add Featured Posts here -->
|
14
|
+
<div class="featuredposts-container">
|
15
|
+
<h1>Featured</h1>
|
16
|
+
|
17
|
+
<ul class="post-list">
|
18
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
19
|
+
{%- for post in featured_posts limit: site.recent_posts_count -%}
|
20
|
+
<li>
|
21
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
22
|
+
<h3>
|
23
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
24
|
+
{{ post.title | escape }}
|
25
|
+
</a>
|
26
|
+
</h3>
|
27
|
+
{%- if site.show_excerpts -%}
|
28
|
+
{{ post.excerpt }}
|
29
|
+
{%- endif -%}
|
30
|
+
</li>
|
31
|
+
{%- endfor -%}
|
32
|
+
</ul>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
{%- endif -%}
|
36
|
+
|
37
|
+
{%- if site.posts.size > 0 -%}
|
38
|
+
<!-- Add Recent Posts here -->
|
39
|
+
<div class="recentposts-container">
|
40
|
+
<h1>Recent Posts</h1>
|
41
|
+
|
42
|
+
<ul class="post-list">
|
43
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
44
|
+
|
45
|
+
{% if site.recent_posts_count %}
|
46
|
+
{% assign posts_count = site.recent_posts_count %}
|
47
|
+
{% else %}
|
48
|
+
{% assign posts_count = 10 %}
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
{%- for post in site.posts limit: site.recent_posts_count -%}
|
52
|
+
<li>
|
53
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
54
|
+
<h3>
|
55
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
56
|
+
{{ post.title | escape }}
|
57
|
+
</a>
|
58
|
+
</h3>
|
59
|
+
{%- if site.show_excerpts -%}
|
60
|
+
{{ post.excerpt }}
|
61
|
+
{%- endif -%}
|
62
|
+
</li>
|
63
|
+
{%- endfor -%}
|
64
|
+
</ul>
|
65
|
+
|
66
|
+
{% if site.paginate_root_path %}
|
67
|
+
<a href="{{ site.paginate_root_path | relative_url }}">
|
68
|
+
View all posts
|
69
|
+
</a>
|
70
|
+
{% endif %}
|
71
|
+
|
72
|
+
</div>
|
73
|
+
{%- endif -%}
|
74
|
+
|
75
|
+
</div>
|
76
|
+
|
77
77
|
</main>
|
data/_layouts/html_scaffold.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html>
|
3
|
-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
4
|
-
|
5
|
-
{%- include head.html -%}
|
6
|
-
|
7
|
-
<body>
|
8
|
-
|
9
|
-
{{ content }}
|
10
|
-
|
11
|
-
{%- include footer.html -%}
|
12
|
-
</body>
|
13
|
-
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
4
|
+
|
5
|
+
{%- include head.html -%}
|
6
|
+
|
7
|
+
<body>
|
8
|
+
|
9
|
+
{{ content }}
|
10
|
+
|
11
|
+
{%- include footer.html -%}
|
12
|
+
</body>
|
13
|
+
|
14
14
|
</html>
|
data/_layouts/page.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<article class="post">
|
5
|
-
|
6
|
-
<header class="post-header">
|
7
|
-
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
|
-
</header>
|
9
|
-
|
10
|
-
<div class="post-content">
|
11
|
-
{{ content }}
|
12
|
-
</div>
|
13
|
-
|
14
|
-
</article>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post">
|
5
|
+
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<div class="post-content">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
</article>
|
data/_layouts/post.html
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
-
|
6
|
-
<header class="post-header">
|
7
|
-
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
-
<p class="post-meta">
|
9
|
-
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
10
|
-
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
11
|
-
{{ page.date | date: date_format }}
|
12
|
-
</time>
|
13
|
-
{%- if page.modified_date -%}
|
14
|
-
~
|
15
|
-
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
|
16
|
-
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
|
17
|
-
{{ mdate | date: date_format }}
|
18
|
-
</time>
|
19
|
-
{%- endif -%}
|
20
|
-
{%- if page.author -%}
|
21
|
-
• {% for author in page.author %}
|
22
|
-
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
23
|
-
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
24
|
-
{%- if forloop.last == false %}, {% endif -%}
|
25
|
-
{% endfor %}
|
26
|
-
{%- endif -%}</p>
|
27
|
-
</header>
|
28
|
-
|
29
|
-
<div class="post-content e-content" itemprop="articleBody">
|
30
|
-
{{ content }}
|
31
|
-
</div>
|
32
|
-
|
33
|
-
{%- if site.disqus.shortname -%}
|
34
|
-
{%- include disqus_comments.html -%}
|
35
|
-
{%- endif -%}
|
36
|
-
|
37
|
-
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
38
|
-
</article>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="post-meta">
|
9
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
10
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
11
|
+
{{ page.date | date: date_format }}
|
12
|
+
</time>
|
13
|
+
{%- if page.modified_date -%}
|
14
|
+
~
|
15
|
+
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
|
16
|
+
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
|
17
|
+
{{ mdate | date: date_format }}
|
18
|
+
</time>
|
19
|
+
{%- endif -%}
|
20
|
+
{%- if page.author -%}
|
21
|
+
• {% for author in page.author %}
|
22
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
23
|
+
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
24
|
+
{%- if forloop.last == false %}, {% endif -%}
|
25
|
+
{% endfor %}
|
26
|
+
{%- endif -%}</p>
|
27
|
+
</header>
|
28
|
+
|
29
|
+
<div class="post-content e-content" itemprop="articleBody">
|
30
|
+
{{ content }}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
{%- if site.disqus.shortname -%}
|
34
|
+
{%- include disqus_comments.html -%}
|
35
|
+
{%- endif -%}
|
36
|
+
|
37
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
38
|
+
</article>
|