jekyll-theme-pirati 7.7.0 → 7.7.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: 573944f836836fb81e21fbb110724eaaf509f3927373a29f12dae087a1e86be9
4
- data.tar.gz: 71c4e0e2dcb03f4d2a81056c9e150103fb74603dc327b19bfc8c5e6e73a2e3be
3
+ metadata.gz: dfcb9abdebd0c42fefba9ca8683a1a8af2312becb435897726ba91d2fa680d80
4
+ data.tar.gz: de3a4c081f0fde3246546dc7cd2042b6f5a11348b12acbe3b63e9c97cec5938d
5
5
  SHA512:
6
- metadata.gz: dd8c121ec23b490c14f4c155178282b5a838b9e8315e47946e326731d7d90c0636d64ceabe36b7829c4e7280a34afe1f8e7bc81dc0f58e21f60c07d6491630cb
7
- data.tar.gz: 861c8a93de623ffe2821942b1c69ef2ed18667ca71c29e1df79a3ad69459564f3def60fb1f0900ce0b5f4797aaca828f420207b533d2a081f429c9543e225d5c
6
+ metadata.gz: 875dea2a4b46298d2102ef4ad60830df15858c9ff3d1898ee5ab307e8005b373f9af6db96d86cfb642ee79bc50ac4ae75eb8ca3a8aca122e6dfd4da08632cfb4
7
+ data.tar.gz: 5e94b32884957bfa55e7da48cff7c8c2ca261f1517ddfcb5b93ba6bda0bfaab95be596799532e811cb47dfec73cfd45cfee31b6ef53dfaae41c87730209c6440
@@ -4,7 +4,11 @@
4
4
  <div class="c-article-listing__row">
5
5
  <div class="c-article-listing__photobox">
6
6
  <div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image {% if include.article.youtubeVideoId %}c-article-listing__image--videoicon{% endif %}" itemscope="">
7
- {% capture imgPath %}{% asset '{{ include.article.image }}' magick:resize="348x232^" magick:gravity='center' magick:crop='348x232+0+0' @path %}{% endcapture %}
7
+ {% if site.mediaStorage %}
8
+ {% capture imgPath %}https://a.pirati.cz/resize/348x232/{{ site.mediaStorage }}/img/{{ include.article.image }}{% endcapture %}
9
+ {% else %}
10
+ {% capture imgPath %}{% asset '{{ include.article.image }}' magick:resize="348x232^" magick:gravity='center' magick:crop='348x232+0+0' @path %}{% endcapture %}
11
+ {% endif %}
8
12
  <a href="{{ include.article.url | relative_url }}">
9
13
  <img src="{{ imgPath }}" alt="{{ include.article.title }}">
10
14
  </a>
@@ -1,7 +1,7 @@
1
1
  {% if page.img %}
2
2
 
3
3
  {% if site.mediaStorage %}
4
- {% capture img %}https://a.pirati.cz/resize/225x225/{{ site.mediaStorage }}/img/{{ page.img }}{% endcapture %}
4
+ {% capture img %}<img alt='{{ page.name }}' class="c-person-image" src="https://a.pirati.cz/resize/225x225/{{ site.mediaStorage }}/img/{{ page.img }}"> {% endcapture %}
5
5
  {%- else -%}
6
6
  {% capture img %}{% asset '{{ page.img }}' alt='{{ page.name }}' magick:resize="350x" class='c-person-image' %}{% endcapture %}
7
7
  {%- endif -%}
@@ -12,7 +12,7 @@
12
12
  <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
13
13
  <li class="c-widget-accordion-item is-active" data-accordion-item="">
14
14
  <div class="c-widget-accordion-content" data-tab-content="">
15
- <img src="{{ img }}" alt="{{ page.name }}">
15
+ {{ img }}
16
16
  <div class="c-widget-accordion-content__cta">
17
17
  {% assign peopleCol = site.collections | where: "label", "people" | first %}
18
18
  <a class="expanded button large u-0margin" href="{{page.profiles.flickr}}"> Zobrazit více fotografií </a>
@@ -22,7 +22,7 @@
22
22
  </ul>
23
23
  </div>
24
24
  {% else %}
25
- <img src="{{ img }}" alt="{{ page.name }}">
25
+ {{ img }}
26
26
  {% endif %}
27
27
 
28
28
 
@@ -1,7 +1,7 @@
1
1
  <div class="o-section-block">
2
2
  <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
3
3
  <li class="c-widget-accordion-item is-active" data-accordion-item="">
4
- <a href="#" class="c-widget-accordion-link c-widget-accordion-link--nofill">
4
+ <a class="c-widget-accordion-link c-widget-accordion-link--nofill">
5
5
  <span class="c-widget-accordion__title">Lidé</span>
6
6
  </a>
7
7
  <div class="c-widget-accordion-content" data-tab-content="">
@@ -2,5 +2,5 @@
2
2
  {% assign posts = site.posts | where_exp: "item","item.authorId contains page.uid" | sort:"date" %}
3
3
 
4
4
  {% if posts %}
5
- {% include right-bar/rbar_articles.html posts=posts title="Seznam článku" %}
5
+ {% include right-bar/rbar_articles.html posts=posts title="Seznam článků" %}
6
6
  {% endif %}
@@ -3,7 +3,7 @@
3
3
  <div class="o-section-block">
4
4
  <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
5
5
  <li class="c-widget-accordion-item is-active" data-accordion-item="">
6
- <a href="#" class="c-widget-accordion-link c-widget-accordion-link--nofill">
6
+ <a class="c-widget-accordion-link c-widget-accordion-link--nofill">
7
7
  <span class="c-widget-accordion__title">Kontakt</span>
8
8
  </a>
9
9
  <div class="c-widget-accordion-content" data-tab-content="">
@@ -6,5 +6,5 @@
6
6
  {% assign posts = posts | sort: "date" | reverse %}
7
7
 
8
8
  {% if posts %}
9
- {% include right-bar/rbar_articles.html posts=posts title="Seznam článku" %}
9
+ {% include right-bar/rbar_articles.html posts=posts title="Seznam článků" %}
10
10
  {% endif %}
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: 7.7.0
4
+ version: 7.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-01-04 00:00:00.000000000 Z
12
+ date: 2020-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll