jekyll-theme-conference 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6b4a9f0fa744f229be4b068d2f24b3308bd5e715399c70722810261d8cf68bd
4
- data.tar.gz: 5a13250a9600974479f506aedaa2af1c5f59086d6358e42ceae4762b2d7ba10b
3
+ metadata.gz: 4c643a0e8bd01e58afe44d26b8ef92322de94b904963a0d77c375a173bdcee41
4
+ data.tar.gz: 805184fecbf95cb9acf1eea02b5065d5bfc5043c961b05813133ebd82aa22bde
5
5
  SHA512:
6
- metadata.gz: 2b5d392d30922994a4ef4052d20ec8117d6b89e2788ff00c3b815a1edf6ab175ebd16d8b504f8fc7e17b43f22dcf1c84897b6f848cece07bbd39a91728df5d63
7
- data.tar.gz: 4da7ac97f4c278be3779b41f6a9093a32dee8d8b9769fa446ddfc6559db7be4d210c592a41c19ea9cff090ad4536ce36800c3f1a08815d625b88d8d633bf49d3
6
+ metadata.gz: c4847d23b59679008f7b67db989e32f3e932714f21e7cf0ce9e939ef7444a4de84221c0e42696989e9550019b396d8e84e76ff948def06ba1ee81c2948ddf892
7
+ data.tar.gz: 75e4e1ecdb73138ceb6f23782a7547d0d19f85ecd936a785c2d979cf3cb28b45c1272c3f6754c948cb90f82fffb11078811eadf32ebf29af08f964916a4afaf7
@@ -2,6 +2,25 @@
2
2
  </main>
3
3
  <footer class="container"></footer>
4
4
 
5
+ <div class="modal fade" id="link-modal" tabindex="-1" role="dialog" aria-labelledby="link-modal-label" aria-hidden="true">
6
+ <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
7
+ <div class="modal-content">
8
+ <div class="modal-header">
9
+ <h5 class="modal-title" id="link-modal-label"></h5>
10
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
11
+ <span aria-hidden="true">&times;</span>
12
+ </button>
13
+ </div>
14
+ <div class="modal-body">
15
+ <iframe src="" frameborder="0" allowfullscreen></iframe>
16
+ </div>
17
+ <div class="modal-footer">
18
+ <p class="modal-description"></p>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+
5
24
  <script src="{{ site.baseurl }}/assets/js/main.js"></script>
6
25
 
7
26
  </body>
@@ -30,6 +30,29 @@
30
30
  </p>
31
31
  <p class="mb-0">
32
32
  {% include partials/list_sub_categories.html %}
33
+
34
+ {% assign has_icon_links = false %}
35
+ {% for link in talk.links %}
36
+ {% if link.icon %}
37
+ {% assign has_icon_links = true %}
38
+ {% endif %}
39
+ {% endfor %}
40
+
41
+ {% if has_icon_links %}
42
+ <span class="{% if has_sub_categories %}ml-1{% endif %}">
43
+ {% for link in talk.links %}
44
+ {% if link.icon %}
45
+ {% include partials/get_link_href.html %}
46
+ {%- if link.iframe -%}
47
+ <a class="text-secondary ml-1 cursor-pointer" data-toggle="modal" data-target="#link-modal" data-title="{{ link.name }}" data-href="{{ link_href }}" title="{{ link.name }}">
48
+ {%- else -%}
49
+ <a class="text-secondary ml-1" href="{{ link_href }}" title="{{ link.name }}">
50
+ {%- endif -%}
51
+ <i class="fas fa-{{ link.icon }} pr-1"></i></a>
52
+ {% endif %}
53
+ {% endfor %}
54
+ </span>
55
+ {% endif %}
33
56
  </p>
34
57
 
35
58
  {% if talk.hide %}
@@ -58,7 +58,6 @@
58
58
 
59
59
  {% assign has_icon_links = false %}
60
60
  {% assign has_regular_links = false %}
61
- {% assign has_iframe_links = false %}
62
61
  {% for link in talk.links %}
63
62
  {% if link.icon %}
64
63
  {% assign has_icon_links = true %}
@@ -108,25 +107,6 @@
108
107
  </ul>
109
108
  {% endif %}
110
109
 
111
- <div class="modal fade" id="link-modal" tabindex="-1" role="dialog" aria-labelledby="link-modal-label" aria-hidden="true">
112
- <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
113
- <div class="modal-content">
114
- <div class="modal-header">
115
- <h5 class="modal-title" id="link-modal-label"></h5>
116
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
117
- <span aria-hidden="true">&times;</span>
118
- </button>
119
- </div>
120
- <div class="modal-body">
121
- <iframe src="" frameborder="0" allowfullscreen></iframe>
122
- </div>
123
- <div class="modal-footer">
124
- <p class="modal-description"></p>
125
- </div>
126
- </div>
127
- </div>
128
- </div>
129
-
130
110
  <p class="d-print-none mt-5">
131
111
  <a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
132
112
  <i class="fas fa-bullhorn"></i>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-conference
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorenz Schmid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-31 00:00:00.000000000 Z
11
+ date: 2020-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll