jekyll-theme-pirati 6.5.0 → 6.6.0

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: 072e99ffff128f6e28ad337da2648d81c0854069c72231d1c9aeb0d5c41c596f
4
- data.tar.gz: d4abbd60f34a88e272e3aafea95a4d32ead91981c866ce9853933a9120d1e960
3
+ metadata.gz: db1fead07c4bf5a90d7a67db1e5aa5254be2a2578935f1e4f5c39210ff9038ad
4
+ data.tar.gz: 000ec6286ff747f8920660ce98c60832f091e2bfd5831b8ed5a0ac1ab008be83
5
5
  SHA512:
6
- metadata.gz: 383f233f7004be85628f8e8c88847ffbcf5a37b6667046502a7550ee4ad45fd321e1950c49b150453924d2891406afc8ac7d8bff5d4dfef4c86590e4c39bb571
7
- data.tar.gz: 74c788554311a26b974a55a829690ff9a6aaeec9eca043aa69e72c7c4758932a6daa28ee0a5019c9d164f1ae9279bc3a7f226456b640c41989d96fa04e64990a
6
+ metadata.gz: bf26b9bd1c1c63eaa57488792b0236d0ca7d657583583c63006eab534bcd5dc0bb853926418972678aee4e80f84f328b1d7734302af8a07386b327803b96fccf
7
+ data.tar.gz: fcabb835ab5084229c253507626385737c1289747beccbcb09ca69570a3d1c8257fe1b9aa92eef959abdcacccdb6f6dfc4316ecfc23c64c40a6b6b0730f3e67f
@@ -0,0 +1 @@
1
+ <div class="c-article-infobox">{{ include.content }}</div>
File without changes
@@ -57,5 +57,8 @@
57
57
  <script type="text/javascript">Loader.load({% if page.mapycz_api=='mini-api' %}null, {api:"simple"}{% endif %})</script>
58
58
  <style>.smap img { max-width: none !important; transform: none;}</style>
59
59
  {% endif %}
60
+
61
+ {% comment %}You can add your own content in _includes/head-custom.html and it will get appended to the page head{% endcomment %}
62
+ {% include head-custom.html %}
60
63
  </head>
61
64
 
@@ -90,8 +90,15 @@ layout: default
90
90
  </div>
91
91
  </div>
92
92
  </div>
93
- </div>
94
93
 
94
+ {% comment %}Optional infoboxes in the right row{% endcomment %}
95
+ {% if page.infoboxes %}
96
+ {% for infobox in page.infoboxes %}
97
+ {% include article-infobox.html content=infobox.content %}
98
+ {% endfor %}
99
+ {% endif %}
100
+
101
+ </div>
95
102
  </div>
96
103
  </div>
97
104
  </div>
@@ -0,0 +1,9 @@
1
+ .c-article-infobox {
2
+ background: $light-gray;
3
+ padding: 2rem;
4
+ }
5
+
6
+ .c-widget-share-box + .c-article-infobox,
7
+ .c-article-infobox + .c-article-infobox {
8
+ margin-top: 2rem;
9
+ }
@@ -11,6 +11,7 @@
11
11
  @import 'components/typography';
12
12
 
13
13
  @import 'components/academic-title';
14
+ @import 'components/article-infobox';
14
15
  @import 'components/article-listing';
15
16
  @import 'components/banner';
16
17
  @import 'components/blockquote';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.5.0
4
+ version: 6.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
@@ -65,6 +65,7 @@ files:
65
65
  - _data/campaigns.yml
66
66
  - _data/menu.yml
67
67
  - _includes/accordeon/accordeon.html
68
+ - _includes/article-infobox.html
68
69
  - _includes/articles/author.html
69
70
  - _includes/articles/horizontal-article.html
70
71
  - _includes/articles/list-responsive.html
@@ -76,6 +77,7 @@ files:
76
77
  - _includes/disqus_comments.html
77
78
  - _includes/footer.html
78
79
  - _includes/google-analytics.html
80
+ - _includes/head-custom.html
79
81
  - _includes/head.html
80
82
  - _includes/header.html
81
83
  - _includes/headline-media.html
@@ -132,6 +134,7 @@ files:
132
134
  - _sass/_sprites.scss
133
135
  - _sass/components/Slider.scss
134
136
  - _sass/components/academic-title.scss
137
+ - _sass/components/article-infobox.scss
135
138
  - _sass/components/article-listing.scss
136
139
  - _sass/components/banner.scss
137
140
  - _sass/components/blockquote.scss