spice-rack 0.1.0 → 0.2.0
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.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/_layouts/home.html +32 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37c58e6c8b734ce62561bbeb6b44ad4de4fd51bf
|
|
4
|
+
data.tar.gz: 4cca562429fd2a8db642114162349ef8f775d767
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46923303926b6e0fbc2faf71b3fe732d36dfcea91b5861f886de607d839a1c8309ffd8651e6a353450b1c25f05a2c790e8823664dc7babdaeb8e856beeb1bb27
|
|
7
|
+
data.tar.gz: 6ac3ff8458eeafaeca0fab1fef58029ee678e0b8425ba995d3d82b7e9ba421a775c129cb2024121fba4f629374ea2710d4e91ea6f94bdddf56efa72764bbfc27
|
data/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
5
7
|
TODO: Delete this and the text above, and describe your gem
|
|
6
8
|
|
|
7
9
|
## Installation
|
data/_layouts/home.html
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<section class="introduction">
|
|
5
|
+
<div class="bio">
|
|
6
|
+
<p>
|
|
7
|
+
{{ content }}
|
|
8
|
+
</p>
|
|
9
|
+
</div>
|
|
10
|
+
</section>
|
|
11
|
+
<section class="articles">
|
|
12
|
+
<ul>
|
|
13
|
+
{% for post in site.posts %}
|
|
14
|
+
<li>
|
|
15
|
+
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
|
16
|
+
<p class="date">
|
|
17
|
+
{% if post.date != null %}
|
|
18
|
+
{% assign d = post.date | date: "%-d" %}
|
|
19
|
+
{{ post.date | date: "%B" }}
|
|
20
|
+
{% case d %}{% when "1" or "21" or "31" %}{{ d }}st{% when "2" or "22" %}{{ d }}nd{% when "3" or "23" %}{{ d }}rd{% else %}{{ d }}th{% endcase %},
|
|
21
|
+
{{ post.date | date: "%Y" }}
|
|
22
|
+
{% endif %}
|
|
23
|
+
</p>
|
|
24
|
+
<ul class="categories">
|
|
25
|
+
{% for categories in post.categories %}
|
|
26
|
+
<li class="category">{{ categories }}</li>
|
|
27
|
+
{% endfor %}
|
|
28
|
+
</ul>
|
|
29
|
+
</li>
|
|
30
|
+
{% endfor %}
|
|
31
|
+
</ul>
|
|
32
|
+
</section>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spice-rack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Anhari
|
|
@@ -65,6 +65,7 @@ files:
|
|
|
65
65
|
- _includes/head.html
|
|
66
66
|
- _includes/header.html
|
|
67
67
|
- _layouts/default.html
|
|
68
|
+
- _layouts/home.html
|
|
68
69
|
- _layouts/page.html
|
|
69
70
|
- _layouts/post.html
|
|
70
71
|
- _sass/_articles.scss
|