jekyll-theme-pirati 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +55 -0
- data/_includes/accordeon/accordeon-column.html +8 -0
- data/_includes/accordeon/accordeon.html +12 -0
- data/_includes/article-list/featured_article.html +55 -0
- data/_includes/article-list/list-3col.html +55 -0
- data/_includes/article-list/pagination.html +36 -0
- data/_includes/article-list/standard_article.html +45 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +23 -0
- data/_includes/google-analytics.html +12 -0
- data/_includes/head.html +60 -0
- data/_includes/header.html +115 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/js/custom.js +245 -0
- data/_includes/js/fb.js +15 -0
- data/_includes/js/main.html +18 -0
- data/_includes/js/piwik.js +11 -0
- data/_includes/js/tw.js +15 -0
- data/_includes/people/item.html +31 -0
- data/_includes/people/list-2col.html +25 -0
- data/_includes/right-bar/bar_cal.html +15 -0
- data/_includes/right-bar/bar_fb.html +23 -0
- data/_includes/right-bar/bar_foto.html +20 -0
- data/_includes/right-bar/bar_map.html +37 -0
- data/_includes/right-bar/bar_people.html +25 -0
- data/_includes/right-bar/bar_program.html +35 -0
- data/_includes/right-bar/bar_teams_summary.html +22 -0
- data/_includes/right-bar/bar_teams_toc.html +31 -0
- data/_includes/right-bar/bar_textbox.html +23 -0
- data/_includes/right-bar/bar_toc.html +77 -0
- data/_includes/right-bar/bar_tw.html +16 -0
- data/_includes/right-bar/bar_video.html +23 -0
- data/_includes/right-bar/rbar.html +39 -0
- data/_includes/right-bar/social-bar.html +16 -0
- data/_includes/social.html +14 -0
- data/_includes/submenu.html +22 -0
- data/_includes/title/title_header.html +9 -0
- data/_layouts/blank.html +14 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +23 -0
- data/_layouts/home.html +34 -0
- data/_layouts/page.html +34 -0
- data/_layouts/post.html +110 -0
- data/_layouts/redirected.html +13 -0
- data/_layouts/team.html +45 -0
- data/_sass/_base.scss +24 -0
- data/_sass/_settings.scss +569 -0
- data/_sass/_sprites.scss +0 -0
- data/_sass/components/BasicPage.scss +464 -0
- data/_sass/components/BlogPosting.scss +274 -0
- data/_sass/components/Person.scss +42 -0
- data/_sass/components/Slider.scss +0 -0
- data/_sass/components/banner.scss +75 -0
- data/_sass/components/blockquote.scss +53 -0
- data/_sass/components/card.scss +154 -0
- data/_sass/components/contact-bar.scss +93 -0
- data/_sass/components/content-card.scss +31 -0
- data/_sass/components/cta-button.scss +54 -0
- data/_sass/components/header-bar.scss +108 -0
- data/_sass/components/hero.scss +164 -0
- data/_sass/components/highlight.scss +60 -0
- data/_sass/components/icon.scss +25 -0
- data/_sass/components/pagination.scss +75 -0
- data/_sass/components/pripoj-se.scss +97 -0
- data/_sass/components/scroll-top.scss +32 -0
- data/_sass/components/simple-accordion.scss +85 -0
- data/_sass/components/tag.scss +30 -0
- data/_sass/components/top-bar.scss +492 -0
- data/_sass/components/top-sub-nav.scss +186 -0
- data/_sass/components/vertical-navigation.scss +68 -0
- data/_sass/components/welcome-header.scss +188 -0
- data/_sass/components/widget-accordion.scss +293 -0
- data/_sass/components/widget-share-box.scss +57 -0
- data/_sass/components/widget-simple-text.scss +15 -0
- data/_sass/foundation/_global.scss +638 -0
- data/_sass/foundation/components/_accordion-menu.scss +32 -0
- data/_sass/foundation/components/_accordion.scss +129 -0
- data/_sass/foundation/components/_badge.scss +55 -0
- data/_sass/foundation/components/_breadcrumbs.scss +95 -0
- data/_sass/foundation/components/_button-group.scss +195 -0
- data/_sass/foundation/components/_button.scss +265 -0
- data/_sass/foundation/components/_callout.scss +105 -0
- data/_sass/foundation/components/_close-button.scss +61 -0
- data/_sass/foundation/components/_drilldown.scss +79 -0
- data/_sass/foundation/components/_dropdown-menu.scss +221 -0
- data/_sass/foundation/components/_dropdown.scss +65 -0
- data/_sass/foundation/components/_flex-video.scss +63 -0
- data/_sass/foundation/components/_flex.scss +28 -0
- data/_sass/foundation/components/_float.scss +27 -0
- data/_sass/foundation/components/_label.scss +55 -0
- data/_sass/foundation/components/_media-object.scss +115 -0
- data/_sass/foundation/components/_menu-icon.scss +9 -0
- data/_sass/foundation/components/_menu.scss +314 -0
- data/_sass/foundation/components/_off-canvas.scss +177 -0
- data/_sass/foundation/components/_orbit.scss +193 -0
- data/_sass/foundation/components/_pagination.scss +162 -0
- data/_sass/foundation/components/_progress-bar.scss +64 -0
- data/_sass/foundation/components/_reveal.scss +172 -0
- data/_sass/foundation/components/_slider.scss +133 -0
- data/_sass/foundation/components/_sticky.scss +38 -0
- data/_sass/foundation/components/_switch.scss +232 -0
- data/_sass/foundation/components/_table.scss +234 -0
- data/_sass/foundation/components/_tabs.scss +165 -0
- data/_sass/foundation/components/_thumbnail.scss +54 -0
- data/_sass/foundation/components/_title-bar.scss +89 -0
- data/_sass/foundation/components/_tooltip.scss +104 -0
- data/_sass/foundation/components/_top-bar.scss +168 -0
- data/_sass/foundation/components/_visibility.scss +132 -0
- data/_sass/foundation/forms/_checkbox.scss +40 -0
- data/_sass/foundation/forms/_error.scss +84 -0
- data/_sass/foundation/forms/_fieldset.scss +54 -0
- data/_sass/foundation/forms/_forms.scss +34 -0
- data/_sass/foundation/forms/_help-text.scss +30 -0
- data/_sass/foundation/forms/_input-group.scss +128 -0
- data/_sass/foundation/forms/_label.scss +48 -0
- data/_sass/foundation/forms/_meter.scss +109 -0
- data/_sass/foundation/forms/_progress.scss +85 -0
- data/_sass/foundation/forms/_range.scss +144 -0
- data/_sass/foundation/forms/_select.scss +67 -0
- data/_sass/foundation/forms/_text.scss +163 -0
- data/_sass/foundation/foundation.scss +102 -0
- data/_sass/foundation/grid/_classes.scss +151 -0
- data/_sass/foundation/grid/_column.scss +126 -0
- data/_sass/foundation/grid/_flex-grid.scss +274 -0
- data/_sass/foundation/grid/_grid.scss +60 -0
- data/_sass/foundation/grid/_gutter.scss +34 -0
- data/_sass/foundation/grid/_layout.scss +51 -0
- data/_sass/foundation/grid/_position.scss +73 -0
- data/_sass/foundation/grid/_row.scss +95 -0
- data/_sass/foundation/grid/_size.scss +24 -0
- data/_sass/foundation/settings/_settings.scss +567 -0
- data/_sass/foundation/typography/_alignment.scss +22 -0
- data/_sass/foundation/typography/_base.scss +443 -0
- data/_sass/foundation/typography/_helpers.scss +77 -0
- data/_sass/foundation/typography/_print.scss +77 -0
- data/_sass/foundation/typography/_typography.scss +28 -0
- data/_sass/foundation/util/_breakpoint.scss +275 -0
- data/_sass/foundation/util/_color.scss +60 -0
- data/_sass/foundation/util/_flex.scss +68 -0
- data/_sass/foundation/util/_mixins.scss +235 -0
- data/_sass/foundation/util/_selector.scss +40 -0
- data/_sass/foundation/util/_unit.scss +90 -0
- data/_sass/foundation/util/_util.scss +11 -0
- data/_sass/foundation/util/_value.scss +107 -0
- data/_sass/main.scss +40 -0
- data/_sass/minima.scss +51 -0
- data/_sass/minima/_base.scss +254 -0
- data/_sass/minima/_layout.scss +255 -0
- data/_sass/minima/_syntax-highlighting.scss +71 -0
- data/_sass/objects/media.scss +55 -0
- data/_sass/objects/section.scss +247 -0
- data/_sass/objects/space.scss +7 -0
- data/_sass/scroll-top.scss +31 -0
- data/_sass/utilities/utilities.scss +190 -0
- data/assets/css/main.scss +110 -0
- data/assets/favicon/apple-touch-icon-114x114.png +0 -0
- data/assets/favicon/apple-touch-icon-120x120.png +0 -0
- data/assets/favicon/apple-touch-icon-144x144.png +0 -0
- data/assets/favicon/apple-touch-icon-152x152.png +0 -0
- data/assets/favicon/apple-touch-icon-57x57.png +0 -0
- data/assets/favicon/apple-touch-icon-60x60.png +0 -0
- data/assets/favicon/apple-touch-icon-72x72.png +0 -0
- data/assets/favicon/apple-touch-icon-76x76.png +0 -0
- data/assets/favicon/favicon-128.png +0 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-196x196.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon-96x96.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/mstile-144x144.png +0 -0
- data/assets/favicon/mstile-150x150.png +0 -0
- data/assets/favicon/mstile-310x150.png +0 -0
- data/assets/favicon/mstile-310x310.png +0 -0
- data/assets/favicon/mstile-70x70.png +0 -0
- data/assets/fonts/bebasneue_regular-webfont.eot +0 -0
- data/assets/fonts/bebasneue_regular-webfont.svg +3906 -0
- data/assets/fonts/bebasneue_regular-webfont.ttf +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff2 +0 -0
- data/assets/icons/blog.png +0 -0
- data/assets/icons/compass.png +0 -0
- data/assets/icons/facebook.png +0 -0
- data/assets/icons/github.png +0 -0
- data/assets/icons/googleplus.png +0 -0
- data/assets/icons/instagram.png +0 -0
- data/assets/icons/linkedin.png +0 -0
- data/assets/icons/pinterest.png +0 -0
- data/assets/icons/piratewiki.png +0 -0
- data/assets/icons/redmine.png +0 -0
- data/assets/icons/twitter.png +0 -0
- data/assets/icons/vkontakte.png +0 -0
- data/assets/icons/youtube.png +0 -0
- data/assets/img/brand/logo-group.png +0 -0
- data/assets/img/brand/logo-group.svg +27 -0
- data/assets/img/brand/logo-round.png +0 -0
- data/assets/img/brand/logo-round.svg +104 -0
- data/assets/img/brand/logo.ai +5083 -16
- data/assets/img/brand/logo.pdf +1405 -4
- data/assets/img/brand/logo.png +0 -0
- data/assets/img/brand/logo.svg +10 -0
- data/assets/img/brand/logo_easy.png +0 -0
- data/assets/img/brand/logo_napis.ai +5003 -21
- data/assets/img/brand/logo_napis.pdf +1482 -3
- data/assets/img/brand/logo_napis.png +0 -0
- data/assets/img/brand/logo_napis.svg +48 -0
- data/assets/img/brand/logo_napis_male.png +0 -0
- data/assets/img/brand/logo_napis_white.ai +5106 -16
- data/assets/img/brand/logo_napis_white.pdf +1532 -2
- data/assets/img/brand/logo_napis_white.png +0 -0
- data/assets/img/brand/logo_napis_white.svg +51 -0
- data/assets/img/brand/logo_white.ai +5194 -23
- data/assets/img/brand/logo_white.pdf +1388 -4
- data/assets/img/brand/logo_white.png +0 -0
- data/assets/img/brand/logo_white.svg +14 -0
- data/assets/img/brand/logotyp_email.png +0 -0
- data/assets/img/brand/logow.svg +19 -0
- data/assets/img/header/background.jpg +0 -0
- data/assets/img/people/jakub-pirat.jpg +0 -0
- data/assets/img/posts/obrazek.u.tohoto.postu.jpg +0 -0
- data/assets/img/tiles/lightGrey.png +0 -0
- data/assets/img/tiles/tableOfContent.png +0 -0
- data/assets/js/common-libs.min.js +1 -0
- data/assets/js/custom.min.js +1 -0
- data/assets/people/piratska-strana.png +0 -0
- data/assets/people/ppp.jpg +0 -0
- metadata +316 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bb944ffbfae68fcd13617229052ef29c26462c7b9ac8a7532e8f809878123b88
|
4
|
+
data.tar.gz: 07c5098096f33214f7a0aaef4cc6b34f84123796e6e71cb73f788c81d350bc01
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f00d00a9a9f6a75e34ce8b536af716c4d82904e6fae8762855a72e92c797f87272c37c6f6fc0094c630a9a0322a2116ea99832c9734277978dadcdec2aa272bb
|
7
|
+
data.tar.gz: 7d5d005b8d51fb13b6f6af60f77557d170c7c5a9e0c91584742971da63828365216fff9dd5aae3fc8633cad694bc34ec6ba9d64f0d1382a715c707f20caeea2f
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 jitka
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Jitka Novotná
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# jekyll-theme-pirati
|
2
|
+
|
3
|
+
Základní theme pirátu, jsou tu věci které by měli být společné pro většinu webů.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-pirati"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-pirati
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install jekyll-theme-pirati
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
Horní řádek se mění v `_data/top-menu.yml`.
|
34
|
+
Menu pod ním je v `_includes/header`.
|
35
|
+
Obrázek v hlavičce stránky se mění tak že do assets/header/ vložíte vlastní background.jpg
|
36
|
+
|
37
|
+
Čtěte dokumentaci jekyll a kopirujte z pirátskych webů.
|
38
|
+
|
39
|
+
## Contributing
|
40
|
+
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
42
|
+
|
43
|
+
## Development
|
44
|
+
|
45
|
+
To set up your environment to develop this theme, run `bundle install`.
|
46
|
+
|
47
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
48
|
+
|
49
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
50
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-pirati.gemspec` accordingly.
|
51
|
+
|
52
|
+
## License
|
53
|
+
|
54
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
55
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<div class="medium-12 large-4 columns o-section-block--medium">
|
2
|
+
<div class="o-section-header">
|
3
|
+
<h2 class="o-section__heading o-section__heading--small">{{topic.name}}</h2>
|
4
|
+
</div>
|
5
|
+
{% for point in topic.items %}
|
6
|
+
{% include accordeon/accordeon.html param='point' %}
|
7
|
+
{% endfor %}
|
8
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<ul class="c-widget-accordion c-widget-accordion--unstacksibling c-widget-accordion--topspace" data-accordion="" data-allow-all-closed="true">
|
2
|
+
<li class="c-widget-accordion-item" data-accordion-item="">
|
3
|
+
<a href="#" class="c-widget-accordion-link">
|
4
|
+
<span class="c-widget-accordion__title c-widget-accordion__title--noicon c-widget-accordion__title--plain">{{point.title}}</span>
|
5
|
+
</a>
|
6
|
+
<div class="c-widget-accordion-content" data-tab-content="">
|
7
|
+
<div class="c-widget-accordion-content-inner c-widget-accordion-content-inner--bigp">
|
8
|
+
{{point.content}}
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</li>
|
12
|
+
</ul>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<article itemtype="http://schema.org/BlogPosting" class="c-BlogPosting c-BlogPosting--featured c-BlogPosting--primary" itemscope="">
|
2
|
+
<link itemprop="mainEntityOfPage" href="http://insertshownpagelinkhere.com">
|
3
|
+
<div class="c-BlogPosting-contentWrapper u-cf">
|
4
|
+
<div class="c-BlogPosting-photoBox">
|
5
|
+
<!-- BlogPosting image -->
|
6
|
+
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-BlogPosting__image" itemscope="">
|
7
|
+
<img src="{{article.image | relative_url }}" alt="{{article.title}}">
|
8
|
+
<meta itemprop="url" content="{{article.image | relative_url }}">
|
9
|
+
<meta itemprop="width" content="">
|
10
|
+
<meta itemprop="height" content=""> </div>
|
11
|
+
</div>
|
12
|
+
<div class="c-BlogPosting-infoBox">
|
13
|
+
<!-- Date published -->
|
14
|
+
<span itemprop="description" class="c-BlogPosting__datePublished">
|
15
|
+
<i class="fa fa-calendar-o" aria-hidden="true"></i> {{article.date | date: "%d.%m.%Y" }}
|
16
|
+
<meta itemprop="datePublished" content="{{article.date | date_to_xmlschema }}">
|
17
|
+
<meta itemprop="dateModified" content=""> </span>
|
18
|
+
<br class="hide-for-medium">
|
19
|
+
<!-- Authors -->
|
20
|
+
<span itemprop="author" itemtype="http://schema.org/Person" class="c-BlogPosting__authors" itemscope="">
|
21
|
+
<i class="fa fa-user" aria-hidden="true"></i>
|
22
|
+
<span itemprop="name" class="c-BlogPosting-excerpt__author">{{article.author}}</span>
|
23
|
+
</span>
|
24
|
+
</div>
|
25
|
+
<div class="c-BlogPosting-contentBox">
|
26
|
+
<!-- Headline -->
|
27
|
+
<h1 itemprop="headline" class="c-BlogPosting__title">
|
28
|
+
<a href="{{article.url | relative_url }}" itemprop="url">{{article.title}}</a>
|
29
|
+
</h1>
|
30
|
+
<!-- BlogPosting description-->
|
31
|
+
<div itemprop="description" class="c-BlogPosting-content">
|
32
|
+
<p>{{ article.excerpt | truncatewords: 45 }}</p>
|
33
|
+
</div>
|
34
|
+
<a href="{{article.url | relative_url}}" class="c-BlogPosting-excerpt-readMore">Přečíst celý článek ›</a>
|
35
|
+
</div>
|
36
|
+
<!-- Publisher -->
|
37
|
+
<div itemprop="publisher" itemtype="http://schema.org/Organization" class="u-hidden" itemscope="">
|
38
|
+
<div itemprop="logo" itemtype="http://schema.org/ImageObject" itemscope="">
|
39
|
+
<meta itemprop="url" content="images/brand/logo.svg"> </div>
|
40
|
+
<meta itemprop="name" content="Česká pirátská strana"> </div>
|
41
|
+
</div>
|
42
|
+
<div class="c-BlogPosting-infoBox u-hidden">
|
43
|
+
<!-- Date published -->
|
44
|
+
<span itemprop="description" class="c-BlogPosting__datePublished">
|
45
|
+
<i class="fa fa-calendar-o" aria-hidden="true"></i> {{article.date | date: "%d.%m.%Y"}}
|
46
|
+
<meta itemprop="dateModified" content="">
|
47
|
+
<meta itemprop="datePublished" content=""> </span>
|
48
|
+
<br class="hide-for-medium">
|
49
|
+
<!-- Authors -->
|
50
|
+
<span itemprop="author" itemtype="http://schema.org/Person" class="c-BlogPosting__authors" itemscope="">
|
51
|
+
<i class="fa fa-user" aria-hidden="true"></i>
|
52
|
+
<span itemprop="name" class="c-BlogPosting__author">Česká pirátská strana</span>
|
53
|
+
</span>
|
54
|
+
</div>
|
55
|
+
</article>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{% assign close = close | minus: 2 | modulo: 3 %}
|
2
|
+
|
3
|
+
{% for article in posts offset: 0 %}
|
4
|
+
{% assign x = forloop.index | modulo: 3 %}
|
5
|
+
{% if x == 1 %}
|
6
|
+
<div class="row o-section o-section-block--divided-small o-section-block--divided-small--border--tight o-section--noSpaceBottom-medium">
|
7
|
+
<div class="medium-12 large-12 columns">
|
8
|
+
<div class="o-section-inner">
|
9
|
+
<div class="row">
|
10
|
+
{% endif %}
|
11
|
+
{% include article-list/standard_article.html param='article'%}
|
12
|
+
{% if x == 0 %}
|
13
|
+
</div><!-- .row -->
|
14
|
+
</div><!-- .o-section-inner -->
|
15
|
+
</div><!-- .columns -->
|
16
|
+
</div><!-- .row -->
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
{% if close != 0 %}
|
20
|
+
</div></div></div></div>
|
21
|
+
{% endif %}
|
22
|
+
{% comment %}
|
23
|
+
<hr>
|
24
|
+
|
25
|
+
<div class="row o-section o-section-block--divided-small o-section-block--divided-small--border--tight o-section--noSpaceBottom-medium">
|
26
|
+
<div class="medium-12 large-12 columns">
|
27
|
+
<div class="o-section-inner">
|
28
|
+
<div class="row">
|
29
|
+
{% for article in paginator.posts offset: 0 limit: 3 %}
|
30
|
+
{% include article-list/standard_article.html param='article'%}
|
31
|
+
{% endfor %}
|
32
|
+
</div>
|
33
|
+
<!-- .row -->
|
34
|
+
</div>
|
35
|
+
<!-- .o-section-inner -->
|
36
|
+
</div>
|
37
|
+
<!-- .columns -->
|
38
|
+
</div>
|
39
|
+
<!-- .row -->
|
40
|
+
|
41
|
+
<div class="row o-section o-section-block--divided-small o-section-block--divided-small--border--tight">
|
42
|
+
<div class="medium-12 large-12 columns">
|
43
|
+
<div class="o-section-inner">
|
44
|
+
<div class="row">
|
45
|
+
{% assign article = paginator.posts[6] %}
|
46
|
+
{% include article-list/standard_article.html param='article'%}
|
47
|
+
{% assign article = paginator.posts[7] %}
|
48
|
+
{% include article-list/standard_article.html param='article'%}
|
49
|
+
{% assign article = paginator.posts[8] %}
|
50
|
+
{% include article-list/standard_article.html param='article'%}
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
{% endcomment %}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<ul class="pagination text-center" role="navigation" aria-label="Pagination">
|
2
|
+
{% if paginator.page == 1 %}
|
3
|
+
<li class="pagination-previous disabled">Předchozí</li>
|
4
|
+
{% else %}
|
5
|
+
<li class="pagination-previous">
|
6
|
+
<a href="{{ paginator.previous_page_path }}" aria-label="Previous page">Předchozí</a>
|
7
|
+
</li>
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
{% for page in (1..paginator.total_pages) %}
|
11
|
+
<li {% if page == paginator.page %} class="current"{% endif %}>
|
12
|
+
{% if page == paginator.page %}
|
13
|
+
{{ forloop.index }}
|
14
|
+
{% else %}
|
15
|
+
{% if forloop.index == 1 %}
|
16
|
+
<a href="/aktuality/" aria-label="Page {{ forloop.index }}">
|
17
|
+
{% else %}
|
18
|
+
<a href="/aktuality/{{forloop.index}}/" aria-label="Page {{ forloop.index }}">
|
19
|
+
{% endif %}
|
20
|
+
{{ forloop.index }}</a>
|
21
|
+
{% endif %}
|
22
|
+
</li>
|
23
|
+
{% endfor %}
|
24
|
+
|
25
|
+
{% comment %}
|
26
|
+
<li class="ellipsis"></li>
|
27
|
+
{% endcomment %}
|
28
|
+
|
29
|
+
{% if paginator.page == paginator.total_pages %}
|
30
|
+
<li class="pagination-next disabled">Další</li>
|
31
|
+
{% else %}
|
32
|
+
<li class="pagination-next">
|
33
|
+
<a href="{{ paginator.next_page_path }}" aria-label="Next page">Další</a>
|
34
|
+
</li>
|
35
|
+
{% endif %}
|
36
|
+
</ul>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<div class="medium-12 large-4 columns">
|
2
|
+
<!-- Article -->
|
3
|
+
<article itemtype="http://schema.org/BlogPosting" class="c-BlogPosting c-BlogPosting--featured c-BlogPosting-excerpt--nospace" itemscope="">
|
4
|
+
<link itemprop="mainEntityOfPage" href="http://insertshownpagelinkhere.com">
|
5
|
+
<div class="c-BlogPosting-contentWrapper u-cf">
|
6
|
+
<div class="c-BlogPosting-photoBox">
|
7
|
+
<!-- BlogPosting image -->
|
8
|
+
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-BlogPosting__image" itemscope="">
|
9
|
+
<img src="{{article.image | relative_url }}" alt="{{article.title}}">
|
10
|
+
<meta itemprop="url" content="{{article.image | relative_url }}">
|
11
|
+
<meta itemprop="width" content="">
|
12
|
+
<meta itemprop="height" content=""> </div>
|
13
|
+
</div>
|
14
|
+
<div class="c-BlogPosting-infoBox">
|
15
|
+
<!-- Date published -->
|
16
|
+
<span itemprop="description" class="c-BlogPosting__datePublished">
|
17
|
+
<i class="fa fa-calendar-o" aria-hidden="true"></i>{{article.date | date: "%d.%m.%Y"}}
|
18
|
+
<meta itemprop="datePublished" content="{{article.date | date_to_xmlschema }}">
|
19
|
+
<meta itemprop="dateModified" content=""> </span>
|
20
|
+
<br class="hide-for-medium">
|
21
|
+
<!-- Authors -->
|
22
|
+
<span itemprop="author" itemtype="http://schema.org/Person" class="c-BlogPosting__authors" itemscope="">
|
23
|
+
<i class="fa fa-user" aria-hidden="true"></i>
|
24
|
+
<span itemprop="name" class="c-BlogPosting-excerpt__author">{{article.author}}</span>
|
25
|
+
</span>
|
26
|
+
</div>
|
27
|
+
<div class="c-BlogPosting-contentBox">
|
28
|
+
<!-- Headline -->
|
29
|
+
<h1 itemprop="headline" class="c-BlogPosting__title">
|
30
|
+
<a href="{{article.url | relative_url}}" itemprop="url">{{article.title}}</a>
|
31
|
+
</h1>
|
32
|
+
<!-- BlogPosting description-->
|
33
|
+
<div itemprop="description" class="c-BlogPosting-content">
|
34
|
+
<p>{{ article.excerpt | truncatewords: 45 }}</p>
|
35
|
+
</div>
|
36
|
+
<a href="{{article.url | relative_url}}" class="c-BlogPosting-excerpt-readMore">Přečíst celý článek ›</a>
|
37
|
+
</div>
|
38
|
+
<!-- Publisher -->
|
39
|
+
<div itemprop="publisher" itemtype="http://schema.org/Organization" class="u-hidden" itemscope="">
|
40
|
+
<div itemprop="logo" itemtype="http://schema.org/ImageObject" itemscope="">
|
41
|
+
<meta itemprop="url" content="images/brand/logo.svg"> </div>
|
42
|
+
<meta itemprop="name" content="Česká pirátská strana"> </div>
|
43
|
+
</div>
|
44
|
+
</article>
|
45
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{%- if page.comments != false and jekyll.environment == "production" -%}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
+
};
|
9
|
+
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
|
13
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
14
|
+
|
15
|
+
s.setAttribute('data-timestamp', +new Date());
|
16
|
+
(d.head || d.body).appendChild(s);
|
17
|
+
})();
|
18
|
+
</script>
|
19
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
20
|
+
{%- endif -%}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div class="text-right show-for-medium-up hide-for-print">
|
2
|
+
<a href="{{ site.data.links.group.github_repository }}edit/gh-pages/{{ page.path }}" class="label secondary" style="background-color:#bbb">
|
3
|
+
<i class="fa fa-pencil"></i>
|
4
|
+
Navrhni úpravu</a>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<footer class="o-section o-section--tiled o-section--bigger u-inverted u-cf">
|
8
|
+
<div class="o-section-inner">
|
9
|
+
<div class="row">
|
10
|
+
<div class="medium-12 u-stacked-medium-down">
|
11
|
+
<p class="u-maxWidth80percent u-smaller-line-height">
|
12
|
+
<img src="{{ 'assets/img/brand/logo-round.svg' | relative_url }}" style="width: 170px; padding-right:30px" alt="Česká pirátská strana" class="u-center-medium-down">
|
13
|
+
<span class="u-mirror-horizontally">©</span> Piráti, 2018. Všechna práva vyhlazena.
|
14
|
+
Sdílejte a nechte ostatní sdílet za stejných podmínek.
|
15
|
+
</p>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</footer>
|
20
|
+
|
21
|
+
<div class='scrolltop'>
|
22
|
+
<div class='scroll icon'><i class="fa fa-4x fa-angle-up"></i></div>
|
23
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<script>
|
2
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
}
|
11
|
+
</script>
|
12
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
<head>
|
2
|
+
{% capture title %}{% if page.ogtitle %}{{page.ogtitle}} | {% elsif page.title %}{{ page.title | escape }} | {% endif %}{{ site.title | escape }}{% endcapture %}
|
3
|
+
{% capture description %}{% if page.description %}{{page.description}}{% elsif page.desc %}{{page.desc}}{% elsif page.excerpt %}Pirátská strana: {{ page.excerpt | strip_html | strip_newlines | truncate: 330 }}{%else%}{{site.description}}{% endif %}{% endcapture %}
|
4
|
+
{% capture keywords %}{{site.keywords}}{% if page.keywords %}, {{page.keywords}}{% endif %}{% if page.tags%}, {{page.tags}}{% endif %}{% endcapture %}
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
<title>{{title}}</title>
|
9
|
+
<meta name="author" content="Česká pirátská strana" />
|
10
|
+
<meta name="robots" content="index,follow" />
|
11
|
+
<meta name="description" content="{{description}}">
|
12
|
+
<meta name="keywords" content="{{keywords}}" />
|
13
|
+
<!-- Favicons -->
|
14
|
+
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ 'assets/favicon/apple-touch-icon-57x57.png' | relative_url }}">
|
15
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{'assets/favicon/apple-touch-icon-114x114.png' | relative_url }}">
|
16
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{'assets/favicon/apple-touch-icon-72x72.png' | relative_url }}">
|
17
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{'assets/favicon/apple-touch-icon-144x144.png' | relative_url }}">
|
18
|
+
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="{{'assets/favicon/apple-touch-icon-60x60.png' | relative_url }}">
|
19
|
+
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{'assets/favicon/apple-touch-icon-120x120.png' | relative_url }}">
|
20
|
+
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{'assets/favicon/apple-touch-icon-76x76.png' | relative_url }}">
|
21
|
+
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{'assets/favicon/apple-touch-icon-152x152.png' | relative_url }}">
|
22
|
+
<link rel="icon" type="image/png" href="{{'assets/favicon/favicon-196x196.png' | relative_url }}" sizes="196x196">
|
23
|
+
<link rel="icon" type="image/png" href="{{'assets/favicon/favicon-96x96.png' | relative_url }}" sizes="96x96">
|
24
|
+
<link rel="icon" type="image/png" href="{{'assets/favicon/favicon-16x16.png' | relative_url }}" sizes="16x16">
|
25
|
+
<link rel="icon" type="image/png" href="{{'assets/favicon/favicon-32x32.png' | relative_url }}" sizes="32x32">
|
26
|
+
<link rel="icon" type="image/png" href="{{'assets/favicon/favicon-128.png' | relative_url }}" sizes="128x128">
|
27
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.data.links.group.name }} RSS" href="{{'/feed.xml' | relative_url }}">
|
28
|
+
<meta name="application-name" content="{{ site.data.links.group.name }}">
|
29
|
+
<meta name="msapplication-TileColor" content="#000000">
|
30
|
+
<meta name="msapplication-TileImage" content="{{'assets/favicon/mstile-144x144.png' | relative_url }}">
|
31
|
+
<meta name="msapplication-square70x70logo" content="{{'assets/favicon/mstile-70x70.png' | relative_url }}">
|
32
|
+
<meta name="msapplication-square150x150logo" content="{{'assets/favicon/mstile-150x150.png' | relative_url }}">
|
33
|
+
<meta name="msapplication-wide310x150logo" content="{{'assets/favicon/mstile-310x150.png' | relative_url }}">
|
34
|
+
<meta name="msapplication-square310x310logo" content="{{'assets/favicon/mstile-310x310.png' | relative_url }}">
|
35
|
+
<meta property="og:url" content="{{page.url | absolute_url }}" />
|
36
|
+
<meta property="og:type" content="website" />
|
37
|
+
<meta property="og:title" content="{{title}}" />
|
38
|
+
<meta property="og:description" content="{{description }}" />
|
39
|
+
{% if page.layout == 'post' %}
|
40
|
+
<meta property="og:image" content="{{page.image | relative_url }}" />
|
41
|
+
{% elsif page.img %}
|
42
|
+
<meta property="og:image" content="{{page.img | prepend: '/assets/img/' | relative_url }}" />
|
43
|
+
{% else %}
|
44
|
+
<meta property="og:image" content="{{'/assets/img/brand/logo-round.png' | relative_url }}" />
|
45
|
+
{% endif %}
|
46
|
+
<!-- Fonts -->
|
47
|
+
{% if page.layout != 'blank' %}
|
48
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=latin-ext" rel="stylesheet">
|
49
|
+
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300i,400,500,700&subset=latin-ext" rel="stylesheet">
|
50
|
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
51
|
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" rel="stylesheet">
|
52
|
+
<link rel="stylesheet" href="{{'assets/css/main.css' | relative_url }}">
|
53
|
+
{% endif %}
|
54
|
+
<!-- API Mapy.cz that has to be in the header -->
|
55
|
+
{% if page.mapycz_api %}
|
56
|
+
<script type="text/javascript" src="https://api.mapy.cz/loader.js"></script>
|
57
|
+
<script type="text/javascript">Loader.load({% if page.mapycz_api=='mini-api' %}null, {api:"simple"}{% endif %})</script>
|
58
|
+
<style>.smap img { max-width: none !important; transform: none;}</style>
|
59
|
+
{% endif %}
|
60
|
+
</head>
|