Skip to content

Commit 8fcd570

Browse files
committed
Update gemspec
1 parent 44db75f commit 8fcd570

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ _site
22
.sass-cache
33
.jekyll-metadata
44
Gemfile.lock
5-
5+
*.gem

_layouts/home.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: default
3+
---
4+
{% include author.html %}
5+
{% assign posts_count = paginator.posts | size %}
6+
{% if posts_count > 0 %}
7+
<h1>Recent blog articles</h1>
8+
<div class="post-links">
9+
{% for post in paginator.posts %}
10+
<div class="post-link-wrapper">
11+
<a href="{{ post.url | relative_url }}" class="post-link">{{ post.title }}</a>
12+
<div class="post-meta">
13+
14+
<div class="post-tags">
15+
{% for tag in post.tags %}
16+
<a class="tag" href="/tag/{{ tag }}/">{{ tag }}</a>
17+
{% endfor %}
18+
</div>
19+
{% if site.date_format %}
20+
{{ post.date | date: site.date_format }}
21+
{% else %}
22+
{{ post.date | date: "%b %-d, %Y" }}
23+
{% endif %}
24+
</div>
25+
</div>
26+
{% endfor %}
27+
</div>
28+
29+
{% include pagination.html %}
30+
{% else %}
31+
<div>No posts yet.</div>
32+
{% endif %}

jekyll-dash.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "jekyll-dash"
5-
spec.version = "1.0.0"
5+
spec.version = "1.0.2"
66
spec.authors = ["Miguel Gonzalez Sanchez"]
77
spec.email = ["[email protected]"]
88

0 commit comments

Comments
 (0)