brume 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65fdd27a2101dc7b4baff9589252f104f39103af
4
- data.tar.gz: 6c2b3a33edcd83edccc6661a0c839fedd94b2745
3
+ metadata.gz: 9c035c24758c3e71549a3a62b6e7e248f3e92a98
4
+ data.tar.gz: 013605b10134014ec71bb77016977d04605885e6
5
5
  SHA512:
6
- metadata.gz: dc9e818b7a27e5876a21cb10bca6a2d8dd7539f60023daa87c684755bb2832c1c8671fecb087cb4d424a8fca65079395096e7ba9a49b0e991c4da75fb78ad05d
7
- data.tar.gz: 1f156747db4515b4732097f713c7b62bc4cdc2b49e03fe4a8f10cb4bb13bc24436f874bb1bdf456346ebea55c3ea271a42bcc276c1428df753de455e68ec345f
6
+ metadata.gz: 37d2040eea9bf221bf4e6c9716a84b31d7644ba5d65d21ce836d4e8cb4e75222c852d985266b072f255e9aca255b06f0be7041282aeebed5f83c9f843096e2d5
7
+ data.tar.gz: c01c43eb8fbd6d0c48b555a270d4cd0a6fb3f17d178c5e8d97d3696f6119e2fc4e7bee8e2b58b6a797239febdecd4ba1b930717d8f7a426a41d38b34ca18cbc5
data/_includes/head.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
10
10
 
11
11
  <!-- title -->
12
- <title>{{ page.title }} &middot; {{ site.name }}</title>
12
+ <title>{{ page.title }} &middot; {{ site.title }}</title>
13
13
 
14
14
  <!-- icons -->
15
15
  <link rel="shortcut icon" href="{{ '/assets/images/favicon.ico' | relative_url }}">
@@ -29,4 +29,4 @@
29
29
  {% endif %}
30
30
 
31
31
  <!-- feed links -->
32
- <link rel="alternate" href="{{ 'feed.xml' | absolute_url }}" type="application/rss+xml" title="{{ site.name }}">
32
+ <link rel="alternate" href="{{ 'feed.xml' | absolute_url }}" type="application/rss+xml" title="{{ site.title }}">
@@ -12,7 +12,7 @@
12
12
  {% endif %}
13
13
  <div>
14
14
  <a href="{{ site.url }}" id="logo" title="{{ site.title }}"
15
- style="background-image: url({{ 'assets/images/logo.png' | relative_url }});"></a>
15
+ style="background-image: url({{ '/assets/images/logo.png' | relative_url }});"></a>
16
16
  </div>
17
17
 
18
18
  {% include navigation.html %}
@@ -28,7 +28,7 @@
28
28
  </main>
29
29
 
30
30
  <!-- scripts -->
31
- <script src="{{ 'assets/js/fluidvids.min.js' | relative_url }}"></script>
31
+ <script src="{{ '/assets/js/fluidvids.min.js' | relative_url }}"></script>
32
32
  <script>
33
33
  fluidvids.init({
34
34
  selector: ['iframe', 'object'],
@@ -0,0 +1,51 @@
1
+ ---
2
+ layout: default
3
+ title: Home
4
+ ---
5
+
6
+ <section class="archive">
7
+ {% for post in site.posts %}
8
+ {% unless post.next %}
9
+
10
+ {% unless forloop.first %}
11
+ </div>
12
+ </div>
13
+ {% endunless %}
14
+
15
+ <div class="archive-item fadeInDown animated">
16
+ <h2>{{ post.date | date: '%Y' }}</h2>
17
+ <div>
18
+
19
+ {% else %}
20
+
21
+ {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
22
+ {% capture next_year %}{{ post.next.date | date: '%Y' }}{% endcapture %}
23
+
24
+ {% if year != next_year %}
25
+
26
+ {% unless forloop.first %}
27
+ </div>
28
+ </div>
29
+ {% endunless %}
30
+
31
+ <div class="archive-item fadeInDown animated">
32
+ <h2>{{ post.date | date: '%Y' }}</h2>
33
+ <div>
34
+
35
+ {% endif %}
36
+ {% endunless %}
37
+
38
+ <article>
39
+ <a href="{{ post.url | absolute_url }}" title="{{ post.title }}">{{ post.title }}</a>
40
+ <div class="post-date">
41
+ <time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%-d %B" }}</time>
42
+ </div>
43
+ </article>
44
+
45
+ {% if forloop.last %}
46
+ </div>
47
+ </div>
48
+ {% endif %}
49
+
50
+ {% endfor %}
51
+ </section>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brume
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aigars Dzerviniks
@@ -64,6 +64,7 @@ files:
64
64
  - _includes/head.html
65
65
  - _includes/navigation.html
66
66
  - _layouts/default.html
67
+ - _layouts/home.html
67
68
  - _layouts/page.html
68
69
  - _layouts/post.html
69
70
  - assets/css/animate.min.css