minimaless 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +0 -0
- data/README.md +27 -2
- data/_includes/contact-icons.html +0 -0
- data/_includes/disqus_comments.html +0 -0
- data/_includes/footer.html +0 -0
- data/_includes/google-analytics.html +0 -0
- data/_includes/head.html +0 -0
- data/_includes/header.html +0 -0
- data/_includes/icon-keybase.svg +0 -0
- data/_layouts/about.html +0 -0
- data/_layouts/blog.html +0 -0
- data/_layouts/contact.html +0 -0
- data/_layouts/default.html +0 -0
- data/_layouts/page.html +0 -0
- data/_layouts/post.html +1 -1
- data/_layouts/splash.html +0 -0
- data/_layouts/tags.html +39 -9
- data/_sass/minimaless.scss +0 -0
- data/_sass/minimaless/_base.scss +12 -0
- data/_sass/minimaless/_layout.scss +13 -29
- data/_sass/minimaless/_syntax-highlighting.scss +0 -0
- data/assets/main.scss +0 -0
- metadata +2 -3
- data/_includes/site-links.html +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f45d5bcadca8d31f5e43d5b5c73bae8d51c6551
|
4
|
+
data.tar.gz: b9f8b741d88b36ae8dedc29fbbe1ebadc44e9227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3237c5a28355636c914e969fbf7250ae8f7b14b312082d816227a935150973a994f4cc6289987710d3884c016b72a69df401375c676671a3742b817e54a6beed
|
7
|
+
data.tar.gz: 977e692276631c5eabc005bd01ff849656c260aa735c2298a48091ff468e61ec502aacd3c51e7422e6f6afa2d0155653206dfaac6402f144a4c6b794e89415be
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# minimaless
|
2
2
|
|
3
|
-
It's like [minima](https://jekyll.github.io/minima/), but
|
3
|
+
It's like the [minima](https://jekyll.github.io/minima/) theme, but with _less noise_ and more functionality. ✨
|
4
4
|
|
5
|
-
See the [demo site](https://brettinternet.github.io/minimaless/)
|
5
|
+
See the [demo site](https://brettinternet.github.io/minimaless/) or follow these steps to [setup](/_pages/setup.md) your own Jekyll site with this theme.
|
6
6
|
|
7
7
|
![minimaless screenshot preview](/screenshot.png)
|
8
8
|
|
@@ -65,6 +65,31 @@ The site's default CSS has now moved to a new place within the gem itself, [`ass
|
|
65
65
|
|
66
66
|
--
|
67
67
|
|
68
|
+
### Tags
|
69
|
+
|
70
|
+
Make a new folder called `tag` where you will add markdown files for each new tag you use on your site.
|
71
|
+
|
72
|
+
```
|
73
|
+
minimaless
|
74
|
+
├─ tag
|
75
|
+
│ └─ kittens.md
|
76
|
+
└─ _posts
|
77
|
+
```
|
78
|
+
|
79
|
+
Create a new markdown file with the tag as the file name (eg. `<tag name>.md`). You only need to set up the header information. For example, if the tag is `kittens`, then use the following header:
|
80
|
+
|
81
|
+
```yml
|
82
|
+
---
|
83
|
+
layout: tags
|
84
|
+
tag: kittens
|
85
|
+
permalink: /tag/kittens/
|
86
|
+
---
|
87
|
+
```
|
88
|
+
|
89
|
+
This must be done for every new tag you create. This is the page that users will see when they click on a tag to display the list of posts for each tag. [View the tag page here](https://brettinternet.github.io/minimaless/tags/).
|
90
|
+
|
91
|
+
--
|
92
|
+
|
68
93
|
### Enabling comments (via Disqus)
|
69
94
|
|
70
95
|
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
|
File without changes
|
File without changes
|
data/_includes/footer.html
CHANGED
File without changes
|
File without changes
|
data/_includes/head.html
CHANGED
File without changes
|
data/_includes/header.html
CHANGED
File without changes
|
data/_includes/icon-keybase.svg
CHANGED
File without changes
|
data/_layouts/about.html
CHANGED
File without changes
|
data/_layouts/blog.html
CHANGED
File without changes
|
data/_layouts/contact.html
CHANGED
File without changes
|
data/_layouts/default.html
CHANGED
File without changes
|
data/_layouts/page.html
CHANGED
File without changes
|
data/_layouts/post.html
CHANGED
@@ -24,7 +24,7 @@ layout: default
|
|
24
24
|
<i class="fa fa-tags"></i>
|
25
25
|
{% for tag in page.tags %}
|
26
26
|
{% assign count = site.tags[tag].size %}
|
27
|
-
<a href="
|
27
|
+
<a href="{{site.baseurl}}/tag/{{ tag }}">
|
28
28
|
<span class="tag">{{ tag | escape }}{% if count != 1 %}<span class="tag-count">({{ count }})</span>{% endif %}</span></a>
|
29
29
|
{% endfor %}
|
30
30
|
</div>
|
data/_layouts/splash.html
CHANGED
File without changes
|
data/_layouts/tags.html
CHANGED
@@ -1,15 +1,45 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
|
-
permalink: /archive/
|
4
3
|
---
|
5
4
|
|
6
|
-
|
5
|
+
{% if page.tag %}
|
6
|
+
<h1>#{{ page.tag }}</h1>
|
7
7
|
|
8
|
-
<ul class="
|
9
|
-
{%
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
<ul class="post-list">
|
9
|
+
{% if site.tags[page.tag] %}
|
10
|
+
{% for post in site.tags[page.tag] %}
|
11
|
+
<li>
|
12
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
13
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
14
|
+
|
15
|
+
<h2>
|
16
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
17
|
+
</h2>
|
18
|
+
{% if site.preview_posts %}
|
19
|
+
<p>
|
20
|
+
{{ post.content | strip_html | truncatewords:25 }}
|
21
|
+
</p>
|
22
|
+
{% endif %}
|
23
|
+
</li>
|
24
|
+
{% endfor %}
|
25
|
+
{% endif %}
|
15
26
|
</ul>
|
27
|
+
|
28
|
+
|
29
|
+
<hr>
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
|
33
|
+
{% if site.tags != '' %}
|
34
|
+
<h1>Tags</h1>
|
35
|
+
|
36
|
+
<div class="tags">
|
37
|
+
<i class="fa fa-tags"></i>
|
38
|
+
{% for tag_obj in site.tags %}
|
39
|
+
{% assign tag = tag_obj | first %}
|
40
|
+
{% assign count = site.tags[tag].size %}
|
41
|
+
<a href="{{site.baseurl}}/tag/{{ tag }}">
|
42
|
+
<span class="tag">{{ tag }}{% if count != 1 %}<span class="tag-count">({{ count }})</span>{% endif %}</span></a>
|
43
|
+
{% endfor %}
|
44
|
+
</div>
|
45
|
+
{% endif %}
|
data/_sass/minimaless.scss
CHANGED
File without changes
|
data/_sass/minimaless/_base.scss
CHANGED
@@ -51,6 +51,18 @@ ul, ol, dl, figure,
|
|
51
51
|
margin-bottom: $spacing-unit / 2;
|
52
52
|
}
|
53
53
|
|
54
|
+
h1 {
|
55
|
+
margin-top: $spacing-unit * 1.5;
|
56
|
+
}
|
57
|
+
|
58
|
+
h2 {
|
59
|
+
margin-top: $spacing-unit * 1.25;
|
60
|
+
}
|
61
|
+
|
62
|
+
h3, h4 {
|
63
|
+
margin-top: $spacing-unit;
|
64
|
+
}
|
65
|
+
|
54
66
|
pre {
|
55
67
|
margin-top: $spacing-unit / 6;
|
56
68
|
}
|
@@ -164,6 +164,9 @@
|
|
164
164
|
|
165
165
|
li:first-child { margin-left: 0; }
|
166
166
|
li:last-child { margin-right: 0; }
|
167
|
+
@include media-query($on-palm) {
|
168
|
+
li:first-child, li:last-child { margin: 0 7px; }
|
169
|
+
}
|
167
170
|
|
168
171
|
|
169
172
|
.icon {
|
@@ -281,6 +284,10 @@
|
|
281
284
|
.page-content {
|
282
285
|
padding: $spacing-unit 0;
|
283
286
|
min-height: $content-height;
|
287
|
+
|
288
|
+
& > .wrapper > h1 {
|
289
|
+
margin-top: $spacing-unit / 2;
|
290
|
+
}
|
284
291
|
}
|
285
292
|
|
286
293
|
.page-heading {
|
@@ -290,7 +297,7 @@
|
|
290
297
|
.blog li:nth-child(#{$i}),
|
291
298
|
.contact .contact-icons li:nth-child(#{$i}),
|
292
299
|
.splash p:nth-child(#{$i}),
|
293
|
-
.splash .contact-icons li:nth-child(#{$i}),
|
300
|
+
.splash .contact-icons li:nth-child(#{$i}),
|
294
301
|
.landing-content .about p:nth-child(#{$i}),
|
295
302
|
.pagination span:nth-child(#{$i}) {
|
296
303
|
-webkit-animation: fadein .5s + $i/2; /* Safari, Chrome and Opera > 12.1 */
|
@@ -324,7 +331,7 @@
|
|
324
331
|
list-style: none;
|
325
332
|
|
326
333
|
> li h2 {
|
327
|
-
|
334
|
+
margin: 0 0 $spacing-unit / 4 0;
|
328
335
|
line-height: 1em;
|
329
336
|
}
|
330
337
|
}
|
@@ -345,29 +352,6 @@
|
|
345
352
|
|
346
353
|
|
347
354
|
|
348
|
-
/**
|
349
|
-
* Links page
|
350
|
-
*/
|
351
|
-
|
352
|
-
.site-links {
|
353
|
-
margin: 20px auto;
|
354
|
-
max-width: 310px;
|
355
|
-
a { color: inherit; }
|
356
|
-
|
357
|
-
p {
|
358
|
-
text-align: center;
|
359
|
-
list-style: none;
|
360
|
-
width: 100%;
|
361
|
-
margin: 5px 0;
|
362
|
-
.icon {
|
363
|
-
font-size: 1.5em;
|
364
|
-
margin-right: 5px;
|
365
|
-
}
|
366
|
-
}
|
367
|
-
}
|
368
|
-
|
369
|
-
|
370
|
-
|
371
355
|
/**
|
372
356
|
* Posts
|
373
357
|
*/
|
@@ -376,7 +360,7 @@
|
|
376
360
|
}
|
377
361
|
|
378
362
|
.post-title {
|
379
|
-
|
363
|
+
margin-top: $spacing-unit / 2;
|
380
364
|
@include relative-font-size(2.625);
|
381
365
|
letter-spacing: -1px;
|
382
366
|
line-height: 1;
|
@@ -393,17 +377,17 @@
|
|
393
377
|
@include relative-font-size(2);
|
394
378
|
|
395
379
|
@include media-query($on-laptop) {
|
396
|
-
@include relative-font-size(1.
|
380
|
+
@include relative-font-size(1.8);
|
397
381
|
}
|
398
382
|
display: block;
|
399
383
|
border-bottom: 1px solid #eaecef;
|
400
384
|
}
|
401
385
|
|
402
386
|
h2 {
|
403
|
-
@include relative-font-size(
|
387
|
+
@include relative-font-size(1.85);
|
404
388
|
|
405
389
|
@include media-query($on-laptop) {
|
406
|
-
@include relative-font-size(1.
|
390
|
+
@include relative-font-size(1.7);
|
407
391
|
}
|
408
392
|
}
|
409
393
|
|
File without changes
|
data/assets/main.scss
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimaless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- brettinternet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -53,7 +53,6 @@ files:
|
|
53
53
|
- _includes/head.html
|
54
54
|
- _includes/header.html
|
55
55
|
- _includes/icon-keybase.svg
|
56
|
-
- _includes/site-links.html
|
57
56
|
- _layouts/about.html
|
58
57
|
- _layouts/blog.html
|
59
58
|
- _layouts/contact.html
|
data/_includes/site-links.html
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
<div class="site-links">
|
2
|
-
{% for link in site.links %}
|
3
|
-
<p>
|
4
|
-
<a href="{{ link.url }}" target="_blank">
|
5
|
-
{% if link.icon != false %}
|
6
|
-
<i class="icon fa fa-{% if link.icon %}{{ link.icon }}{% else %}globe{% endif %}"></i>
|
7
|
-
{% endif %}
|
8
|
-
{% if link.title %}
|
9
|
-
<span>{{ link.title }}</span>
|
10
|
-
{% endif %}
|
11
|
-
</a>
|
12
|
-
</p>
|
13
|
-
{% endfor %}
|
14
|
-
</div>
|
15
|
-
|