Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24878a3479 | ||
|
|
5e0e5684d6 | ||
|
|
4cc9fcb40a | ||
|
|
b6be3aa0c2 | ||
|
|
ca9ff3248c | ||
|
|
ad001a435c | ||
|
|
e3bdd1020d | ||
|
|
98e61b2b52 | ||
|
|
3e2e7daa51 | ||
|
|
f3fd789041 | ||
|
|
ce26520993 | ||
|
|
99d06d5617 | ||
|
|
d158963d12 | ||
|
|
dd0a584cbf | ||
|
|
11ba678859 | ||
|
|
6bae547acd | ||
|
|
be0c55ea0e | ||
|
|
8f40d67f77 | ||
|
|
ca38dcab2a | ||
|
|
2fea29bbad | ||
|
|
1bb5fea886 | ||
|
|
f448c8ae97 | ||
|
|
572b5bdb64 | ||
|
|
fa4ac233e3 | ||
|
|
3901149fc9 | ||
|
|
cc0b266541 | ||
|
|
30856f411c | ||
|
|
86f27cdee1 | ||
|
|
2cfad13f51 | ||
|
|
a76fa288c9 | ||
|
|
d238a0de83 | ||
|
|
1c6b42484d | ||
|
|
5a2d54f64f | ||
|
|
74775e830d | ||
|
|
1814d6c1a5 | ||
|
|
97ef2d2985 | ||
|
|
70aa1e26e1 | ||
|
|
534adff39d | ||
|
|
51b6c6ed59 | ||
|
|
ca9e90658b | ||
|
|
e122808ad6 | ||
|
|
21166c14ee | ||
|
|
2d818cc8d1 | ||
|
|
9a9cbc01e3 | ||
|
|
fc0f8f5b1d | ||
|
|
e01b0f464e | ||
|
|
5ed2ded1d7 | ||
|
|
22c289cb32 | ||
|
|
97c081eb22 | ||
|
|
cd79ac9a64 | ||
|
|
e5147f8de9 | ||
|
|
14e72d04b9 | ||
|
|
2a670aaf4d | ||
|
|
aa36c026a2 | ||
|
|
89a44dc057 | ||
|
|
6d31ffe4ab | ||
|
|
54a8646901 | ||
|
|
cda165d5ea | ||
|
|
2317c1eecb | ||
|
|
4dca159fbf | ||
|
|
a4bd227927 | ||
|
|
ea52f84fdf | ||
|
|
4ea28fa4e6 | ||
|
|
ac8e419062 | ||
|
|
e536f049ce | ||
|
|
6a9e5eebc6 |
+92
-4
@@ -1,3 +1,91 @@
|
|||||||
|
## [3.3.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.7)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Re-enabled Jekyll plugins in `_config.yml` in case they aren't autoloaded in `Gemfile`. [#417](https://github.com/mmistakes/minimal-mistakes/issues/417)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Fallback to `site.github.url` for use in `{{ base_path }}` when `site.url` is `nil`.
|
||||||
|
- Replace Sass and Autoprefixer `npm` build scripts with [Jekyll's built-in asset support](https://jekyllrb.com/docs/assets/). [#333](https://github.com/mmistakes/minimal-mistakes/issues/333)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Document `site.repository` and its role with [`github-metadata`](https://github.com/jekyll/github-metadata) gem.
|
||||||
|
- Add sample [archive page with content](https://mmistakes.github.io/minimal-mistakes/archive-layout-with-content/) for testing styles on demo site.
|
||||||
|
|
||||||
|
## [3.3.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.6)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix blank `site.teaser` bug [#412](https://github.com/mmistakes/minimal-mistakes/issues/412)
|
||||||
|
|
||||||
|
## [3.3.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.5)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add English default text `site.locale` strings [#407](https://github.com/mmistakes/minimal-mistakes/issues/407)
|
||||||
|
- Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411)
|
||||||
|
- Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Remove unused Google AdSense variables in `_config.yml` [#404](https://github.com/mmistakes/minimal-mistakes/issues/404)
|
||||||
|
- Update `Gemfile` instructions for using `github-pages` vs. native `jekyll` gems.
|
||||||
|
- Disable `gems:` in `_config.yml` and enable plugins with Bundler instead.
|
||||||
|
- Add `repository` to `_config.yml` to suppress GitHub Pages error `Liquid Exception: No repo name found.`
|
||||||
|
|
||||||
|
## [3.3.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.4)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add support for configurable feed URL to use a service like FeedBurner instead of linking directly to `feed.xml` in `<head>` and the site footer. [#378](https://github.com/mmistakes/minimal-mistakes/issues/378), [#379](https://github.com/mmistakes/minimal-mistakes/pull/379), [#406](https://github.com/mmistakes/minimal-mistakes/pull/406)
|
||||||
|
- Add Turkish localized UI text. [#403](https://github.com/mmistakes/minimal-mistakes/pull/403)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Update gems: `activesupport` (4.2.7), `ffi` (1.9.14), `github-pages` (88), `jekyll-redirect-from` (0.11.0), `jekyll-watch` (1.5.0).
|
||||||
|
|
||||||
|
## [3.3.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.3)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Make footer stick to the bottom of the page.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix `gallery` size bug [#402](https://github.com/mmistakes/minimal-mistakes/issues/402)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Set default `lang` to `en`.
|
||||||
|
|
||||||
|
## [3.3.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.2)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix JavaScript that triggers "sticky" sidebar to avoid layout issues on screen sizes < `1024px`. [#396](https://github.com/mmistakes/minimal-mistakes/issues/396)
|
||||||
|
|
||||||
|
## [3.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Enable image popup on < 500px wide screens. [#385](https://github.com/mmistakes/minimal-mistakes/issues/385)
|
||||||
|
- Indicate the relationship between component URLs in a paginated series by applying `rel="prev"` and `rel="next"` to pages that use `site.paginator`. [#253](https://github.com/mmistakes/minimal-mistakes/issues/253)
|
||||||
|
- Improve link posts in archive listings. [#276](https://github.com/mmistakes/minimal-mistakes/issues/276)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Update gems: `github-pages` (86), `ffi` 1.9.13, `jekyll-mentions` 1.1.3, and `rouge` 1.11.1
|
||||||
|
- Fix note about custom sidebar content appearing below author profile. [#388](https://github.com/mmistakes/minimal-mistakes/issues/388)
|
||||||
|
|
||||||
|
## [3.2.13](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.13)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add English default UI text for Canada, Great Britain, and Australia. [#377](https://github.com/mmistakes/minimal-mistakes/issues/377)
|
||||||
|
- Switch default locale from `en-US` to `en`.
|
||||||
|
|
||||||
## [3.2.12](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.12)
|
## [3.2.12](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.12)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
@@ -93,13 +181,13 @@
|
|||||||
|
|
||||||
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
|
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
|
- 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)
|
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- 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)
|
- 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)
|
||||||
|
|
||||||
@@ -133,7 +221,7 @@
|
|||||||
|
|
||||||
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
|
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
|
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
|
||||||
|
|
||||||
@@ -176,7 +264,7 @@
|
|||||||
|
|
||||||
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
|
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
|
- Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
|
||||||
- Reduce left/right padding on smaller screens to increase width of main content column.
|
- Reduce left/right padding on smaller screens to increase width of main content column.
|
||||||
|
|||||||
@@ -1,5 +1,24 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "github-pages"
|
# Hello! This is where you manage which Jekyll version is used to run.
|
||||||
# gem "jekyll-archives"
|
# When you want to use a different version, change it below, save the
|
||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
||||||
|
#
|
||||||
|
# bundle exec jekyll serve
|
||||||
|
#
|
||||||
|
# This will help ensure the proper Jekyll version is running.
|
||||||
|
# Happy Jekylling!
|
||||||
|
|
||||||
|
gem "github-pages", group: :jekyll_plugins
|
||||||
|
|
||||||
|
# If you want to use Jekyll native, uncomment the line below.
|
||||||
|
# To upgrade, run `bundle update`.
|
||||||
|
|
||||||
|
# gem "jekyll"
|
||||||
|
|
||||||
|
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
|
|
||||||
|
# If you have any plugins, put them here!
|
||||||
|
group :jekyll_plugins do
|
||||||
|
# gem "jekyll-archives"
|
||||||
|
end
|
||||||
+17
-15
@@ -1,7 +1,7 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
activesupport (4.2.6)
|
activesupport (4.2.7)
|
||||||
i18n (~> 0.7)
|
i18n (~> 0.7)
|
||||||
json (~> 1.7, >= 1.7.7)
|
json (~> 1.7, >= 1.7.7)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
@@ -18,28 +18,29 @@ GEM
|
|||||||
execjs (2.7.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.14)
|
||||||
ffi (1.9.10-x64-mingw32)
|
ffi (1.9.14-x64-mingw32)
|
||||||
gemoji (2.1.0)
|
gemoji (2.1.0)
|
||||||
github-pages (84)
|
github-pages (89)
|
||||||
|
activesupport (= 4.2.7)
|
||||||
github-pages-health-check (= 1.1.0)
|
github-pages-health-check (= 1.1.0)
|
||||||
jekyll (= 3.1.6)
|
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)
|
||||||
jekyll-github-metadata (= 2.0.2)
|
jekyll-github-metadata (= 2.0.2)
|
||||||
jekyll-mentions (= 1.1.2)
|
jekyll-mentions (= 1.1.3)
|
||||||
jekyll-paginate (= 1.1.0)
|
jekyll-paginate (= 1.1.0)
|
||||||
jekyll-redirect-from (= 0.10.0)
|
jekyll-redirect-from (= 0.11.0)
|
||||||
jekyll-sass-converter (= 1.3.0)
|
jekyll-sass-converter (= 1.3.0)
|
||||||
jekyll-seo-tag (= 2.0.0)
|
jekyll-seo-tag (= 2.0.0)
|
||||||
jekyll-sitemap (= 0.10.0)
|
jekyll-sitemap (= 0.10.0)
|
||||||
jemoji (= 0.6.2)
|
jemoji (= 0.7.0)
|
||||||
kramdown (= 1.11.1)
|
kramdown (= 1.11.1)
|
||||||
liquid (= 3.0.6)
|
liquid (= 3.0.6)
|
||||||
listen (= 3.0.6)
|
listen (= 3.0.6)
|
||||||
mercenary (~> 0.3)
|
mercenary (~> 0.3)
|
||||||
rouge (= 1.10.1)
|
rouge (= 1.11.1)
|
||||||
terminal-table (~> 1.4)
|
terminal-table (~> 1.4)
|
||||||
github-pages-health-check (1.1.0)
|
github-pages-health-check (1.1.0)
|
||||||
addressable (~> 2.3)
|
addressable (~> 2.3)
|
||||||
@@ -47,8 +48,8 @@ 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.1)
|
html-pipeline (2.4.2)
|
||||||
activesupport (>= 2, < 5)
|
activesupport (>= 2)
|
||||||
nokogiri (>= 1.4)
|
nokogiri (>= 1.4)
|
||||||
i18n (0.7.0)
|
i18n (0.7.0)
|
||||||
jekyll (3.1.6)
|
jekyll (3.1.6)
|
||||||
@@ -68,20 +69,21 @@ GEM
|
|||||||
jekyll-github-metadata (2.0.2)
|
jekyll-github-metadata (2.0.2)
|
||||||
jekyll (~> 3.1)
|
jekyll (~> 3.1)
|
||||||
octokit (~> 4.0)
|
octokit (~> 4.0)
|
||||||
jekyll-mentions (1.1.2)
|
jekyll-mentions (1.1.3)
|
||||||
html-pipeline (~> 2.3)
|
html-pipeline (~> 2.3)
|
||||||
jekyll (~> 3.0)
|
jekyll (~> 3.0)
|
||||||
jekyll-paginate (1.1.0)
|
jekyll-paginate (1.1.0)
|
||||||
jekyll-redirect-from (0.10.0)
|
jekyll-redirect-from (0.11.0)
|
||||||
jekyll (>= 2.0)
|
jekyll (>= 2.0)
|
||||||
jekyll-sass-converter (1.3.0)
|
jekyll-sass-converter (1.3.0)
|
||||||
sass (~> 3.2)
|
sass (~> 3.2)
|
||||||
jekyll-seo-tag (2.0.0)
|
jekyll-seo-tag (2.0.0)
|
||||||
jekyll (~> 3.1)
|
jekyll (~> 3.1)
|
||||||
jekyll-sitemap (0.10.0)
|
jekyll-sitemap (0.10.0)
|
||||||
jekyll-watch (1.4.0)
|
jekyll-watch (1.5.0)
|
||||||
listen (~> 3.0, < 3.1)
|
listen (~> 3.0, < 3.1)
|
||||||
jemoji (0.6.2)
|
jemoji (0.7.0)
|
||||||
|
activesupport (~> 4.0)
|
||||||
gemoji (~> 2.0)
|
gemoji (~> 2.0)
|
||||||
html-pipeline (~> 2.2)
|
html-pipeline (~> 2.2)
|
||||||
jekyll (>= 3.0)
|
jekyll (>= 3.0)
|
||||||
@@ -109,7 +111,7 @@ GEM
|
|||||||
rb-fsevent (0.9.7)
|
rb-fsevent (0.9.7)
|
||||||
rb-inotify (0.9.7)
|
rb-inotify (0.9.7)
|
||||||
ffi (>= 0.5.0)
|
ffi (>= 0.5.0)
|
||||||
rouge (1.10.1)
|
rouge (1.11.1)
|
||||||
safe_yaml (1.0.4)
|
safe_yaml (1.0.4)
|
||||||
sass (3.4.22)
|
sass (3.4.22)
|
||||||
sawyer (0.7.0)
|
sawyer (0.7.0)
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
# Minimal Mistakes Jekyll Theme
|
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
|
[](https://github.com/mmistakes/minimal-mistakes/releases) [](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
|
See what's new in the [CHANGELOG](CHANGELOG.md).
|
||||||
|
|
||||||
[![Minimal Mistakes live preview][2]][1]
|
[![Minimal Mistakes live preview][2]][1]
|
||||||
|
|
||||||
[1]: https://mmistakes.github.io/minimal-mistakes/
|
[1]: https://mmistakes.github.io/minimal-mistakes/
|
||||||
@@ -16,11 +20,13 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
|
|||||||
### Notable Features
|
### Notable Features
|
||||||
|
|
||||||
- Compatible with Jekyll 3.x and GitHub Pages
|
- Compatible with Jekyll 3.x and GitHub Pages
|
||||||
|
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
||||||
- Several layout options (single, archive, splash pages)
|
- Several layout options (single, archive, splash pages)
|
||||||
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
||||||
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
|
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
|
||||||
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
|
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
|
||||||
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
|
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
|
||||||
|
- UI localized text: English (default), Spanish, French, and Turkish.
|
||||||
|
|
||||||
#### Demo Pages
|
#### Demo Pages
|
||||||
|
|
||||||
@@ -63,6 +69,14 @@ To help me out try to avoid creating pull requests on `master` and instead branc
|
|||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
### Creator
|
||||||
|
|
||||||
|
**Michael Rose**
|
||||||
|
|
||||||
|
- <https://mademistakes.com>
|
||||||
|
- <https://twitter.com/mmistakes>
|
||||||
|
- <https://github.com/mmistakes>
|
||||||
|
|
||||||
### Icons + Demo Images:
|
### Icons + Demo Images:
|
||||||
|
|
||||||
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
||||||
|
|||||||
+11
-7
@@ -6,14 +6,14 @@
|
|||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en-US"
|
locale : "en"
|
||||||
title : "Site Title"
|
title : "Site Title"
|
||||||
title_separator : "-"
|
title_separator : "-"
|
||||||
name : "Your Name"
|
name : "Your Name"
|
||||||
description : "An amazing website."
|
description : "An amazing website."
|
||||||
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
||||||
baseurl : # the subpath of your site, e.g. "/blog"
|
baseurl : # the subpath of your site, e.g. "/blog"
|
||||||
gh_repo :
|
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
||||||
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
|
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
|
||||||
# breadcrumbs : false # true, false (default)
|
# breadcrumbs : false # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
@@ -28,6 +28,8 @@ comments:
|
|||||||
appid :
|
appid :
|
||||||
num_posts : # 5 (default)
|
num_posts : # 5 (default)
|
||||||
colorscheme : # "light" (default), "dark"
|
colorscheme : # "light" (default), "dark"
|
||||||
|
atom_feed:
|
||||||
|
path : # blank (default) uses feed.xml
|
||||||
|
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
@@ -56,10 +58,6 @@ analytics:
|
|||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
|
|
||||||
# Google AdSense
|
|
||||||
google_ad_client :
|
|
||||||
google_ad_slot :
|
|
||||||
|
|
||||||
|
|
||||||
# Site Author
|
# Site Author
|
||||||
author:
|
author:
|
||||||
@@ -147,6 +145,12 @@ kramdown:
|
|||||||
enable_coderay: false
|
enable_coderay: false
|
||||||
|
|
||||||
|
|
||||||
|
# Sass/SCSS
|
||||||
|
sass:
|
||||||
|
sass_dir: _sass
|
||||||
|
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
|
||||||
|
|
||||||
|
|
||||||
# Outputting
|
# Outputting
|
||||||
permalink: /:categories/:title/
|
permalink: /:categories/:title/
|
||||||
paginate: 5 # amount of posts to show
|
paginate: 5 # amount of posts to show
|
||||||
@@ -205,4 +209,4 @@ tag_archive:
|
|||||||
compress_html:
|
compress_html:
|
||||||
clippings: all
|
clippings: all
|
||||||
ignore:
|
ignore:
|
||||||
envs: development
|
envs: development
|
||||||
+4
-13
@@ -1,16 +1,7 @@
|
|||||||
# main links links
|
# main links links
|
||||||
main:
|
main:
|
||||||
- title: "Quick-Start Guide"
|
- title: "Sample Navigation Link"
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
url: https://mmistakes.github.io/minimal-mistakes/docs/navigation/
|
||||||
|
|
||||||
- title: "About"
|
- title: "Sample Navigation Link 2"
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/
|
url: /
|
||||||
|
|
||||||
- title: "Sample Posts"
|
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
|
||||||
|
|
||||||
- title: "Sample Pages"
|
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/page-archive/
|
|
||||||
|
|
||||||
- title: "Sample Collections"
|
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/collection-archive/
|
|
||||||
+97
-1
@@ -29,7 +29,11 @@ en: &DEFAULT_EN
|
|||||||
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
||||||
en-US:
|
en-US:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
en-UK:
|
en-CA:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-GB:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-AU:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
|
|
||||||
# Spanish
|
# Spanish
|
||||||
@@ -98,5 +102,97 @@ fr-BE:
|
|||||||
fr-CH:
|
fr-CH:
|
||||||
<<: *DEFAULT_FR
|
<<: *DEFAULT_FR
|
||||||
|
|
||||||
|
# Turkish
|
||||||
|
# -----------------
|
||||||
|
tr: &DEFAULT_TR
|
||||||
|
page : "Sayfa"
|
||||||
|
pagination_previous : "Önceki"
|
||||||
|
pagination_next : "Sonraki"
|
||||||
|
breadcrumb_home_label : "Ana Sayfa"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
toc_label : "İçindekiler"
|
||||||
|
ext_link_label : "Doğrudan Bağlantı"
|
||||||
|
less_than : "Şu süreden az: "
|
||||||
|
minute_read : "dakika tahmini okuma süresi"
|
||||||
|
share_on_label : "Paylaş"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Etiketler:"
|
||||||
|
categories_label : "Kategoriler:"
|
||||||
|
date_label : "Güncelleme tarihi:"
|
||||||
|
comments_label : "Yorum yapın"
|
||||||
|
more_label : "Daha fazlasını öğrenin"
|
||||||
|
related_label : "Bunlar ilginizi çekebilir:"
|
||||||
|
follow_label : "Takip et:"
|
||||||
|
feed_label : "RSS"
|
||||||
|
powered_by : "Emeği geçenler: "
|
||||||
|
website_label : "Web sayfası"
|
||||||
|
email_label : "E-posta"
|
||||||
|
recent_posts : "Son yazılar"
|
||||||
|
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
||||||
|
tr-TR:
|
||||||
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
|
# Brazilian Portguese
|
||||||
|
# -----------------
|
||||||
|
pt: &DEFAULT_PT
|
||||||
|
page : "Página"
|
||||||
|
pagination_previous : "Anterior"
|
||||||
|
pagination_next : "Próxima"
|
||||||
|
breadcrumb_home_label : "Home"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
toc_label : "Nesta página"
|
||||||
|
ext_link_label : "Link direto"
|
||||||
|
less_than : "meno que"
|
||||||
|
minute_read : "minutos de leitura"
|
||||||
|
share_on_label : "Compartilhe em"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tags:"
|
||||||
|
categories_label : "Categorias:"
|
||||||
|
date_label : "Atualizado em:"
|
||||||
|
comments_label : "Deixe um comentário"
|
||||||
|
more_label : "Aprenda Mais"
|
||||||
|
related_label : "Você Talvez Goste Também"
|
||||||
|
follow_label : "Acompanhe em"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Feito com"
|
||||||
|
website_label : "Site"
|
||||||
|
email_label : "Email"
|
||||||
|
recent_posts : "Postagens recentes"
|
||||||
|
undefined_wpm : "Parâmetro indefinido em word_per_minute no _config.yml"
|
||||||
|
pt-BR:
|
||||||
|
<<: *DEFAULT_PT
|
||||||
|
pt-PT:
|
||||||
|
<<: *DEFAULT_PT
|
||||||
|
|
||||||
|
# Italian
|
||||||
|
# -----------------
|
||||||
|
it: &DEFAULT_IT
|
||||||
|
page : "Pagina"
|
||||||
|
pagination_previous : "Precedente"
|
||||||
|
pagination_next : "Prossima"
|
||||||
|
breadcrumb_home_label : "Home"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
toc_label : "Indice della pagina"
|
||||||
|
ext_link_label : "Link"
|
||||||
|
less_than : "meno di"
|
||||||
|
minute_read : "minuto/i di lettura"
|
||||||
|
share_on_label : "Condividi"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tags:"
|
||||||
|
categories_label : "Categorie:"
|
||||||
|
date_label : "Aggiornato:"
|
||||||
|
comments_label : "Scrivi un commento"
|
||||||
|
more_label : "Scopri di più"
|
||||||
|
related_label : "Potrebbe Piacerti Anche"
|
||||||
|
follow_label : "Segui:"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "Website"
|
||||||
|
email_label : "Email"
|
||||||
|
recent_posts : "Articoli Recenti"
|
||||||
|
undefined_wpm : "Parametro words_per_minute non definito in _config.yml"
|
||||||
|
it-IT:
|
||||||
|
<<: *DEFAULT_IT
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
|
|||||||
@@ -3,32 +3,38 @@
|
|||||||
{% if post.header.teaser %}
|
{% if post.header.teaser %}
|
||||||
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
|
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture teaser %}{{ site.teaser }}{% endcapture %}
|
{% assign teaser = site.teaser %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if post.id %}
|
||||||
|
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
|
||||||
|
{% else %}
|
||||||
|
{% assign title = post.title %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="{{ include.type | default: "list" }}__item">
|
<div class="{{ include.type | default: "list" }}__item">
|
||||||
{% if post.link %}
|
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
||||||
<a href="{{ post.link }}" target="_blank">
|
{% if include.type == "grid" and teaser %}
|
||||||
{% else %}
|
<div class="archive__item-teaser">
|
||||||
<a href="{{ base_path }}{{ post.url }}">
|
<img src=
|
||||||
{% endif %}
|
{% if teaser contains "://" %}
|
||||||
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
"{{ teaser }}"
|
||||||
{% if include.type == "grid" and teaser != blank %}
|
{% else %}
|
||||||
<div class="archive__item-teaser">
|
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
|
||||||
<img src=
|
{% endif %}
|
||||||
{% if teaser contains "://" %}
|
alt="">
|
||||||
"{{ teaser }}"
|
</div>
|
||||||
{% else %}
|
{% endif %}
|
||||||
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
|
<h2 class="archive__item-title" itemprop="headline">
|
||||||
{% endif %}
|
{% if post.link %}
|
||||||
alt="">
|
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ base_path }}{{ post.url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
||||||
</div>
|
{% else %}
|
||||||
|
<a href="{{ base_path }}{{ post.url }}" rel="permalink">{{ title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 class="archive__item-title" itemprop="headline">{% if post.id %}{{ post.title | markdownify | remove: "<p>" | remove: "</p>" }}{% else %}{{ post.title }}{% endif %}{% if post.link %}<i class="fa fa-star" aria-hidden="true"></i>{% endif %}</h2>
|
</h2>
|
||||||
{% if post.read_time %}
|
{% if post.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 %}
|
||||||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
||||||
</article>
|
</article>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
@@ -26,10 +26,10 @@
|
|||||||
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
|
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.uri %}
|
{% if author.uri %}
|
||||||
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label }}</a></li>
|
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.email %}
|
{% if author.email %}
|
||||||
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label }}</a></li>
|
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.keybase %}
|
{% if author.keybase %}
|
||||||
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
|
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
|
||||||
|
|||||||
+5
-1
@@ -1 +1,5 @@
|
|||||||
{% capture base_path %}{{ site.url }}{{ site.baseurl }}{% endcapture %}
|
{% if site.url %}
|
||||||
|
{% assign base_path = site.url | append: site.baseurl %}
|
||||||
|
{% else %}
|
||||||
|
{% assign base_path = site.github.url %}
|
||||||
|
{% endif %}
|
||||||
@@ -21,10 +21,10 @@
|
|||||||
{% for crumb in crumbs offset: 1 %}
|
{% for crumb in crumbs offset: 1 %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||||
<a href="{{ base_path }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label }}</span></a>
|
<a href="{{ base_path }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if forloop.last %}
|
{% if forloop.last %}
|
||||||
<li class="current">{{ page.title }}</li>
|
<li class="current">{{ page.title }}</li>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
<a href="{{ base_path }}{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
<a href="{{ base_path }}{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
{% assign category_hashes = (page_categories | split: ',' | sort:0) %}
|
{% assign category_hashes = (page_categories | split: ',' | sort:0) %}
|
||||||
|
|
||||||
<p class="page__taxonomy">
|
<p class="page__taxonomy">
|
||||||
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label }} </strong>
|
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
||||||
<span itemprop="keywords">
|
<span itemprop="keywords">
|
||||||
{% for hash in category_hashes %}
|
{% for hash in category_hashes %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
{% assign keyValue = hash | split: '#' %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
<div class="page__comments">
|
<div class="page__comments">
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label }}</h4>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
{% case site.comments.provider %}
|
{% case site.comments.provider %}
|
||||||
{% when "disqus" %}
|
{% when "disqus" %}
|
||||||
<section id="disqus_thread"></section>
|
<section id="disqus_thread"></section>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if f.url %}
|
{% if f.url %}
|
||||||
<p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label }}</a></p>
|
<p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
{% if site.author.bitbucket %}
|
{% if site.author.bitbucket %}
|
||||||
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li>
|
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
||||||
+2
-4
@@ -6,11 +6,9 @@
|
|||||||
{% assign gallery = page.gallery %}
|
{% assign gallery = page.gallery %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% capture gallery_size %}{{ gallery | size }}{% endcapture %}
|
{% if gallery.size == 2 %}
|
||||||
|
|
||||||
{% if gallery_size == '2' %}
|
|
||||||
{% assign gallery_layout = 'half' %}
|
{% assign gallery_layout = 'half' %}
|
||||||
{% elsif gallery_size >= '3' %}
|
{% elsif gallery.size >= 3 %}
|
||||||
{% assign gallery_layout = 'third' %}
|
{% assign gallery_layout = 'third' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign gallery_layout = '' %}
|
{% assign gallery_layout = '' %}
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
|
|
||||||
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||||
|
|
||||||
<!-- http://t.co/dKP3o1e -->
|
<!-- http://t.co/dKP3o1e -->
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1 class="page__title" itemprop="headline">
|
<h1 class="page__title" itemprop="headline">
|
||||||
{% if paginator %}
|
{% if paginator %}
|
||||||
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}
|
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
<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 %}
|
||||||
{% if page.header.cta_url %}
|
{% if page.header.cta_url %}
|
||||||
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label }}</a></p>
|
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
{% comment %} Link for previous page {% endcomment %}
|
{% comment %} Link for previous page {% endcomment %}
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
{% if paginator.previous_page == 1 %}
|
{% if paginator.previous_page == 1 %}
|
||||||
<li><a href="{{ base_path }}/">{{ site.data.ui-text[site.locale].pagination_previous }}</a></li>
|
<li><a href="{{ base_path }}/">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ base_path }}/page{{ paginator.previous_page }}/">{{ site.data.ui-text[site.locale].pagination_previous }}</a></li>
|
<li><a href="{{ base_path }}/page{{ paginator.previous_page }}/">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous }}</span></a></li>
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% comment %} First page {% endcomment %}
|
{% comment %} First page {% endcomment %}
|
||||||
@@ -61,9 +61,9 @@
|
|||||||
|
|
||||||
{% comment %} Link next page {% endcomment %}
|
{% comment %} Link next page {% endcomment %}
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<li><a href="{{ base_path }}/page{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next }}</a></li>
|
<li><a href="{{ base_path }}/page{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next }}</span></a></li>
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
{% if page.previous or page.next %}
|
{% if page.previous or page.next %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{% if page.previous %}
|
{% if page.previous %}
|
||||||
<a href="{{ base_path }}{{ page.previous.url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous }}</a>
|
<a href="{{ base_path }}{{ page.previous.url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.next %}
|
{% if page.next %}
|
||||||
<a href="{{ base_path }}{{ page.next.url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next }}</a>
|
<a href="{{ base_path }}{{ page.next.url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
{% if site.words_per_minute %}
|
{% if site.words_per_minute %}
|
||||||
{% if words < 180 %}
|
{% if words < 180 %}
|
||||||
{{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
|
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{% elsif words < 360 %}
|
{% elsif words < 360 %}
|
||||||
1 {{ site.data.ui-text[site.locale].minute_read }}
|
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read }}
|
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ site.data.ui-text[site.locale].undefined_wpm }}
|
{{ site.data.ui-text[site.locale].undefined_wpm | "Undefined parameter words_per_minute at _config.yml" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
+9
-8
@@ -18,7 +18,7 @@
|
|||||||
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
|
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
||||||
|
|
||||||
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
|
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
|
||||||
{% if seo_description %}
|
{% if seo_description %}
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
|
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<meta property="og:locale" content="{{ site.locale }}">
|
<meta property="og:locale" content="{{ site.locale | default: "en" }}">
|
||||||
<meta property="og:site_name" content="{{ site.title }}">
|
<meta property="og:site_name" content="{{ site.title }}">
|
||||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
|
|
||||||
@@ -92,12 +92,13 @@
|
|||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
<meta property="og:type" content="article">
|
<meta property="og:type" content="article">
|
||||||
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||||
{% if page.next.url %}
|
{% endif %}
|
||||||
<link rel="next" href="{{ page.next.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.next.title | escape }}">
|
|
||||||
{% endif %}
|
{% if paginator.previous_page %}
|
||||||
{% if page.previous.url %}
|
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
|
||||||
<link rel="prev" href="{{ page.previous.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.previous.title | escape }}">
|
{% endif %}
|
||||||
{% endif %}
|
{% if paginator.next_page %}
|
||||||
|
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.og_image %}
|
{% if site.og_image %}
|
||||||
|
|||||||
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
<section class="page__share">
|
<section class="page__share">
|
||||||
{% if site.data.ui-text[site.locale].share_on_label %}
|
{% if site.data.ui-text[site.locale].share_on_label %}
|
||||||
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label }}</h4>
|
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ base_path }}{{ page.url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
<a href="https://twitter.com/intent/tweet?text={{ base_path }}{{ page.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>
|
||||||
|
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ base_path }}{{ page.url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ base_path }}{{ page.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>
|
||||||
|
|
||||||
<a href="https://plus.google.com/share?url={{ base_path }}{{ page.url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
<a href="https://plus.google.com/share?url={{ base_path }}{{ page.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>
|
||||||
|
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ base_path }}{{ page.url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ base_path }}{{ page.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>
|
||||||
</section>
|
</section>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
|
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
|
||||||
|
|
||||||
<p class="page__taxonomy">
|
<p class="page__taxonomy">
|
||||||
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label }} </strong>
|
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
||||||
<span itemprop="keywords">
|
<span itemprop="keywords">
|
||||||
{% for hash in tag_hashes %}
|
{% for hash in tag_hashes %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
{% assign keyValue = hash | split: '#' %}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ layout: compress
|
|||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ site.locale | slice: 0,2 }}" class="no-js">
|
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
{% include head/custom.html %}
|
{% include head/custom.html %}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ layout: default
|
|||||||
|
|
||||||
<section class="page__content" itemprop="text">
|
<section class="page__content" itemprop="text">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label }}</a></div>{% endif %}
|
{% 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 %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="page__meta">
|
<footer class="page__meta">
|
||||||
@@ -44,9 +44,9 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% include page__taxonomy.html %}
|
{% include page__taxonomy.html %}
|
||||||
{% if page.modified %}
|
{% if page.modified %}
|
||||||
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
|
<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>
|
||||||
{% elsif page.date %}
|
{% elsif page.date %}
|
||||||
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
<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>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ layout: default
|
|||||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
<div class="page__related">
|
<div class="page__related">
|
||||||
{% if site.data.ui-text[site.locale].related_label %}
|
{% if site.data.ui-text[site.locale].related_label %}
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label }}</h4>
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.related_posts limit:4 %}
|
{% for post in site.related_posts limit:4 %}
|
||||||
|
|||||||
@@ -2,6 +2,15 @@
|
|||||||
ANIMATIONS
|
ANIMATIONS
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
@-webkit-keyframes intro {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes intro {
|
@keyframes intro {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -35,9 +35,13 @@
|
|||||||
.archive__item-title {
|
.archive__item-title {
|
||||||
margin-bottom: 0.25em;
|
margin-bottom: 0.25em;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
|
|
||||||
|
a + a {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove border
|
/* remove border*/
|
||||||
.page__content {
|
.page__content {
|
||||||
|
|
||||||
.archive__item-title {
|
.archive__item-title {
|
||||||
@@ -63,7 +67,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
.archive__item:hover {
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
box-shadow: 0 0 10px rgba(#000, 0.25);
|
box-shadow: 0 0 10px rgba(#000, 0.25);
|
||||||
}
|
}
|
||||||
@@ -125,8 +129,8 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
@include breakpoint($medium) {
|
||||||
margin-left: 0; // reset before mixin does its thing
|
margin-left: 0; /* reset before mixin does its thing*/
|
||||||
margin-right: 0; // reset before mixin does its thing
|
margin-right: 0; /* reset before mixin does its thing*/
|
||||||
@include gallery(2.5 of 10);
|
@include gallery(2.5 of 10);
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
@@ -2,6 +2,12 @@
|
|||||||
BASE ELEMENTS
|
BASE ELEMENTS
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
html {
|
||||||
|
/* sticky footer fix */
|
||||||
|
position: relative;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -123,7 +129,7 @@ tt, code, kbd, samp, pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
overflow-x: auto; // add scrollbars to wide code blocks
|
overflow-x: auto; /* add scrollbars to wide code blocks*/
|
||||||
}
|
}
|
||||||
|
|
||||||
p > code,
|
p > code,
|
||||||
@@ -141,7 +147,7 @@ td > code {
|
|||||||
|
|
||||||
&:before, &:after {
|
&:before, &:after {
|
||||||
letter-spacing: -0.2em;
|
letter-spacing: -0.2em;
|
||||||
content: "\00a0"; // non-breaking space
|
content: "\00a0"; /* non-breaking space*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,9 +179,12 @@ li ol {
|
|||||||
/* Figures and images */
|
/* Figures and images */
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
|
display: -webkit-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
-webkit-box-pack: justify;
|
||||||
align-items: flex-start;
|
justify-content: space-between;
|
||||||
|
-webkit-box-align: start;
|
||||||
|
align-items: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 2em 0;
|
margin: 2em 0;
|
||||||
|
|
||||||
@@ -188,6 +197,7 @@ figure {
|
|||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -234,6 +244,7 @@ figcaption {
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: 1px solid $light-gray;
|
border-bottom: 1px solid $light-gray;
|
||||||
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -299,5 +310,6 @@ nav {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
|
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
|
||||||
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
}
|
}
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon + .hidden {
|
.icon + .hidden {
|
||||||
margin-left: -0.5em; // override for hidden text
|
margin-left: -0.5em; /* override for hidden text*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fills width of parent container */
|
/* fills width of parent container */
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
&--inverse {
|
&--inverse {
|
||||||
color: $gray !important;
|
color: $gray !important;
|
||||||
border: 1px solid $light-gray !important; // override
|
border: 1px solid $light-gray !important; /* override*/
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
/* light outline */
|
/* light outline */
|
||||||
|
|
||||||
&--light-outline {
|
&--light-outline {
|
||||||
border: 1px solid #fff !important; // override
|
border: 1px solid #fff !important; /* override*/
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -111,7 +111,6 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
filter: alpha(opacity=65);
|
filter: alpha(opacity=65);
|
||||||
-webkit-box-shadow: none;
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
opacity: 0.65;
|
opacity: 0.65;
|
||||||
}
|
}
|
||||||
@@ -5,10 +5,19 @@
|
|||||||
.page__footer {
|
.page__footer {
|
||||||
@include full();
|
@include full();
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
|
/* sticky footer fix start */
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
|
height: auto;
|
||||||
|
/* sticky footer fix end */
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
color: mix(#fff, $gray, 25%);
|
color: mix(#fff, $gray, 25%);
|
||||||
animation: intro 0.3s both;
|
-webkit-animation: intro 0.3s both;
|
||||||
animation-delay: 0.45s;
|
animation: intro 0.3s both;
|
||||||
|
-webkit-animation-delay: 0.45s;
|
||||||
|
animation-delay: 0.45s;
|
||||||
background-color: $lighter-gray;
|
background-color: $lighter-gray;
|
||||||
border-top: 1px solid $light-gray;
|
border-top: 1px solid $light-gray;
|
||||||
|
|
||||||
@@ -5,8 +5,10 @@
|
|||||||
.masthead {
|
.masthead {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
animation: intro 0.3s both;
|
-webkit-animation: intro 0.3s both;
|
||||||
animation-delay: 0.15s;
|
animation: intro 0.3s both;
|
||||||
|
-webkit-animation-delay: 0.15s;
|
||||||
|
animation-delay: 0.15s;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
|
||||||
&__inner-wrap {
|
&__inner-wrap {
|
||||||
@@ -3,9 +3,9 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
%tab-focus {
|
%tab-focus {
|
||||||
// Default
|
/* Default*/
|
||||||
outline: thin dotted $warning-color;
|
outline: thin dotted $warning-color;
|
||||||
// Webkit
|
/* Webkit*/
|
||||||
outline: 5px auto $warning-color;
|
outline: 5px auto $warning-color;
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
@@ -23,21 +23,24 @@
|
|||||||
Bourbon clearfix
|
Bourbon clearfix
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
// Provides an easy way to include a clearfix for containing floats.
|
/*
|
||||||
//
|
* Provides an easy way to include a clearfix for containing floats.
|
||||||
// @link http://cssmojo.com/latest_new_clearfix_so_far/
|
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
||||||
//
|
*
|
||||||
// @example scss - Usage
|
* example scss - Usage
|
||||||
// .element {
|
*
|
||||||
// @include clearfix;
|
* .element {
|
||||||
// }
|
* @include clearfix;
|
||||||
//
|
* }
|
||||||
// @example css - CSS Output
|
*
|
||||||
// .element::after {
|
* example css - CSS Output
|
||||||
// clear: both;
|
*
|
||||||
// content: "";
|
* .element::after {
|
||||||
// display: table;
|
* clear: both;
|
||||||
// }
|
* content: "";
|
||||||
|
* display: table;
|
||||||
|
* }
|
||||||
|
*/
|
||||||
|
|
||||||
@mixin clearfix {
|
@mixin clearfix {
|
||||||
clear: both;
|
clear: both;
|
||||||
@@ -14,8 +14,10 @@
|
|||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
padding-right: 2em;
|
padding-right: 2em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
animation: intro 0.3s both;
|
-webkit-animation: intro 0.3s both;
|
||||||
animation-delay: 0.30s;
|
animation: intro 0.3s both;
|
||||||
|
-webkit-animation-delay: 0.30s;
|
||||||
|
animation-delay: 0.30s;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
@@ -232,12 +234,17 @@
|
|||||||
height: 4px;
|
height: 4px;
|
||||||
background: mix(#fff, $primary-color, 50%);
|
background: mix(#fff, $primary-color, 50%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
transform: scaleX(0); // hide
|
-webkit-transform: scaleX(0);
|
||||||
|
-ms-transform: scaleX(0);
|
||||||
|
transform: scaleX(0); /* hide*/
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:before {
|
&:hover:before {
|
||||||
transform: scaleX(1); // reveal
|
-webkit-transform: scaleX(1);
|
||||||
|
-ms-transform: scaleX(1);
|
||||||
|
transform: scaleX(1); /* reveal*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -414,7 +421,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
// hide sub sub links on small screens
|
/* hide sub sub links on small screens*/
|
||||||
li > ul li {
|
li > ul li {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
@@ -11,34 +11,34 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
@mixin notice($notice-color) {
|
@mixin notice($notice-color) {
|
||||||
margin: 2em 0 !important; // override
|
margin: 2em 0 !important; /* override*/
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
font-family: $global-font-family;
|
font-family: $global-font-family;
|
||||||
font-size: $type-size-6 !important;
|
font-size: $type-size-6 !important;
|
||||||
text-indent: initial; // override
|
text-indent: initial; /* override*/
|
||||||
background-color: mix(#fff, $notice-color, 90%);
|
background-color: mix(#fff, $notice-color, 90%);
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
margin-top: 0 !important; // override
|
margin-top: 0 !important; /* override*/
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@at-root .page__content #{&} h4 {
|
@at-root .page__content #{&} h4 {
|
||||||
// using at-root to override .page-content h4 font size
|
/* using at-root to override .page-content h4 font size*/
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0 !important; // override
|
margin-bottom: 0 !important; /* override*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 + p {
|
h4 + p {
|
||||||
// remove space above paragraphs that appear directly after notice headline
|
/* remove space above paragraphs that appear directly after notice headline*/
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
ul {
|
ul {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0; // override
|
margin-bottom: 0; /* override*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,8 +8,10 @@
|
|||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
animation: intro 0.3s both;
|
-webkit-animation: intro 0.3s both;
|
||||||
animation-delay: 0.35s;
|
animation: intro 0.3s both;
|
||||||
|
-webkit-animation-delay: 0.35s;
|
||||||
|
animation-delay: 0.35s;
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $x-large;
|
||||||
@@ -63,7 +65,7 @@
|
|||||||
p {
|
p {
|
||||||
margin: 0 0 $indent-var;
|
margin: 0 0 $indent-var;
|
||||||
|
|
||||||
// sibling indentation
|
/* sibling indentation*/
|
||||||
@if $paragraph-indent == true {
|
@if $paragraph-indent == true {
|
||||||
& + p {
|
& + p {
|
||||||
text-indent: $indent-var;
|
text-indent: $indent-var;
|
||||||
@@ -111,8 +113,10 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
animation: intro 0.3s both;
|
-webkit-animation: intro 0.3s both;
|
||||||
animation-delay: 0.25s;
|
animation: intro 0.3s both;
|
||||||
|
-webkit-animation-delay: 0.25s;
|
||||||
|
animation-delay: 0.25s;
|
||||||
|
|
||||||
&--overlay {
|
&--overlay {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -122,8 +126,10 @@
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
animation: intro 0.3s both;
|
-webkit-animation: intro 0.3s both;
|
||||||
animation-delay: 0.25s;
|
animation: intro 0.3s both;
|
||||||
|
-webkit-animation-delay: 0.25s;
|
||||||
|
animation-delay: 0.25s;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -24,6 +24,11 @@ body { margin: 0; }
|
|||||||
|
|
||||||
/* Selected elements */
|
/* Selected elements */
|
||||||
|
|
||||||
|
::-moz-selection {
|
||||||
|
color: #fff;
|
||||||
|
background: #000;
|
||||||
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #000;
|
background: #000;
|
||||||
@@ -100,9 +105,9 @@ sub {
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
/* Responsive images (ensure images don't scale beyond their parents) */
|
/* Responsive images (ensure images don't scale beyond their parents) */
|
||||||
max-width: 100%; // part 1: Set a maximum relative to the parent
|
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
|
||||||
width: auto\9; // IE7-8 need help adjusting responsive images
|
width: auto\9; /* IE7-8 need help adjusting responsive images*/
|
||||||
height: auto; // part 2: Scale the height according to the width, otherwise you get stretching
|
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
|
||||||
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border: 0;
|
border: 0;
|
||||||
@@ -129,12 +134,12 @@ textarea {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
*overflow: visible; // inner spacing ie IE6/7
|
*overflow: visible; /* inner spacing ie IE6/7*/
|
||||||
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
||||||
}
|
}
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
button::-moz-focus-inner,
|
||||||
input::-moz-focus-inner { // inner padding and border oddities in FF3/4
|
input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
@@ -143,8 +148,8 @@ button,
|
|||||||
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
|
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
|
||||||
input[type="reset"],
|
input[type="reset"],
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
-webkit-appearance: button; // corrects inability to style clickable `input` types in iOS
|
-webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
|
||||||
cursor: pointer; // improves usability and consistency of cursor style between image-type `input` and others
|
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
|
||||||
}
|
}
|
||||||
|
|
||||||
label,
|
label,
|
||||||
@@ -155,20 +160,20 @@ input[type="reset"],
|
|||||||
input[type="submit"],
|
input[type="submit"],
|
||||||
input[type="radio"],
|
input[type="radio"],
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
cursor: pointer; // improves usability and consistency of cursor style between image-type `input` and others
|
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="search"] { // Appearance in Safari/Chrome
|
input[type="search"] { /* Appearance in Safari/Chrome*/
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
-webkit-appearance: textfield;
|
-webkit-appearance: textfield;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="search"]::-webkit-search-decoration,
|
input[type="search"]::-webkit-search-decoration,
|
||||||
input[type="search"]::-webkit-search-cancel-button {
|
input[type="search"]::-webkit-search-cancel-button {
|
||||||
-webkit-appearance: none; // inner-padding issues in Chrome OSX, Safari 5
|
-webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
overflow: auto; // remove vertical scrollbar in IE6-9
|
overflow: auto; /* remove vertical scrollbar in IE6-9*/
|
||||||
vertical-align: top; // readability and alignment cross-browser
|
vertical-align: top; /* readability and alignment cross-browser*/
|
||||||
}
|
}
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
@include span(2 of 12);
|
@include span(2 of 12);
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -179,7 +179,7 @@ body:hover .visually-hidden button {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
// social icons
|
/* social icons*/
|
||||||
|
|
||||||
.social-icons {
|
.social-icons {
|
||||||
.fa {
|
.fa {
|
||||||
@@ -295,6 +295,7 @@ body:hover .visually-hidden button {
|
|||||||
height: $navicon-height;
|
height: $navicon-height;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
-webkit-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
|
|
||||||
&:before,
|
&:before,
|
||||||
@@ -305,6 +306,7 @@ body:hover .visually-hidden button {
|
|||||||
width: $navicon-width;
|
width: $navicon-width;
|
||||||
height: $navicon-height;
|
height: $navicon-height;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
-webkit-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -318,22 +320,26 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.close .navicon {
|
.close .navicon {
|
||||||
// hide the middle line
|
/* hide the middle line*/
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
|
||||||
// overlay the lines by setting both their top values to 0
|
/* overlay the lines by setting both their top values to 0*/
|
||||||
&:before, &:after{
|
&:before, &:after{
|
||||||
transform-origin: 50% 50%;
|
-webkit-transform-origin: 50% 50%;
|
||||||
|
-ms-transform-origin: 50% 50%;
|
||||||
|
transform-origin: 50% 50%;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: $navicon-width;
|
width: $navicon-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
// rotate the lines to form the x shape
|
/* rotate the lines to form the x shape*/
|
||||||
&:before{
|
&:before{
|
||||||
transform: rotate3d(0,0,1,45deg);
|
-webkit-transform: rotate3d(0,0,1,45deg);
|
||||||
|
transform: rotate3d(0,0,1,45deg);
|
||||||
}
|
}
|
||||||
&:after{
|
&:after{
|
||||||
transform: rotate3d(0,0,1,-45deg);
|
-webkit-transform: rotate3d(0,0,1,-45deg);
|
||||||
|
transform: rotate3d(0,0,1,-45deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user