Compare commits

..
43 Commits
Author SHA1 Message Date
Michael Rose a7b749650e Merge branch 'release/3.2.3' 2016-06-03 15:04:27 -04:00
Michael Rose 89c252e347 Update CHANGELOG 2016-06-03 15:04:09 -04:00
Michael Rose 400111c58b Merge branch 'feature/discourse-comments' into develop 2016-06-03 12:03:34 -04:00
Michael Rose 5bbf801d8c Remove last blank line 2016-06-03 12:03:19 -04:00
Michael Rose d9ac4a7940 Merge branch 'feature-discourse-comments' of https://github.com/rriemann/minimal-mistakes into feature/discourse-comments 2016-06-03 12:01:08 -04:00
Michael Rose b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Robert Riemann e186ee3650 take into account an optional basepath 2016-06-03 10:57:52 +02:00
Robert Riemann f6f7d0cd97 javascript to embed comments from discourse forum
The comment system can be changed to embed topics from the Discourse
forum software: http://discourse.org/

More details: https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963
2016-06-03 00:34:14 +02:00
Michael Rose 9b833feb7d Update CHANGELOG 2016-06-01 21:53:35 -04:00
Michael Rose 8b793dde76 Update CHANGELOG 2016-06-01 21:53:03 -04:00
Michael Rose 449051d9c9 Merge branch 'release/3.2.2' into develop 2016-06-01 21:33:54 -04:00
Michael Rose 5bc7f00f91 Merge branch 'release/3.2.2'
# Conflicts:
#	CHANGELOG.md
2016-06-01 21:32:55 -04:00
Michael Rose 34d2bdf049 Update CHANGELOG 2016-06-01 21:31:45 -04:00
Michael Rose b7185c8155 Add support for gallery image captions in Magnific Popup overlays
- Apply optional `title` attribute to image anchors that trigger Magnific Popup overlays
- Close #334
2016-06-01 21:26:14 -04:00
Michael Rose 9fa7b23507 Update CHANGELOG 2016-05-31 12:37:41 -04:00
Michael Rose 2a05b6e907 Update CHANGELOG 2016-05-31 12:37:17 -04:00
Michael Rose 952f7b500b Merge branch 'hotfix/3.2.1' into develop 2016-05-31 12:32:09 -04:00
Michael Rose 15f4ac9641 Merge branch 'hotfix/3.2.1' 2016-05-31 12:32:04 -04:00
Michael Rose 68b02cd8d8 Use CSS3 transform instead of change in width for masthead menu underline effect 2016-05-31 12:31:39 -04:00
Michael Rose 213e2fe3f3 Update gems 2016-05-31 12:22:57 -04:00
Michael Rose cec8d40bc1 Add issue template for GitHub 2016-05-31 11:57:10 -04:00
Michael Rose 63aa6104a8 Remove >>>>>> conflict text from CHANGELOG 2016-05-31 11:03:27 -04:00
Michael Rose 87baf36b3a Merge branch 'release/3.2.0' into develop 2016-05-29 21:16:16 -04:00
Michael Rose 02f0e8c6c4 Merge branch 'release/3.2.0' 2016-05-29 21:16:16 -04:00
Michael Rose 9a8eea6e14 Update CHANGELOG 2016-05-29 21:15:54 -04:00
Michael Rose f1a7470d3b Merge branch 'feature/update-dependencies' into develop 2016-05-29 21:13:09 -04:00
Michael Rose 45f3a7a8ee Rename tag/category archive variables to avoid possible conflicts with site.tags and site.categories
- Fixes #329
2016-05-29 21:12:24 -04:00
Michael Rose 21d15c9cf9 Update gems 2016-05-29 20:44:33 -04:00
Michael Rose 28f85dfc4d Merge branch 'release/3.1.8' into develop 2016-05-16 09:57:08 -04:00
Michael Rose 3812f708fa Merge branch 'release/3.1.8' 2016-05-16 09:57:04 -04:00
Michael Rose 8e5d47d82f Update CHANGELOG 2016-05-16 09:56:47 -04:00
Michael Rose 86d08455e8 Remove duplicate fa-twitter and fa-twitter-square classes from _utilities.scss
- Fixes #302
2016-05-16 09:48:16 -04:00
Michael Rose 55efbd1782 Make page.title conditional in <h1>
- Fix #312
2016-05-16 09:42:16 -04:00
Michael Rose 6a3d24dac9 Merge branch 'release/3.1.7' into develop 2016-05-13 10:43:07 -04:00
Michael Rose d285f9d7bd Merge branch 'release/3.1.7' 2016-05-13 10:43:03 -04:00
Michael Rose 22a232365a Update CHANGELOG 2016-05-13 10:42:47 -04:00
Michael Rose c1a37c72c9 Merge branch 'feature/translate-recent-posts-title' into develop 2016-05-13 10:40:01 -04:00
Michael Rose ab2f7043b1 Merge branch 'master' of https://github.com/flohw/minimal-mistakes into feature/translate-recent-posts-title 2016-05-13 10:38:29 -04:00
Michael Rose 500ed4453f Merge branch 'feature/underline-fix' into develop 2016-05-13 10:37:41 -04:00
Michael Rose cfc32ac5e5 Merge branch 'fix-ws' of https://github.com/tobie/minimal-mistakes into feature/underline-fix 2016-05-13 10:33:47 -04:00
Flohw ee25653da2 Translate index page title 2016-05-13 07:24:06 +02:00
Michael Rose d80c24629f Merge branch 'release/3.1.6' into develop 2016-05-10 08:27:04 -04:00
Tobie Langel 9582a1b117 Fix whitespace issue using CSS. 2016-05-05 23:43:04 +02:00
25 changed files with 165 additions and 57 deletions
+45
View File
@@ -0,0 +1,45 @@
<!--
Before submitting please search open and closed issues at
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
Feel free to use the following as a template and remove or add fields as you see fit. You can convert `[ ]` into `[x]` to check boxes.
-->
- [ ] This is a question about using the theme.
- [ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
- [ ] This is a feature request.
- [ ] I have updated all gems with `bundle update`.
- [ ] I have tested locally with `bundle exec jekyll build`.
---
## Environment informations
<!--
Please include theme version, `github-pages --version`, and the operating system you are on or tested with.
-->
- **Minimal Mistakes version:**
- **`github-pages` or `jekyll` gem version:**
- **Operating system:**
---
## Expected behavior
<!--
Describe the intended output or what you expected to see.
-->
## Steps to reproduce the behavior
<!--
Include a link to a public repository or ZIP file so that they can more easily be reproduced. Being able to see your actual files helps troubleshooting as most issues stem from missing YAML Front Matter, a mis-configured `_config.sys` file, or `_posts` content.
Describe the steps you took for this problem to exist. Such as you cloned the theme, customized `_config.yml`, added your own posts, and started up a Jekyll server locally.
If an error occurred on GitHub Pages when pushing, please build locally and provide a complete log by running `bundle exec jekyll --trace --verbose` and including this output in the filed issue.
Screenshots can also be included if they help illustrate a behavior.
-->
+50 -1
View File
@@ -1,3 +1,53 @@
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
### Enhancement
- Add [Discourse](https://www.discourse.org/) as a commenting provider [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
### Enhancement
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
## [3.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.1)
### Bug Fixes
- Remove need for "double tapping" masthead menu links on iOS devices. [#315](https://github.com/mmistakes/minimal-mistakes/issues/315)
### Maintenance
- Add `ISSUE_TEMPLATE.md` for improve issue submission process.
## [3.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.0)
### Bug Fixes
- Fix missing category/tag links in post footer due to possible conflict with `site.tags` and `site.categories`. [#329](https://github.com/mmistakes/minimal-mistakes/issues/329#issuecomment-222375568)
## [3.1.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.8)
### Bug Fixes
- Fix `Liquid Exception: undefined method 'gsub' for nil:NilClass in _layouts/single.html` error when `page.title` is null. `<h1>` element is now conditional if `title: ` is not set for a `page` or collection item. [#312](https://github.com/mmistakes/minimal-mistakes/issues/312)
### Maintenance
- Remove duplicate `fa-twitter` and `fa-twitter-square` classes from `_utilities.scss`. [#302](https://github.com/mmistakes/minimal-mistakes/issues/302)
- Document installing additional Jekyll gem dependencies when using `gem "jekyll"` instead of `gem "github-pages"` to avoid any errors on run. [#305](https://github.com/mmistakes/minimal-mistakes/issues/305)
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
### Enhancement
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
### Maintenance
- Small fix to avoid underlying the whitespace between icons and related text when hovering. [#303](https://github.com/mmistakes/minimal-mistakes/pull/303)
## [3.1.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.6) ## [3.1.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.6)
### Maintenance ### Maintenance
@@ -58,7 +108,6 @@
### Bug Fixes ### Bug Fixes
- Fixed Bitbucket URL typo in author sidebar. - Fixed Bitbucket URL typo in author sidebar.
>>>>>>> release/3.1.0
## [3.0.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.0.3) ## [3.0.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.0.3)
### Enhancements ### Enhancements
+7 -7
View File
@@ -15,15 +15,15 @@ GEM
colorator (0.1) colorator (0.1)
ethon (0.9.0) ethon (0.9.0)
ffi (>= 1.3.0) ffi (>= 1.3.0)
execjs (2.6.0) execjs (2.7.0)
faraday (0.9.2) faraday (0.9.2)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.10) ffi (1.9.10)
ffi (1.9.10-x64-mingw32) ffi (1.9.10-x64-mingw32)
gemoji (2.1.0) gemoji (2.1.0)
github-pages (78) github-pages (80)
github-pages-health-check (= 1.1.0) github-pages-health-check (= 1.1.0)
jekyll (= 3.0.5) jekyll (= 3.1.6)
jekyll-coffeescript (= 1.0.1) jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1) jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0) jekyll-gist (= 1.4.0)
@@ -47,11 +47,11 @@ GEM
octokit (~> 4.0) octokit (~> 4.0)
public_suffix (~> 1.4) public_suffix (~> 1.4)
typhoeus (~> 0.7) typhoeus (~> 0.7)
html-pipeline (2.4.0) html-pipeline (2.4.1)
activesupport (>= 2, < 5) activesupport (>= 2, < 5)
nokogiri (>= 1.4) nokogiri (>= 1.4)
i18n (0.7.0) i18n (0.7.0)
jekyll (3.0.5) jekyll (3.1.6)
colorator (~> 0.1) colorator (~> 0.1)
jekyll-sass-converter (~> 1.0) jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1) jekyll-watch (~> 1.1)
@@ -92,7 +92,7 @@ GEM
rb-inotify (>= 0.9.7) rb-inotify (>= 0.9.7)
mercenary (0.3.6) mercenary (0.3.6)
mini_portile2 (2.0.0) mini_portile2 (2.0.0)
minitest (5.8.4) minitest (5.9.0)
multipart-post (2.0.0) multipart-post (2.0.0)
net-dns (0.8.0) net-dns (0.8.0)
nokogiri (1.6.7.2) nokogiri (1.6.7.2)
@@ -128,4 +128,4 @@ DEPENDENCIES
wdm (~> 0.1.0) wdm (~> 0.1.0)
BUNDLED WITH BUNDLED WITH
1.11.2 1.12.5
+5 -3
View File
@@ -18,9 +18,11 @@ teaser : # filename of teaser fallback teaser image placed in
# breadcrumbs : false # true, false (default) # breadcrumbs : false # true, false (default)
words_per_minute : 200 words_per_minute : 200
comments: comments:
provider : # false (default), "disqus", "facebook", "google-plus", custom" provider : # false (default), "disqus", "discourse", "facebook", "google-plus", custom"
disqus: disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook: facebook:
# https://developers.facebook.com/docs/plugins/comments # https://developers.facebook.com/docs/plugins/comments
appid : appid :
@@ -179,10 +181,10 @@ whitelist:
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/ # - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/ # - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: / # - <base_path/my-awesome-category/index.html ~> path: /
categories: category_archive:
type: liquid type: liquid
path: /categories/ path: /categories/
tags: tag_archive:
type: liquid type: liquid
path: /tags/ path: /tags/
# https://github.com/jekyll/jekyll-archives # https://github.com/jekyll/jekyll-archives
+2 -1
View File
@@ -26,10 +26,11 @@ en: &DEFAULT_EN
powered_by : "Powered by" powered_by : "Powered by"
website_label : "Website" website_label : "Website"
email_label : "Email" email_label : "Email"
recent_posts : "Recent Posts"
en-US: en-US:
<<: *DEFAULT_EN <<: *DEFAULT_EN
en-UK: en-UK:
<<: *DEFAULT_EN <<: *DEFAULT_EN
# Another locale # Another locale
# -------------- # --------------
+1 -1
View File
@@ -16,7 +16,7 @@
{% if include.type == "grid" and teaser != blank %} {% if include.type == "grid" and teaser != blank %}
<div class="archive__item-teaser"> <div class="archive__item-teaser">
<img src= <img src=
{% if teaser contains "http" %} {% if teaser contains "://" %}
"{{ teaser }}" "{{ teaser }}"
{% else %} {% else %}
"{{ teaser | prepend: "/images/" | prepend: base_path }}" "{{ teaser | prepend: "/images/" | prepend: base_path }}"
+1 -1
View File
@@ -7,7 +7,7 @@
<div itemscope itemtype="http://schema.org/Person"> <div itemscope itemtype="http://schema.org/Person">
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "http" %} {% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}"> <img src="{{ author.avatar }}" alt="{{ author.name }}">
{% else %} {% else %}
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}"> <img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
+3 -3
View File
@@ -2,14 +2,14 @@
{% include base_path %} {% include base_path %}
{% case site.categories.type %} {% case site.category_archive.type %}
{% when "liquid" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
{% when "jekyll-archives" %} {% when "jekyll-archives" %}
{% assign path_type = nil %} {% assign path_type = nil %}
{% endcase %} {% endcase %}
{% if site.categories.path %} {% if site.category_archive.path %}
{% comment %} {% comment %}
<!-- Sort alphabetically regardless of case e.g. a B c d E --> <!-- Sort alphabetically regardless of case e.g. a B c d E -->
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ --> <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
@@ -23,7 +23,7 @@
{% for hash in category_hashes %} {% for hash in category_hashes %}
{% assign keyValue = hash | split: '#' %} {% assign keyValue = hash | split: '#' %}
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ base_path }}{{ category_word | slugify | prepend: path_type | prepend: site.categories.path }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %} <a href="{{ base_path }}{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %} {% endfor %}
</span> </span>
</p> </p>
@@ -0,0 +1,14 @@
{% if site.comments.discourse.server %}
{% include base_path %}
{% capture canonical %}{{ base_path }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<script type="text/javascript">
DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
discourseEmbedUrl: '{{ canonical }}' };
(function () {
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})();
</script>
<noscript>Please enable JavaScript to view the comments powered by [Discourse](http://forum.beta-europe.org/c/beta/website).</a></noscript>
{% endif %}
+1 -1
View File
@@ -19,4 +19,4 @@
}()); }());
</script> </script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %} {% endif %}
@@ -1,2 +1,2 @@
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script> <script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script>
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript> <noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
@@ -3,6 +3,8 @@
{% case site.comments.provider %} {% case site.comments.provider %}
{% when "disqus" %} {% when "disqus" %}
{% include /comments-providers/disqus.html %} {% include /comments-providers/disqus.html %}
{% when "discourse" %}
{% include /comments-providers/discourse.html %}
{% when "facebook" %} {% when "facebook" %}
{% include /comments-providers/facebook.html %} {% include /comments-providers/facebook.html %}
{% when "google-plus" %} {% when "google-plus" %}
+2 -2
View File
@@ -10,7 +10,7 @@
{% for f in feature_row %} {% for f in feature_row %}
{% if f.url contains "http" %} {% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %} {% capture f_url %}{{ f.url }}{% endcapture %}
{% else %} {% else %}
{% capture f_url %}{{ f.url | prepend: base_path }}{% endcapture %} {% capture f_url %}{{ f.url | prepend: base_path }}{% endcapture %}
@@ -21,7 +21,7 @@
{% if f.image_path %} {% if f.image_path %}
<div class="archive__item-teaser"> <div class="archive__item-teaser">
<img src= <img src=
{% if f.image_path contains "http" %} {% if f.image_path contains "://" %}
"{{ f.image_path }}" "{{ f.image_path }}"
{% else %} {% else %}
"{{ f.image_path | prepend: "/images/" | prepend: base_path }}" "{{ f.image_path | prepend: "/images/" | prepend: base_path }}"
+6 -5
View File
@@ -20,28 +20,29 @@
{% for img in gallery %} {% for img in gallery %}
{% if img.url %} {% if img.url %}
<a href= <a href=
{% if img.url contains "http" %} {% if img.url contains "://" %}
"{{ img.url }}" "{{ img.url }}"
{% else %} {% else %}
"{{ img.url | prepend: "/images/" | prepend: base_path }}" "{{ img.url | prepend: "/images/" | prepend: base_path }}"
{% endif %} {% endif %}
{% if img.title %}title="{{ img.title }}"{% endif %}
> >
<img src= <img src=
{% if img.image_path contains "http" %} {% if img.image_path contains "://" %}
"{{ img.image_path }}" "{{ img.image_path }}"
{% else %} {% else %}
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}" "{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
{% endif %} {% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}"> alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a> </a>
{% else %} {% else %}
<img src= <img src=
{% if img.image_path contains "http" %} {% if img.image_path contains "://" %}
"{{ img.image_path }}" "{{ img.image_path }}"
{% else %} {% else %}
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}" "{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
{% endif %} {% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}"> alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if include.caption %} {% if include.caption %}
+3 -5
View File
@@ -8,7 +8,7 @@
<li> <li>
{% if nav.url %} {% if nav.url %}
{% comment %}internal/external URL check{% endcomment %} {% comment %}internal/external URL check{% endcomment %}
{% if nav.url contains "http" %} {% if nav.url contains "://" %}
{% assign domain = "" %} {% assign domain = "" %}
{% else %} {% else %}
{% assign domain = base_path %} {% assign domain = base_path %}
@@ -23,7 +23,7 @@
<ul> <ul>
{% for child in nav.children %} {% for child in nav.children %}
{% comment %}internal/external URL check{% endcomment %} {% comment %}internal/external URL check{% endcomment %}
{% if child.url contains "http" %} {% if child.url contains "://" %}
{% assign domain = "" %} {% assign domain = "" %}
{% else %} {% else %}
{% assign domain = base_path %} {% assign domain = base_path %}
@@ -43,6 +43,4 @@
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</nav> </nav>
+4 -4
View File
@@ -1,18 +1,18 @@
{% include base_path %} {% include base_path %}
{% if page.header.image contains "http" %} {% if page.header.image contains "://" %}
{% capture img_path %}{{ page.header.image }}{% endcapture %} {% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %} {% else %}
{% capture img_path %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endcapture %} {% capture img_path %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
{% endif %} {% endif %}
{% if page.header.cta_url contains "http" %} {% if page.header.cta_url contains "://" %}
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %} {% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
{% else %} {% else %}
{% capture cta_path %}{{ page.header.cta_url | prepend: base_path }}{% endcapture %} {% capture cta_path %}{{ page.header.cta_url | prepend: base_path }}{% endcapture %}
{% endif %} {% endif %}
{% if page.header.overlay_image contains "http" %} {% if page.header.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %} {% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
{% elsif page.header.overlay_image %} {% elsif page.header.overlay_image %}
{% capture overlay_img_path %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endcapture %} {% capture overlay_img_path %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
@@ -52,4 +52,4 @@
{% if page.header.caption %} {% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span> <span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %} {% endif %}
</div> </div>
+2 -2
View File
@@ -1,9 +1,9 @@
{% include base_path %} {% include base_path %}
{% if site.tags.type and page.tags[0] %} {% if site.tag_archive.type and page.tags[0] %}
{% include tag-list.html %} {% include tag-list.html %}
{% endif %} {% endif %}
{% if site.categories.type and page.categories[0] %} {% if site.category_archive.type and page.categories[0] %}
{% include category-list.html %} {% include category-list.html %}
{% endif %} {% endif %}
+2 -2
View File
@@ -60,7 +60,7 @@
{% if page.header.image %} {% if page.header.image %}
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}"> <meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% else %} {% else %}
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
{% if site.og_image %} {% if site.og_image %}
@@ -84,7 +84,7 @@
{% endif %} {% endif %}
{% if page.header.image %} {% if page.header.image %}
<meta property="og:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}"> <meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% endif %} {% endif %}
{% if page.date %} {% if page.date %}
+1 -1
View File
@@ -7,7 +7,7 @@
{% for s in page.sidebar %} {% for s in page.sidebar %}
{% if s.image %} {% if s.image %}
<img src= <img src=
{% if s.image contains "http" %} {% if s.image contains "://" %}
"{{ s.image }}" "{{ s.image }}"
{% else %} {% else %}
"{{ s.image | prepend: "/images/" | prepend: base_path }}" "{{ s.image | prepend: "/images/" | prepend: base_path }}"
+3 -3
View File
@@ -1,13 +1,13 @@
{% include base_path %} {% include base_path %}
{% case site.tags.type %} {% case site.tag_archive.type %}
{% when "liquid" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
{% when "jekyll-archives" %} {% when "jekyll-archives" %}
{% assign path_type = nil %} {% assign path_type = nil %}
{% endcase %} {% endcase %}
{% if site.tags.path %} {% if site.tag_archive.path %}
{% comment %} {% comment %}
<!-- Sort alphabetically regardless of case e.g. a B c d E --> <!-- Sort alphabetically regardless of case e.g. a B c d E -->
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ --> <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
@@ -21,7 +21,7 @@
{% for hash in tag_hashes %} {% for hash in tag_hashes %}
{% assign keyValue = hash | split: '#' %} {% assign keyValue = hash | split: '#' %}
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ base_path }}{{ tag_word | slugify | prepend: path_type | prepend: site.tags.path }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %} <a href="{{ base_path }}{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %} {% endfor %}
</span> </span>
</p> </p>
+1 -1
View File
@@ -26,7 +26,7 @@ layout: default
<div class="page__inner-wrap"> <div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %} {% unless page.header.overlay_color or page.header.overlay_image %}
<header> <header>
<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1> {% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %} {% if page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
+5 -5
View File
@@ -227,17 +227,17 @@
&:before { &:before {
content: ""; content: "";
position: absolute; position: absolute;
left: 0;
bottom: 0; bottom: 0;
height: 4px; height: 4px;
background: mix(#fff, $primary-color, 50%); background: mix(#fff, $primary-color, 50%);
width: 0; width: 100%;
transition: $global-transition; transition: $global-transition;
transform: scaleX(0); // hide
} }
&:hover { &:hover:before {
&:before { transform: scaleX(1); // reveal
width: 100%;
}
} }
} }
} }
+1 -5
View File
@@ -184,6 +184,7 @@ body:hover .visually-hidden button {
.social-icons { .social-icons {
.fa { .fa {
color: #000; color: #000;
display: initial;
} }
.fa-behance, .fa-behance,
@@ -200,11 +201,6 @@ body:hover .visually-hidden button {
color: $facebook-color; color: $facebook-color;
} }
.fa-twitter,
.fa-twitter-square {
color: $twitter-color;
}
.fa-flickr { .fa-flickr {
color: $flickr-color; color: $flickr-color;
} }
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -5,10 +5,10 @@ author_profile: true
{% include base_path %} {% include base_path %}
<h3 class="archive__subtitle">Recent Posts</h3> <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts }}</h3>
{% for post in paginator.posts %} {% for post in paginator.posts %}
{% include archive-single.html %} {% include archive-single.html %}
{% endfor %} {% endfor %}
{% include paginator.html %} {% include paginator.html %}