jekyll-theme-ferris 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/404.html +16 -0
  3. data/archive.html +16 -0
  4. data/index.html +50 -0
  5. metadata +4 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e149e2f3b5c9444559e78b922074aff1d5b780d0ccd21639c5ff5abde3e77d96
4
- data.tar.gz: 58e06f0986613c2c833b82295d3f6f4fc01a1280847abab0ad35511ef33fb8fc
3
+ metadata.gz: 543001f1aefca1c7cfe8d9fe4155cdec73ea717ca46bc560d7f54635d59f1314
4
+ data.tar.gz: 617eff7f5806fb0291e7e5a091c5c11755dc4671dc19036ac8682bc2dc6308fb
5
5
  SHA512:
6
- metadata.gz: a48fbcd16dc3663285c7d6a3155d386fe89cf105c960d93b5ead4bceaee4748afca9f9472fa192ae1dacaad2bfb34a9b4765a9c0993281ece1a84a64526175af
7
- data.tar.gz: bf2d1d2f26d16a4126e790d53c634801de612a094b214444285579e490c831397bb08f67807afaddb32b80e94dfe3e3e80fabcec845881405b86af783244c016
6
+ metadata.gz: 9de7e488b2aa5500188f1fb48215861f52d8520aacbc0a50a13bc283a29acd9e111235dbe381549f2b1f2203678a1754c92117d430a79f9cb8c29b9cc2251a77
7
+ data.tar.gz: 56bc9c76fe5fe8b07c62e83e14c8e8d940da8f11247ff75b9155842010d0cbace9146df544843850b1340208a453fa0b6bdab1b057b6b17892a0828d8fc6b389
data/404.html ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ title: Not Found
4
+ permalink: /404.html
5
+ not_in_menu: true
6
+ ---
7
+ <article class="page" role="main">
8
+ <h2>404 &ndash; Not Found</h2>
9
+
10
+ <p>
11
+ The page you were looking for could not be found.
12
+ </p>
13
+ <p>
14
+ <a href="/">Take me back to the beginning.</a>
15
+ </p>
16
+ </article>
data/archive.html ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ title: Archive of all meetups
4
+ permalink: /archive/
5
+ ---
6
+ <article class="page" role="main">
7
+ <h1>All Meetups</h1>
8
+
9
+ <ul class="event-list is-short">
10
+ {% for event in site.posts %}
11
+ <li class="event-item">
12
+ {% include event-inline.html event=event %}
13
+ </li>
14
+ {% endfor %}
15
+ </ul>
16
+ </article>
data/index.html ADDED
@@ -0,0 +1,50 @@
1
+ ---
2
+ layout: default
3
+ header-variant: start-page
4
+ ---
5
+ {% assign curDate = site.time %}
6
+ {% assign next_meetups = site.posts | where_exp: "item", "item.date > curDate" | sort: "date" %}
7
+ {% assign past_meetups = site.posts | where_exp: "item", "item.date <= curDate" | sort: "date" %}
8
+ {% assign next_meetup = next_meetups | first %}
9
+ {% assign prev_meetup = past_meetups | last %}
10
+ {% assign further_down_the_line = next_meetups | shift %}
11
+
12
+ <div class="page-home" role="main">
13
+ <section class="next-meetup">
14
+ {% if next_meetup %}
15
+ <p class="section-headline">Next</p>
16
+ <article class="event is-next-meetup">
17
+ {% if next_meetup.talks != false %}
18
+ {% include event.html event=next_meetup skip_date=true call_for_talks=true show_abstracts=false %}
19
+ {% else %}
20
+ {% include event.html event=next_meetup skip_date=true call_for_talks=false %}
21
+ {% endif %}
22
+ </article>
23
+ {% else %}
24
+ <h1>
25
+ We are currently planning our next meetup!
26
+ </h1>
27
+ <p>
28
+ <a href="{{ site.feedback_url }}">
29
+ Help us!
30
+ </a>
31
+ </p>
32
+ {% endif %}
33
+ </section>
34
+
35
+ {% if further_down_the_line.size > 0 %}
36
+ <section class="future-meetups">
37
+ <p class="section-headline">Upcoming</p>
38
+ {% for event in further_down_the_line %}
39
+ {% include event-inline.html event=event %}
40
+ {% endfor %}
41
+ </section>
42
+ {% endif %}
43
+
44
+ {% if prev_meetup %}
45
+ <section class="prev-meetup">
46
+ <p class="section-headline">Previous</p>
47
+ {% include event-inline.html event=prev_meetup %}
48
+ </section>
49
+ {% endif %}
50
+ </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-ferris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - olivia
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - 404.html
62
63
  - LICENSE.txt
63
64
  - README.md
64
65
  - _includes/event-inline.html
@@ -92,6 +93,8 @@ files:
92
93
  - _sass/_talks.scss
93
94
  - _sass/_template.scss
94
95
  - _sass/_text.scss
96
+ - archive.html
97
+ - index.html
95
98
  homepage: https://github.com/rust-community/jekyll-theme-ferris
96
99
  licenses:
97
100
  - MIT