seminima 0.1.11 → 0.1.12

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/talk.html +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24293b7ce6cab34dd0997b64572edc7731533e33bc71ce5c6329846a2a4ad4e7
4
- data.tar.gz: b0c7596a44e4de281f89b1e5fe5a585d932a4e91ae14579c4c024436145baab0
3
+ metadata.gz: 59e28641a9bbce097d3160571cbf8e5e1a32d6922aebea7fdcf1ba3f3aba3e85
4
+ data.tar.gz: 4946e86fd8800408954f64f50c3d7b2a1e4aec948d5d45a1583731e67ffa97b2
5
5
  SHA512:
6
- metadata.gz: 2e7cafe97a91706e54862b7ecc1cd734d8e6a0390d7a95a69516a2fcf48f8845ffd2e5bb5de9153b3b671af4ba3e8506184c8f068394a9126206ea11df2ff96e
7
- data.tar.gz: 26c069fb156db7f3d1e2961ccbf7fe1a4e71e4dfe9f28b3430a3561df1be03cbcf17b0ceb3d87b944a3df6a31891f4e7cd4acc9573155820883f53f149b7b9c7
6
+ metadata.gz: a1bc391c8d91893ff62c8acd4a2c34dc4bfead7aee0376fd5eaf5260e7c1969fcad329335698aa3ccf512ea5c018267b499caa10268b04171d4a9f3b75102f73
7
+ data.tar.gz: b00753bb84eb1c55e2eb7d2d2c5ffb78591c0601858fc1bd6d585ad31df4060440882b7658f3ddf23caa65aaea7d0db6be10912fae99c8d17091118212db4eaa
data/_layouts/talk.html CHANGED
@@ -4,20 +4,20 @@ layout: base
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
6
6
  <header class="post-header">
7
- <span class="talk-speaker">{{ page.speaker }} {% if page.affiliation %}({{page.affiliation}}){% endif %}</span>
7
+ <span class="talk-speaker">{{ page.speaker }} {% if page.affiliation && page.affiliation != "" %}({{page.affiliation}}){% endif %}</span>
8
8
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
9
9
  <p class="talk-page-info">
10
10
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
11
  {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
12
12
  {{ page.date | date: date_format }}
13
13
  </time>
14
- {%- if page.start_time -%}&mdash; <span>Time: {{ page.start_time }}</span>{%- endif -%} {%- if page.location -%}&nbsp;&mdash; <span>Location: {{ page.location }}</span>{%- endif -%}<br/>{%- if page.video_url -%}
14
+ {%- if page.start_time -%}&mdash; <span>Time: {{ page.start_time }}</span>{%- endif -%} {%- if page.location -%}&nbsp;&mdash; <span>Location: {{ page.location }}</span>{%- endif -%}<br/>{%- if page.video_url && page.video_url != "" -%}
15
15
  <a class="talk-url" href="{{ page.video_url }}">Video</a>
16
16
  {%- endif -%}
17
- {%- if page.slides_url -%}
17
+ {%- if page.slides_url && page.slides_url != "" -%}
18
18
  <a class="talk-url" href="{{ page.slides_url }}">Slides</a>
19
19
  {%- endif -%}
20
- {%- if page.notes_url -%}
20
+ {%- if page.notes_url && page.notes_url != "" -%}
21
21
  <a class="talk-url" href="{{ page.notes_url }}">Notes</a>
22
22
  {%- endif -%}</p>
23
23
  </header>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seminima
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douwe Hoekstra