jekyll-theme-woforo 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +690 -0
- data/{LICENSE → LICENSE.txt} +5 -5
- data/README.md +128 -19
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google-universal.html +9 -0
- data/_includes/analytics-providers/google.html +11 -0
- data/_includes/analytics.html +12 -0
- data/_includes/archive-single.html +38 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +241 -0
- data/_includes/base_path +5 -0
- data/_includes/breadcrumbs.html +39 -0
- data/_includes/browser-upgrade.html +3 -0
- data/_includes/category-list.html +26 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/discourse.html +13 -0
- data/_includes/comments-providers/disqus.html +22 -0
- data/_includes/comments-providers/facebook.html +8 -0
- data/_includes/comments-providers/google-plus.html +2 -0
- data/_includes/comments-providers/scripts.html +18 -0
- data/_includes/comments-providers/staticman.html +42 -0
- data/_includes/comments.html +80 -0
- data/_includes/feature_row +50 -0
- data/_includes/figure +12 -0
- data/_includes/footer.html +22 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/gallery +47 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head.html +19 -9
- data/_includes/head/custom.html +5 -0
- data/_includes/masthead.html +21 -0
- data/_includes/nav_list +47 -0
- data/_includes/page__hero.html +53 -0
- data/_includes/page__taxonomy.html +7 -0
- data/_includes/paginator.html +68 -0
- data/_includes/post_pagination.html +14 -0
- data/_includes/read-time.html +15 -0
- data/_includes/scripts.html +4 -0
- data/_includes/seo.html +145 -0
- data/_includes/sidebar.html +23 -0
- data/_includes/social-share.html +13 -0
- data/_includes/tag-list.html +26 -0
- data/_includes/toc +7 -0
- data/_layouts/archive-taxonomy.html +15 -0
- data/_layouts/archive.html +24 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +25 -5
- data/_layouts/home.html +11 -0
- data/_layouts/single.html +74 -0
- data/_layouts/splash.html +20 -0
- data/_sass/_animations.scss +21 -0
- data/_sass/_archive.scss +238 -0
- data/_sass/_base.scss +315 -0
- data/_sass/_buttons.scss +153 -0
- data/_sass/_footer.scss +80 -0
- data/_sass/_forms.scss +391 -0
- data/_sass/_masthead.scss +53 -0
- data/_sass/_mixins.scss +53 -0
- data/_sass/_navigation.scss +544 -0
- data/_sass/_notices.scss +99 -0
- data/_sass/_page.scss +401 -0
- data/_sass/_print.scss +18 -0
- data/_sass/_reset.scss +187 -0
- data/_sass/_sidebar.scss +231 -0
- data/_sass/_syntax.scss +146 -0
- data/_sass/_tables.scss +38 -0
- data/_sass/_utilities.scss +470 -0
- data/_sass/_variables.scss +128 -0
- data/_sass/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/vendor/breakpoint/_context.scss +95 -0
- data/_sass/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/vendor/font-awesome/_animated.scss +34 -0
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
- data/_sass/vendor/font-awesome/_core.scss +12 -0
- data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
- data/_sass/vendor/font-awesome/_font-awesome.scss +18 -0
- data/_sass/vendor/font-awesome/_icons.scss +789 -0
- data/_sass/vendor/font-awesome/_larger.scss +13 -0
- data/_sass/vendor/font-awesome/_list.scss +19 -0
- data/_sass/vendor/font-awesome/_mixins.scss +60 -0
- data/_sass/vendor/font-awesome/_path.scss +15 -0
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
- data/_sass/vendor/font-awesome/_screen-reader.scss +5 -0
- data/_sass/vendor/font-awesome/_stacked.scss +20 -0
- data/_sass/vendor/font-awesome/_variables.scss +800 -0
- data/_sass/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/vendor/susy/_su.scss +4 -0
- data/_sass/vendor/susy/_susy.scss +4 -0
- data/_sass/vendor/susy/_susyone.scss +4 -0
- data/_sass/vendor/susy/susy/_su.scss +7 -0
- data/_sass/vendor/susy/susy/language/_susy.scss +24 -0
- data/_sass/vendor/susy/susy/language/_susyone.scss +13 -0
- data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -0
- data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -0
- data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -0
- data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -0
- data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -0
- data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -0
- data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -0
- data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -0
- data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -0
- data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -0
- data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -0
- data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -0
- data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -0
- data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -0
- data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -0
- data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -0
- data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -0
- data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -0
- data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -0
- data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -0
- data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -0
- data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -0
- data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -0
- data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -0
- data/_sass/vendor/susy/susy/output/_float.scss +9 -0
- data/_sass/vendor/susy/susy/output/_shared.scss +15 -0
- data/_sass/vendor/susy/susy/output/_support.scss +9 -0
- data/_sass/vendor/susy/susy/output/float/_container.scss +16 -0
- data/_sass/vendor/susy/susy/output/float/_end.scss +40 -0
- data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -0
- data/_sass/vendor/susy/susy/output/float/_span.scss +35 -0
- data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -0
- data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -0
- data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -0
- data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -0
- data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -0
- data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -0
- data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -0
- data/_sass/vendor/susy/susy/output/support/_background.scss +58 -0
- data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -0
- data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -0
- data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -0
- data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -0
- data/_sass/vendor/susy/susy/output/support/_support.scss +85 -0
- data/_sass/vendor/susy/susy/su/_grid.scss +103 -0
- data/_sass/vendor/susy/susy/su/_settings.scss +73 -0
- data/_sass/vendor/susy/susy/su/_utilities.scss +111 -0
- data/_sass/vendor/susy/susy/su/_validation.scss +57 -0
- data/assets/css/main.scss +79 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/js/_main.js +100 -0
- data/assets/js/main.min.js +5 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +72 -0
- data/assets/js/plugins/jquery.magnific-popup.js +2049 -0
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -0
- data/assets/js/plugins/stickyfill.min.js +8 -0
- data/assets/js/vendor/jquery/jquery-1.12.4.min.js +5 -0
- metadata +243 -16
- data/_includes/header.html +0 -0
- data/_layouts/page.html +0 -5
- data/_layouts/post.html +0 -9
- data/_sass/woforo.scss +0 -24
@@ -0,0 +1,23 @@
|
|
1
|
+
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
2
|
+
<div class="sidebar sticky">
|
3
|
+
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
4
|
+
{% if page.sidebar %}
|
5
|
+
{% for s in page.sidebar %}
|
6
|
+
{% if s.image %}
|
7
|
+
<img src=
|
8
|
+
{% if s.image contains "://" %}
|
9
|
+
"{{ s.image }}"
|
10
|
+
{% else %}
|
11
|
+
"{{ s.image | absolute_url }}"
|
12
|
+
{% endif %}
|
13
|
+
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
14
|
+
{% endif %}
|
15
|
+
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
16
|
+
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
{% if page.sidebar.nav %}
|
19
|
+
{% include nav_list nav=page.sidebar.nav %}
|
20
|
+
{% endif %}
|
21
|
+
{% endif %}
|
22
|
+
</div>
|
23
|
+
{% endif %}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<section class="page__share">
|
2
|
+
{% if site.data.ui-text[site.locale].share_on_label %}
|
3
|
+
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
4
|
+
{% endif %}
|
5
|
+
|
6
|
+
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
7
|
+
|
8
|
+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
9
|
+
|
10
|
+
<a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
11
|
+
|
12
|
+
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
13
|
+
</section>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{% case site.tag_archive.type %}
|
2
|
+
{% when "liquid" %}
|
3
|
+
{% assign path_type = "#" %}
|
4
|
+
{% when "jekyll-archives" %}
|
5
|
+
{% assign path_type = nil %}
|
6
|
+
{% endcase %}
|
7
|
+
|
8
|
+
{% if site.tag_archive.path %}
|
9
|
+
{% comment %}
|
10
|
+
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
|
11
|
+
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
12
|
+
{% endcomment %}
|
13
|
+
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
14
|
+
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
|
15
|
+
|
16
|
+
<p class="page__taxonomy">
|
17
|
+
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
18
|
+
<span itemprop="keywords">
|
19
|
+
{% for hash in tag_hashes %}
|
20
|
+
{% assign keyValue = hash | split: '#' %}
|
21
|
+
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
22
|
+
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
23
|
+
{% endfor %}
|
24
|
+
</span>
|
25
|
+
</p>
|
26
|
+
{% endif %}
|
data/_includes/toc
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<aside class="sidebar__right">
|
2
|
+
<nav class="toc" markdown="1">
|
3
|
+
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
4
|
+
* Auto generated table of contents
|
5
|
+
{:toc .toc__menu}
|
6
|
+
</nav>
|
7
|
+
</aside>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
author_profile: false
|
4
|
+
---
|
5
|
+
|
6
|
+
<div id="main" role="main">
|
7
|
+
{% include sidebar.html %}
|
8
|
+
|
9
|
+
<div class="archive">
|
10
|
+
<h1 class="page__title">{{ page.title }}</h1>
|
11
|
+
{% for post in page.posts %}
|
12
|
+
{% include archive-single.html %}
|
13
|
+
{% endfor %}
|
14
|
+
</div>
|
15
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
10
|
+
{% unless paginator %}
|
11
|
+
{% include breadcrumbs.html %}
|
12
|
+
{% endunless %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<div id="main" role="main">
|
16
|
+
{% include sidebar.html %}
|
17
|
+
|
18
|
+
<div class="archive">
|
19
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
20
|
+
<h1 class="page__title">{{ page.title }}</h1>
|
21
|
+
{% endunless %}
|
22
|
+
{{ content }}
|
23
|
+
</div>
|
24
|
+
</div>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.0.2
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -1,8 +1,28 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
<!doctype html>
|
5
|
+
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
6
|
+
<head>
|
2
7
|
{% include head.html %}
|
3
|
-
|
4
|
-
|
5
|
-
|
8
|
+
{% include head/custom.html %}
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
12
|
+
|
13
|
+
{% include browser-upgrade.html %}
|
14
|
+
{% include masthead.html %}
|
15
|
+
|
16
|
+
{% rtlify {{content}} %}
|
17
|
+
|
18
|
+
<div class="page__footer">
|
19
|
+
<footer>
|
20
|
+
{% include footer/custom.html %}
|
6
21
|
{% include footer.html %}
|
7
|
-
|
22
|
+
</footer>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
{% include scripts.html %}
|
26
|
+
|
27
|
+
</body>
|
8
28
|
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
6
|
+
|
7
|
+
{% for post in paginator.posts %}
|
8
|
+
{% include archive-single.html %}
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
{% include paginator.html %}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
10
|
+
{% unless paginator %}
|
11
|
+
{% include breadcrumbs.html %}
|
12
|
+
{% endunless %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<div id="main" role="main">
|
16
|
+
{% include sidebar.html %}
|
17
|
+
|
18
|
+
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
|
19
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
20
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
21
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
22
|
+
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
23
|
+
|
24
|
+
<div class="page__inner-wrap">
|
25
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
26
|
+
<header>
|
27
|
+
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
28
|
+
{% if page.read_time %}
|
29
|
+
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
30
|
+
{% endif %}
|
31
|
+
</header>
|
32
|
+
{% endunless %}
|
33
|
+
|
34
|
+
<section class="page__content" itemprop="text">
|
35
|
+
{{ content }}
|
36
|
+
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
37
|
+
</section>
|
38
|
+
|
39
|
+
<footer class="page__meta">
|
40
|
+
{% if site.data.ui-text[site.locale].meta_label %}
|
41
|
+
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
42
|
+
{% endif %}
|
43
|
+
{% include page__taxonomy.html %}
|
44
|
+
{% if page.modified %}
|
45
|
+
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
|
46
|
+
{% elsif page.date %}
|
47
|
+
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
48
|
+
{% endif %}
|
49
|
+
</footer>
|
50
|
+
|
51
|
+
{% if page.share %}{% include social-share.html %}{% endif %}
|
52
|
+
|
53
|
+
{% include post_pagination.html %}
|
54
|
+
</div>
|
55
|
+
|
56
|
+
{% if site.comments.provider and page.comments %}
|
57
|
+
{% include comments.html %}
|
58
|
+
{% endif %}
|
59
|
+
</article>
|
60
|
+
|
61
|
+
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
62
|
+
{% if page.id and page.related and site.related_posts.size > 0 %}
|
63
|
+
<div class="page__related">
|
64
|
+
{% if site.data.ui-text[site.locale].related_label %}
|
65
|
+
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
66
|
+
{% endif %}
|
67
|
+
<div class="grid__wrapper">
|
68
|
+
{% for post in site.related_posts limit:4 %}
|
69
|
+
{% include archive-single.html type="grid" %}
|
70
|
+
{% endfor %}
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
{% endif %}
|
74
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
<div id="main" role="main">
|
10
|
+
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
|
11
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
12
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
13
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
14
|
+
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
15
|
+
|
16
|
+
<section class="page__content" itemprop="text">
|
17
|
+
{{ content }}
|
18
|
+
</section>
|
19
|
+
</article>
|
20
|
+
</div>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
ANIMATIONS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
@-webkit-keyframes intro {
|
6
|
+
0% {
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
100% {
|
10
|
+
opacity: 1;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@keyframes intro {
|
15
|
+
0% {
|
16
|
+
opacity: 0;
|
17
|
+
}
|
18
|
+
100% {
|
19
|
+
opacity: 1;
|
20
|
+
}
|
21
|
+
}
|
data/_sass/_archive.scss
ADDED
@@ -0,0 +1,238 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
ARCHIVE
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.archive {
|
6
|
+
margin-bottom: 2em;
|
7
|
+
|
8
|
+
@include breakpoint($medium) {
|
9
|
+
@include span(12 of 12);
|
10
|
+
}
|
11
|
+
|
12
|
+
@include breakpoint($large) {
|
13
|
+
@include span(10 of 12 last);
|
14
|
+
@include prefix(0.5 of 12);
|
15
|
+
}
|
16
|
+
|
17
|
+
a {
|
18
|
+
color: inherit;
|
19
|
+
text-decoration: none;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.archive__subtitle {
|
24
|
+
margin: 1.414em 0 0;
|
25
|
+
padding-bottom: 0.5em;
|
26
|
+
font-size: $type-size-5;
|
27
|
+
color: mix(#fff, $gray, 25%);
|
28
|
+
border-bottom: 1px solid $border-color;
|
29
|
+
|
30
|
+
+ .list__item .archive__item-title {
|
31
|
+
margin-top: 0.5em;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.archive__item-title {
|
36
|
+
margin-bottom: 0.25em;
|
37
|
+
font-family: $sans-serif-narrow;
|
38
|
+
|
39
|
+
a + a {
|
40
|
+
opacity: 0.5;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
/* remove border*/
|
45
|
+
.page__content {
|
46
|
+
|
47
|
+
.archive__item-title {
|
48
|
+
margin-top: 1em;
|
49
|
+
border-bottom: none;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.archive__item-excerpt {
|
54
|
+
margin-top: 0;
|
55
|
+
font-size: $type-size-6;
|
56
|
+
|
57
|
+
& + p {
|
58
|
+
text-indent: 0;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.archive__item-teaser {
|
63
|
+
border-radius: $border-radius;
|
64
|
+
overflow: hidden;
|
65
|
+
img {
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.archive__item:hover {
|
71
|
+
.archive__item-teaser {
|
72
|
+
box-shadow: 0 0 10px rgba(#000, 0.25);
|
73
|
+
}
|
74
|
+
|
75
|
+
.archive__item-title {
|
76
|
+
text-decoration: underline;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
/*
|
82
|
+
List view
|
83
|
+
========================================================================== */
|
84
|
+
|
85
|
+
.list__item {
|
86
|
+
@include breakpoint($medium) {
|
87
|
+
padding-right: $right-sidebar-width-narrow;
|
88
|
+
}
|
89
|
+
|
90
|
+
@include breakpoint($large) {
|
91
|
+
padding-right: $right-sidebar-width;
|
92
|
+
}
|
93
|
+
|
94
|
+
@include breakpoint($x-large) {
|
95
|
+
padding-right: $right-sidebar-width-wide;
|
96
|
+
}
|
97
|
+
|
98
|
+
.page__meta {
|
99
|
+
margin: 0 0 4px;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
/*
|
105
|
+
Grid view
|
106
|
+
========================================================================== */
|
107
|
+
|
108
|
+
.grid__item {
|
109
|
+
margin-bottom: 2em;
|
110
|
+
|
111
|
+
.page__meta {
|
112
|
+
margin: 0 0 4px;
|
113
|
+
}
|
114
|
+
|
115
|
+
.archive__item-title {
|
116
|
+
margin-top: 0.5em;
|
117
|
+
font-size: $type-size-5;
|
118
|
+
}
|
119
|
+
|
120
|
+
.archive__item-excerpt {
|
121
|
+
display: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
@include breakpoint($small) {
|
125
|
+
@include gallery(5 of 10);
|
126
|
+
.archive__item-teaser {
|
127
|
+
max-height: 200px;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
@include breakpoint($medium) {
|
132
|
+
margin-left: 0; /* reset before mixin does its thing*/
|
133
|
+
margin-right: 0; /* reset before mixin does its thing*/
|
134
|
+
@include gallery(2.5 of 10);
|
135
|
+
|
136
|
+
.archive__item-teaser {
|
137
|
+
max-height: 120px;
|
138
|
+
}
|
139
|
+
|
140
|
+
.archive__item-excerpt {
|
141
|
+
display: block;
|
142
|
+
font-size: $type-size-6;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
/*
|
149
|
+
Features
|
150
|
+
========================================================================== */
|
151
|
+
|
152
|
+
.feature__wrapper {
|
153
|
+
@include clearfix();
|
154
|
+
margin-bottom: 2em;
|
155
|
+
border-bottom: 1px solid $border-color;
|
156
|
+
}
|
157
|
+
|
158
|
+
.feature__item {
|
159
|
+
margin-bottom: 2em;
|
160
|
+
font-size: 1.25rem;
|
161
|
+
|
162
|
+
@include breakpoint($small) {
|
163
|
+
margin-bottom: 0;
|
164
|
+
@include gallery(4 of 12);
|
165
|
+
|
166
|
+
.feature__item-teaser {
|
167
|
+
max-height: 200px;
|
168
|
+
overflow: hidden;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
&--left {
|
173
|
+
@include full();
|
174
|
+
font-size: 1.25rem;
|
175
|
+
|
176
|
+
.archive__item-teaser {
|
177
|
+
margin-bottom: 2em;
|
178
|
+
}
|
179
|
+
|
180
|
+
@include breakpoint($small) {
|
181
|
+
.archive__item-teaser {
|
182
|
+
@include span(5 of 12);
|
183
|
+
}
|
184
|
+
|
185
|
+
.archive__item-body {
|
186
|
+
@include span(7 of 12 last);
|
187
|
+
@include prefix(0.5 of 12);
|
188
|
+
@include suffix(1 of 12);
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
&--right {
|
194
|
+
@include full();
|
195
|
+
font-size: 1.25rem;
|
196
|
+
|
197
|
+
.archive__item-teaser {
|
198
|
+
margin-bottom: 2em;
|
199
|
+
}
|
200
|
+
|
201
|
+
@include breakpoint($small) {
|
202
|
+
text-align: right;
|
203
|
+
|
204
|
+
.archive__item-teaser {
|
205
|
+
@include span(5 of 12 rtl);
|
206
|
+
}
|
207
|
+
|
208
|
+
.archive__item-body {
|
209
|
+
@include span(7 of 12 last rtl);
|
210
|
+
@include prefix(0.5 of 12);
|
211
|
+
@include suffix(1 of 12);
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
&--center {
|
217
|
+
@include full();
|
218
|
+
font-size: 1.25rem;
|
219
|
+
|
220
|
+
.archive__item-teaser {
|
221
|
+
margin-bottom: 2em;
|
222
|
+
}
|
223
|
+
|
224
|
+
@include breakpoint($small) {
|
225
|
+
text-align: center;
|
226
|
+
|
227
|
+
.archive__item-teaser {
|
228
|
+
margin: 0 auto;
|
229
|
+
width: span(5 of 12);
|
230
|
+
}
|
231
|
+
|
232
|
+
.archive__item-body {
|
233
|
+
margin: 0 auto;
|
234
|
+
width: span(7 of 12);
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|