Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5cc6301dc | ||
|
|
7d341c312e | ||
|
|
18a801b350 | ||
|
|
21a39f37d9 | ||
|
|
0626821333 | ||
|
|
46d743edd2 | ||
|
|
d4ee7ff12d | ||
|
|
dc7f352aff | ||
|
|
7a3c82f041 | ||
|
|
25153da058 | ||
|
|
327d3cfc3a | ||
|
|
a48327908e | ||
|
|
09b42ec322 | ||
|
|
b5e3ef57b4 | ||
|
|
490f8256c3 | ||
|
|
32d2c7db0d | ||
|
|
8756c27704 | ||
|
|
57449b37ca | ||
|
|
a60257de3d | ||
|
|
0c13d0446d | ||
|
|
a1d508d53b | ||
|
|
54b2da3022 | ||
|
|
921f4411c3 | ||
|
|
4092d08c8c | ||
|
|
f12a902372 | ||
|
|
6db88b709a | ||
|
|
f5cf9d8fd8 | ||
|
|
6617549249 | ||
|
|
233dcde6f9 | ||
|
|
3889ff311e | ||
|
|
3c034e59f4 | ||
|
|
0c2d3bbb9f | ||
|
|
a718162d96 | ||
|
|
d3ac1123da | ||
|
|
a40e93fa41 | ||
|
|
50c1dfe4cf | ||
|
|
bcae932f8c | ||
|
|
467e5dc84e | ||
|
|
bff773668b | ||
|
|
86a4ca6e2d | ||
|
|
0d6816e770 | ||
|
|
16a1a9a505 | ||
|
|
3c12f7c168 | ||
|
|
8bbf9bb62b | ||
|
|
306d6b40b0 | ||
|
|
4be38f4c8a | ||
|
|
da6ec43918 | ||
|
|
00bdeacb49 | ||
|
|
8f161b04db | ||
|
|
f173b97404 | ||
|
|
f52a18c3d8 | ||
|
|
c4d71dbea7 | ||
|
|
e4abec0a6f | ||
|
|
06a8249a69 | ||
|
|
b29f3ab8a1 | ||
|
|
4340aa7835 | ||
|
|
a524629685 | ||
|
|
804b2171a6 | ||
|
|
3a9350d54c | ||
|
|
b5472d33c0 | ||
|
|
c94c1c59b9 | ||
|
|
c3efe21834 | ||
|
|
304f465430 | ||
|
|
d86a6c995c | ||
|
|
8fe82c73a9 | ||
|
|
5819e4dc78 | ||
|
|
0dd3f3b4dd | ||
|
|
9706f6e201 | ||
|
|
985b58479e | ||
|
|
64ac7952c1 | ||
|
|
7aa4e3ca3d | ||
|
|
cb26538572 | ||
|
|
a3b78e5a80 | ||
|
|
fdcaf16e2f | ||
|
|
fb32147148 | ||
|
|
a1c7c022e6 | ||
|
|
41c99f428d | ||
|
|
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 |
+146
@@ -1,3 +1,149 @@
|
|||||||
|
## [3.4.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.8)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Improve type readability for larger viewports by bumping up base `font-size`. [#533](https://github.com/mmistakes/minimal-mistakes/issues/533)
|
||||||
|
- Update Portuguese localized UI text. [#541](https://github.com/mmistakes/minimal-mistakes/pull/541)
|
||||||
|
- Add `page.title` and via parameter to Twitter share link. [#538](https://github.com/mmistakes/minimal-mistakes/pull/538)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix Last.fm author profile URL. [#540](https://github.com/mmistakes/minimal-mistakes/pull/540)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Move Brazilian Portuguese localized text under `pt-BR` key.
|
||||||
|
|
||||||
|
## [3.4.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.7)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add `layout` based and user-defined class names to `<body>` element for added CSS hooks. [#526](https://github.com/mmistakes/minimal-mistakes/pull/526)
|
||||||
|
- Add simplified Chinese localized UI text. [#532](https://github.com/mmistakes/minimal-mistakes/pull/532)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
|
||||||
|
|
||||||
|
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Italian "comments" related localized UI text. [#514](https://github.com/mmistakes/minimal-mistakes/pull/514)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Disable `compress` HTML layout by default. To enable add `layout: compress` to `_layouts/default.html`.
|
||||||
|
|
||||||
|
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
|
||||||
|
- Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
|
||||||
|
- Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
|
||||||
|
- Add `{% highlight %}` code block examples to demo site.
|
||||||
|
- Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)
|
||||||
|
|
||||||
|
## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add French "comments" related localized UI text. [#472](https://github.com/mmistakes/minimal-mistakes/pull/472)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Exclude `vendor` in Jekyll config file.
|
||||||
|
- Fix Liquid syntax error for offending parenthesis. [#479](https://github.com/mmistakes/minimal-mistakes/issues/479)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Update gems: `colorator` (1.1.0), `forwardable-extended` (2.6.0), `github-pages` (93), `jekyll` (= 3.2.1), `minima` (= 1.0.1).
|
||||||
|
|
||||||
|
## [3.4.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.3)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Make ["honeypot" `input`](https://github.com/mmistakes/minimal-mistakes/commit/06a8249a69a37dddda7e2a5bfbe32056c1a9a607) in Staticman comment form less obvious to spam bots
|
||||||
|
- Add padding to `.highlight` code blocks to better [align `overflow` scrollbar](https://github.com/mmistakes/minimal-mistakes/commit/e4abec0a6f7f8cff72505ca0754615df294fd5b3) to the bottom.
|
||||||
|
- Add additional image options for Twitter card social sharing meta tags. [#466](https://github.com/mmistakes/minimal-mistakes/pull/466)
|
||||||
|
- Add structured data markup for Staticman comments. [#458](https://github.com/mmistakes/minimal-mistakes/issues/458)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Format `og:locale` tag with `_` instead of `-`. [#462](https://github.com/mmistakes/minimal-mistakes/issues/462)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Add note to docs about using `url: http://localhost:4000` when working locally.
|
||||||
|
|
||||||
|
## [3.4.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Improve UX of static comment forms. [#448](https://github.com/mmistakes/minimal-mistakes/issues/448)
|
||||||
|
|
||||||
|
## [3.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add `staticman.filename` configuration with UNIX timestamp for sorting data files. example ~> `comment-1470943149`.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Don't add `<a>` to author name if URL is blank.
|
||||||
|
|
||||||
|
## [3.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Support static-based commenting via [Staticman](https://staticman.net/) for sites hosted with GitHub Pages. [#424](https://github.com/mmistakes/minimal-mistakes/issues/424)
|
||||||
|
|
||||||
|
## [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)
|
## [3.3.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.4)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
@@ -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
|
||||||
+22
-12
@@ -12,7 +12,7 @@ GEM
|
|||||||
coffee-script-source
|
coffee-script-source
|
||||||
execjs
|
execjs
|
||||||
coffee-script-source (1.10.0)
|
coffee-script-source (1.10.0)
|
||||||
colorator (0.1)
|
colorator (1.1.0)
|
||||||
ethon (0.9.0)
|
ethon (0.9.0)
|
||||||
ffi (>= 1.3.0)
|
ffi (>= 1.3.0)
|
||||||
execjs (2.7.0)
|
execjs (2.7.0)
|
||||||
@@ -20,29 +20,31 @@ GEM
|
|||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ffi (1.9.14)
|
ffi (1.9.14)
|
||||||
ffi (1.9.14-x64-mingw32)
|
ffi (1.9.14-x64-mingw32)
|
||||||
|
forwardable-extended (2.6.0)
|
||||||
gemoji (2.1.0)
|
gemoji (2.1.0)
|
||||||
github-pages (88)
|
github-pages (96)
|
||||||
activesupport (= 4.2.7)
|
activesupport (= 4.2.7)
|
||||||
github-pages-health-check (= 1.1.0)
|
github-pages-health-check (= 1.2.0)
|
||||||
jekyll (= 3.1.6)
|
jekyll (= 3.2.1)
|
||||||
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.3)
|
jekyll-mentions (= 1.2.0)
|
||||||
jekyll-paginate (= 1.1.0)
|
jekyll-paginate (= 1.1.0)
|
||||||
jekyll-redirect-from (= 0.11.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)
|
||||||
|
minima (= 1.2.0)
|
||||||
rouge (= 1.11.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.2.0)
|
||||||
addressable (~> 2.3)
|
addressable (~> 2.3)
|
||||||
net-dns (~> 0.8)
|
net-dns (~> 0.8)
|
||||||
octokit (~> 4.0)
|
octokit (~> 4.0)
|
||||||
@@ -52,13 +54,14 @@ GEM
|
|||||||
activesupport (>= 2)
|
activesupport (>= 2)
|
||||||
nokogiri (>= 1.4)
|
nokogiri (>= 1.4)
|
||||||
i18n (0.7.0)
|
i18n (0.7.0)
|
||||||
jekyll (3.1.6)
|
jekyll (3.2.1)
|
||||||
colorator (~> 0.1)
|
colorator (~> 1.0)
|
||||||
jekyll-sass-converter (~> 1.0)
|
jekyll-sass-converter (~> 1.0)
|
||||||
jekyll-watch (~> 1.1)
|
jekyll-watch (~> 1.1)
|
||||||
kramdown (~> 1.3)
|
kramdown (~> 1.3)
|
||||||
liquid (~> 3.0)
|
liquid (~> 3.0)
|
||||||
mercenary (~> 0.3.3)
|
mercenary (~> 0.3.3)
|
||||||
|
pathutil (~> 0.9)
|
||||||
rouge (~> 1.7)
|
rouge (~> 1.7)
|
||||||
safe_yaml (~> 1.0)
|
safe_yaml (~> 1.0)
|
||||||
jekyll-coffeescript (1.0.1)
|
jekyll-coffeescript (1.0.1)
|
||||||
@@ -69,7 +72,8 @@ 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.3)
|
jekyll-mentions (1.2.0)
|
||||||
|
activesupport (~> 4.0)
|
||||||
html-pipeline (~> 2.3)
|
html-pipeline (~> 2.3)
|
||||||
jekyll (~> 3.0)
|
jekyll (~> 3.0)
|
||||||
jekyll-paginate (1.1.0)
|
jekyll-paginate (1.1.0)
|
||||||
@@ -82,7 +86,8 @@ GEM
|
|||||||
jekyll-sitemap (0.10.0)
|
jekyll-sitemap (0.10.0)
|
||||||
jekyll-watch (1.5.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)
|
||||||
@@ -94,6 +99,7 @@ GEM
|
|||||||
rb-inotify (>= 0.9.7)
|
rb-inotify (>= 0.9.7)
|
||||||
mercenary (0.3.6)
|
mercenary (0.3.6)
|
||||||
mini_portile2 (2.1.0)
|
mini_portile2 (2.1.0)
|
||||||
|
minima (1.2.0)
|
||||||
minitest (5.9.0)
|
minitest (5.9.0)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
net-dns (0.8.0)
|
net-dns (0.8.0)
|
||||||
@@ -105,6 +111,8 @@ GEM
|
|||||||
pkg-config (~> 1.1.7)
|
pkg-config (~> 1.1.7)
|
||||||
octokit (4.3.0)
|
octokit (4.3.0)
|
||||||
sawyer (~> 0.7.0, >= 0.5.3)
|
sawyer (~> 0.7.0, >= 0.5.3)
|
||||||
|
pathutil (0.14.0)
|
||||||
|
forwardable-extended (~> 2.6)
|
||||||
pkg-config (1.1.7)
|
pkg-config (1.1.7)
|
||||||
public_suffix (1.5.3)
|
public_suffix (1.5.3)
|
||||||
rb-fsevent (0.9.7)
|
rb-fsevent (0.9.7)
|
||||||
@@ -116,12 +124,14 @@ GEM
|
|||||||
sawyer (0.7.0)
|
sawyer (0.7.0)
|
||||||
addressable (>= 2.3.5, < 2.5)
|
addressable (>= 2.3.5, < 2.5)
|
||||||
faraday (~> 0.8, < 0.10)
|
faraday (~> 0.8, < 0.10)
|
||||||
terminal-table (1.6.0)
|
terminal-table (1.7.2)
|
||||||
|
unicode-display_width (~> 1.1.1)
|
||||||
thread_safe (0.3.5)
|
thread_safe (0.3.5)
|
||||||
typhoeus (0.8.0)
|
typhoeus (0.8.0)
|
||||||
ethon (>= 0.8.0)
|
ethon (>= 0.8.0)
|
||||||
tzinfo (1.2.2)
|
tzinfo (1.2.2)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
|
unicode-display_width (1.1.1)
|
||||||
wdm (0.1.1)
|
wdm (0.1.1)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
|||||||
@@ -20,10 +20,11 @@ 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/), static-based via [Staticman](https://staticman.net/), 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.
|
- UI localized text: English (default), Spanish, French, and Turkish.
|
||||||
|
|
||||||
|
|||||||
+27
-8
@@ -13,12 +13,12 @@ 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
|
||||||
comments:
|
comments:
|
||||||
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", custom"
|
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "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:
|
discourse:
|
||||||
@@ -28,6 +28,22 @@ comments:
|
|||||||
appid :
|
appid :
|
||||||
num_posts : # 5 (default)
|
num_posts : # 5 (default)
|
||||||
colorscheme : # "light" (default), "dark"
|
colorscheme : # "light" (default), "dark"
|
||||||
|
staticman:
|
||||||
|
allowedFields : ['name', 'email', 'url', 'message']
|
||||||
|
branch : # "master", "gh-pages"
|
||||||
|
commitMessage : "New comment."
|
||||||
|
filename : comment-{@timestamp}
|
||||||
|
format : "yml"
|
||||||
|
moderation : true
|
||||||
|
path : "_data/comments/{options.slug}"
|
||||||
|
requiredFields : ['name', 'email', 'message']
|
||||||
|
transforms:
|
||||||
|
email : "md5"
|
||||||
|
generatedFields:
|
||||||
|
date:
|
||||||
|
type : "date"
|
||||||
|
options:
|
||||||
|
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
||||||
atom_feed:
|
atom_feed:
|
||||||
path : # blank (default) uses feed.xml
|
path : # blank (default) uses feed.xml
|
||||||
|
|
||||||
@@ -58,10 +74,6 @@ analytics:
|
|||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
|
|
||||||
# Google AdSense
|
|
||||||
google_ad_client :
|
|
||||||
google_ad_slot :
|
|
||||||
|
|
||||||
|
|
||||||
# Site Author
|
# Site Author
|
||||||
author:
|
author:
|
||||||
@@ -85,7 +97,7 @@ author:
|
|||||||
linkedin :
|
linkedin :
|
||||||
pinterest :
|
pinterest :
|
||||||
soundcloud :
|
soundcloud :
|
||||||
stackoverflow : # http://stackoverflow.com/users/123456/username
|
stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
|
||||||
steam :
|
steam :
|
||||||
tumblr :
|
tumblr :
|
||||||
twitter :
|
twitter :
|
||||||
@@ -102,6 +114,7 @@ include:
|
|||||||
exclude:
|
exclude:
|
||||||
- "*.sublime-project"
|
- "*.sublime-project"
|
||||||
- "*.sublime-workspace"
|
- "*.sublime-workspace"
|
||||||
|
- vendor
|
||||||
- .asset-cache
|
- .asset-cache
|
||||||
- .bundle
|
- .bundle
|
||||||
- .jekyll-assets-cache
|
- .jekyll-assets-cache
|
||||||
@@ -149,6 +162,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
|
||||||
@@ -207,4 +226,4 @@ tag_archive:
|
|||||||
compress_html:
|
compress_html:
|
||||||
clippings: all
|
clippings: all
|
||||||
ignore:
|
ignore:
|
||||||
envs: development
|
envs: development
|
||||||
+314
-96
@@ -3,30 +3,42 @@
|
|||||||
# English (default)
|
# English (default)
|
||||||
# -----------------
|
# -----------------
|
||||||
en: &DEFAULT_EN
|
en: &DEFAULT_EN
|
||||||
page : "Page"
|
page : "Page"
|
||||||
pagination_previous : "Previous"
|
pagination_previous : "Previous"
|
||||||
pagination_next : "Next"
|
pagination_next : "Next"
|
||||||
breadcrumb_home_label : "Home"
|
breadcrumb_home_label : "Home"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
toc_label : "On This Page"
|
toc_label : "On This Page"
|
||||||
ext_link_label : "Direct Link"
|
ext_link_label : "Direct Link"
|
||||||
less_than : "less than"
|
less_than : "less than"
|
||||||
minute_read : "minute read"
|
minute_read : "minute read"
|
||||||
share_on_label : "Share on"
|
share_on_label : "Share on"
|
||||||
meta_label :
|
meta_label :
|
||||||
tags_label : "Tags:"
|
tags_label : "Tags:"
|
||||||
categories_label : "Categories:"
|
categories_label : "Categories:"
|
||||||
date_label : "Updated:"
|
date_label : "Updated:"
|
||||||
comments_label : "Leave a Comment"
|
comments_label : "Leave a Comment"
|
||||||
more_label : "Learn More"
|
comments_title : "Comments"
|
||||||
related_label : "You May Also Enjoy"
|
more_label : "Learn More"
|
||||||
follow_label : "Follow:"
|
related_label : "You May Also Enjoy"
|
||||||
feed_label : "Feed"
|
follow_label : "Follow:"
|
||||||
powered_by : "Powered by"
|
feed_label : "Feed"
|
||||||
website_label : "Website"
|
powered_by : "Powered by"
|
||||||
email_label : "Email"
|
website_label : "Website"
|
||||||
recent_posts : "Recent Posts"
|
email_label : "Email"
|
||||||
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
recent_posts : "Recent Posts"
|
||||||
|
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
||||||
|
comment_form_info : "Your email address will not be published. Required fields are marked"
|
||||||
|
comment_form_comment_label : "Comment"
|
||||||
|
comment_form_md_info : "Markdown is supported."
|
||||||
|
comment_form_name_label : "Name"
|
||||||
|
comment_form_email_label : "Email address"
|
||||||
|
comment_form_website_label : "Website (optional)"
|
||||||
|
comment_btn_submit : "Submit Comment"
|
||||||
|
comment_btn_submitted : "Submitted"
|
||||||
|
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
|
||||||
|
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
|
||||||
|
loading_label : "Loading..."
|
||||||
en-US:
|
en-US:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
en-CA:
|
en-CA:
|
||||||
@@ -39,30 +51,42 @@ en-AU:
|
|||||||
# Spanish
|
# Spanish
|
||||||
# --------------
|
# --------------
|
||||||
es: &DEFAULT_ES
|
es: &DEFAULT_ES
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
pagination_next : "Siguiente"
|
pagination_next : "Siguiente"
|
||||||
breadcrumb_home_label : "Inicio"
|
breadcrumb_home_label : "Inicio"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
toc_label : "Contenidos"
|
toc_label : "Contenidos"
|
||||||
ext_link_label : "Enlace"
|
ext_link_label : "Enlace"
|
||||||
less_than : "menos de"
|
less_than : "menos de"
|
||||||
minute_read : "minuto de lectura"
|
minute_read : "minuto de lectura"
|
||||||
share_on_label : "Compartir"
|
share_on_label : "Compartir"
|
||||||
meta_label :
|
meta_label :
|
||||||
tags_label : "Etiquetas:"
|
tags_label : "Etiquetas:"
|
||||||
categories_label : "Categorías:"
|
categories_label : "Categorías:"
|
||||||
date_label : "Actualizado:"
|
date_label : "Actualizado:"
|
||||||
comments_label : "Comentar"
|
comments_label : "Comentar"
|
||||||
more_label : "Ver más"
|
comments_title :
|
||||||
related_label : "Podrías ver también"
|
more_label : "Ver más"
|
||||||
follow_label : "Seguir:"
|
related_label : "Podrías ver también"
|
||||||
feed_label : "Feed"
|
follow_label : "Seguir:"
|
||||||
powered_by : "Powered by"
|
feed_label : "Feed"
|
||||||
website_label : "Sitio web"
|
powered_by : "Powered by"
|
||||||
email_label : "Email"
|
website_label : "Sitio web"
|
||||||
recent_posts : "Entradas recientes"
|
email_label : "Email"
|
||||||
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
|
recent_posts : "Entradas recientes"
|
||||||
|
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
|
||||||
|
comment_form_info :
|
||||||
|
comment_form_comment_label :
|
||||||
|
comment_form_md_info :
|
||||||
|
comment_form_name_label :
|
||||||
|
comment_form_email_label :
|
||||||
|
comment_form_website_label :
|
||||||
|
comment_btn_submit :
|
||||||
|
comment_btn_submitted :
|
||||||
|
comment_success_msg :
|
||||||
|
comment_error_msg :
|
||||||
|
loading_label :
|
||||||
es-ES:
|
es-ES:
|
||||||
<<: *DEFAULT_ES
|
<<: *DEFAULT_ES
|
||||||
es-CO:
|
es-CO:
|
||||||
@@ -71,30 +95,43 @@ es-CO:
|
|||||||
# French
|
# French
|
||||||
# -----------------
|
# -----------------
|
||||||
fr: &DEFAULT_FR
|
fr: &DEFAULT_FR
|
||||||
page : "Page"
|
page : "Page"
|
||||||
pagination_previous : "Précédent"
|
pagination_previous : "Précédent"
|
||||||
pagination_next : "Suivant"
|
pagination_next : "Suivant"
|
||||||
breadcrumb_home_label : "Accueil"
|
breadcrumb_home_label : "Accueil"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
toc_label : "Sur cette page"
|
toc_label : "Sur cette page"
|
||||||
ext_link_label : "Lien direct"
|
ext_link_label : "Lien direct"
|
||||||
less_than : "plus petit que"
|
less_than : "plus petit que"
|
||||||
minute_read : "minute de lecture"
|
minute_read : "minute de lecture"
|
||||||
share_on_label : "Partager sur"
|
share_on_label : "Partager sur"
|
||||||
meta_label :
|
meta_label :
|
||||||
tags_label : "Tags :"
|
tags_label : "Tags :"
|
||||||
categories_label : "Catégories :"
|
categories_label : "Catégories :"
|
||||||
date_label : "Mis à jour :"
|
date_label : "Mis à jour :"
|
||||||
comments_label : "Laisser un commentaire"
|
comments_label : "Laisser un commentaire"
|
||||||
more_label : "Lire plus"
|
comments_title :
|
||||||
related_label : "Vous pourriez aimer"
|
more_label : "Lire plus"
|
||||||
follow_label : "Suivez moi"
|
related_label : "Vous pourriez aimer"
|
||||||
feed_label : "Flux"
|
follow_label : "Suivez moi"
|
||||||
powered_by : "Propulsé par"
|
feed_label : "Flux"
|
||||||
website_label : "Site"
|
powered_by : "Propulsé par"
|
||||||
email_label : "Email"
|
website_label : "Site"
|
||||||
recent_posts : "Posts récents"
|
email_label : "Email"
|
||||||
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
|
recent_posts : "Posts récents"
|
||||||
|
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
|
||||||
|
comments_title : "Commentaires"
|
||||||
|
comment_form_info : "Votre adresse email ne sera pas visible. Les champs obligatoires sont marqués"
|
||||||
|
comment_form_comment_label : "Commentaire"
|
||||||
|
comment_form_md_info : "Markdown est supporté."
|
||||||
|
comment_form_name_label : "Nom"
|
||||||
|
comment_form_email_label : "Adresse mail"
|
||||||
|
comment_form_website_label : "Site web (optionnel)"
|
||||||
|
comment_btn_submit : "Envoyer"
|
||||||
|
comment_btn_submitted : "Envoyé"
|
||||||
|
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé."
|
||||||
|
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
|
||||||
|
loading_label : "Chargement..."
|
||||||
fr-FR:
|
fr-FR:
|
||||||
<<: *DEFAULT_FR
|
<<: *DEFAULT_FR
|
||||||
fr-BE:
|
fr-BE:
|
||||||
@@ -105,33 +142,214 @@ fr-CH:
|
|||||||
# Turkish
|
# Turkish
|
||||||
# -----------------
|
# -----------------
|
||||||
tr: &DEFAULT_TR
|
tr: &DEFAULT_TR
|
||||||
page : "Sayfa"
|
page : "Sayfa"
|
||||||
pagination_previous : "Önceki"
|
pagination_previous : "Önceki"
|
||||||
pagination_next : "Sonraki"
|
pagination_next : "Sonraki"
|
||||||
breadcrumb_home_label : "Ana Sayfa"
|
breadcrumb_home_label : "Ana Sayfa"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
toc_label : "İçindekiler"
|
toc_label : "İçindekiler"
|
||||||
ext_link_label : "Doğrudan Bağlantı"
|
ext_link_label : "Doğrudan Bağlantı"
|
||||||
less_than : "Şu süreden az: "
|
less_than : "Şu süreden az: "
|
||||||
minute_read : "dakika tahmini okuma süresi"
|
minute_read : "dakika tahmini okuma süresi"
|
||||||
share_on_label : "Paylaş"
|
share_on_label : "Paylaş"
|
||||||
meta_label :
|
meta_label :
|
||||||
tags_label : "Etiketler:"
|
tags_label : "Etiketler:"
|
||||||
categories_label : "Kategoriler:"
|
categories_label : "Kategoriler:"
|
||||||
date_label : "Güncelleme tarihi:"
|
date_label : "Güncelleme tarihi:"
|
||||||
comments_label : "Yorum yapın"
|
comments_label : "Yorum yapın"
|
||||||
more_label : "Daha fazlasını öğrenin"
|
comments_title :
|
||||||
related_label : "Bunlar ilginizi çekebilir:"
|
more_label : "Daha fazlasını öğrenin"
|
||||||
follow_label : "Takip et:"
|
related_label : "Bunlar ilginizi çekebilir:"
|
||||||
feed_label : "RSS"
|
follow_label : "Takip et:"
|
||||||
powered_by : "Emeği geçenler: "
|
feed_label : "RSS"
|
||||||
website_label : "Web sayfası"
|
powered_by : "Emeği geçenler: "
|
||||||
email_label : "E-posta"
|
website_label : "Web sayfası"
|
||||||
recent_posts : "Son yazılar"
|
email_label : "E-posta"
|
||||||
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
recent_posts : "Son yazılar"
|
||||||
|
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
||||||
|
comment_form_info :
|
||||||
|
comment_form_comment_label :
|
||||||
|
comment_form_md_info :
|
||||||
|
comment_form_name_label :
|
||||||
|
comment_form_email_label :
|
||||||
|
comment_form_website_label :
|
||||||
|
comment_btn_submit :
|
||||||
|
comment_btn_submitted :
|
||||||
|
comment_success_msg :
|
||||||
|
comment_error_msg :
|
||||||
|
loading_label :
|
||||||
tr-TR:
|
tr-TR:
|
||||||
<<: *DEFAULT_TR
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
|
# Portuguese
|
||||||
|
# -----------------
|
||||||
|
pt: &DEFAULT_PT
|
||||||
|
page : "Página"
|
||||||
|
pagination_previous : "Anterior"
|
||||||
|
pagination_next : "Seguinte"
|
||||||
|
breadcrumb_home_label : "Início"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
toc_label : "Nesta Página"
|
||||||
|
ext_link_label : "Link Direto"
|
||||||
|
less_than : "menos de"
|
||||||
|
minute_read : "minutos de leitura"
|
||||||
|
share_on_label : "Partilhar no"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Etiquetas:"
|
||||||
|
categories_label : "Categorias:"
|
||||||
|
date_label : "Atualizado:"
|
||||||
|
comments_label : "Deixe um Comentário"
|
||||||
|
comments_title : "Comentários"
|
||||||
|
more_label : "Saber mais"
|
||||||
|
related_label : "Também pode gostar de"
|
||||||
|
follow_label : "Siga:"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Feito com"
|
||||||
|
website_label : "Site"
|
||||||
|
email_label : "Email"
|
||||||
|
recent_posts : "Artigos Recentes"
|
||||||
|
undefined_wpm : "Parâmetro words_per_minute não definido em _config.yml"
|
||||||
|
comment_form_info : "O seu endereço email não será publicado. Os campos obrigatórios estão assinalados"
|
||||||
|
comment_form_comment_label : "Comentário"
|
||||||
|
comment_form_md_info : "Markdown é suportado."
|
||||||
|
comment_form_name_label : "Nome"
|
||||||
|
comment_form_email_label : "Endereço Email"
|
||||||
|
comment_form_website_label : "Site (opcional)"
|
||||||
|
comment_btn_submit : "Sumbeter Comentário"
|
||||||
|
comment_btn_submitted : "Submetido"
|
||||||
|
comment_success_msg : "Obrigado pelo seu comentário! Será visível no site logo que aprovado."
|
||||||
|
comment_error_msg : "Lamento, ocorreu um erro na sua submissão. Por favor verifique se todos os campos obrigatórios estão corretamente preenchidos e tente novamente."
|
||||||
|
loading_label : "A carregar..."
|
||||||
|
# Brazilian Portuguese
|
||||||
|
pt-BR:
|
||||||
|
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"
|
||||||
|
comments_title :
|
||||||
|
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"
|
||||||
|
comment_form_info :
|
||||||
|
comment_form_comment_label :
|
||||||
|
comment_form_md_info :
|
||||||
|
comment_form_name_label :
|
||||||
|
comment_form_email_label :
|
||||||
|
comment_form_website_label :
|
||||||
|
comment_btn_submit :
|
||||||
|
comment_btn_submitted :
|
||||||
|
comment_success_msg :
|
||||||
|
comment_error_msg :
|
||||||
|
loading_label :
|
||||||
|
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"
|
||||||
|
comments_title :
|
||||||
|
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"
|
||||||
|
comment_form_info : "Il tuo indirizzo email non sarà pubblicato. Sono segnati i campi obbligatori"
|
||||||
|
comment_form_comment_label : "Commenta"
|
||||||
|
comment_form_md_info : "Il linguaggio Markdown è supportato"
|
||||||
|
comment_form_name_label : "Nome"
|
||||||
|
comment_form_email_label : "Indirizzo email"
|
||||||
|
comment_form_website_label : "Sito Web (opzionale)"
|
||||||
|
comment_btn_submit : "Invia commento"
|
||||||
|
comment_btn_submitted : "Inviato"
|
||||||
|
comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
|
||||||
|
comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
|
||||||
|
loading_label : "Caricamento..."
|
||||||
|
it-IT:
|
||||||
|
<<: *DEFAULT_IT
|
||||||
|
|
||||||
|
# Chinese (zh-CN Chinese - China)
|
||||||
|
# -----------------
|
||||||
|
zh: &DEFAULT_ZH
|
||||||
|
page : "页面"
|
||||||
|
pagination_previous : "向前"
|
||||||
|
pagination_next : "向后"
|
||||||
|
breadcrumb_home_label : "首页"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
toc_label : "在本页上"
|
||||||
|
ext_link_label : "直接链接"
|
||||||
|
less_than : "少于"
|
||||||
|
minute_read : "分钟 阅读"
|
||||||
|
share_on_label : "分享"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "标签:"
|
||||||
|
categories_label : "分类:"
|
||||||
|
date_label : "最新的:"
|
||||||
|
comments_label : "留下评论"
|
||||||
|
comments_title : "评论"
|
||||||
|
more_label : "了解更多"
|
||||||
|
related_label : "猜您还喜欢"
|
||||||
|
follow_label : "关注:"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "网站"
|
||||||
|
email_label : "Email"
|
||||||
|
recent_posts : "最新文章"
|
||||||
|
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
||||||
|
comment_form_info : "Your email address will not be published. Required fields are marked"
|
||||||
|
comment_form_comment_label : "Comment"
|
||||||
|
comment_form_md_info : "Markdown is supported."
|
||||||
|
comment_form_name_label : "Name"
|
||||||
|
comment_form_email_label : "Email address"
|
||||||
|
comment_form_website_label : "Website (optional)"
|
||||||
|
comment_btn_submit : "Submit Comment"
|
||||||
|
comment_btn_submitted : "Submitted"
|
||||||
|
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
|
||||||
|
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
|
||||||
|
loading_label : "Loading..."
|
||||||
|
zh-CN:
|
||||||
|
<<: *DEFAULT_ZH
|
||||||
|
zh-HK:
|
||||||
|
<<: *DEFAULT_ZH
|
||||||
|
zh-SG:
|
||||||
|
<<: *DEFAULT_ZH
|
||||||
|
zh-TW:
|
||||||
|
<<: *DEFAULT_ZH
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if post.id %}
|
{% if post.id %}
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<div class="{{ include.type | default: "list" }}__item">
|
<div class="{{ include.type | default: "list" }}__item">
|
||||||
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
||||||
{% if include.type == "grid" and teaser != blank %}
|
{% if include.type == "grid" and teaser %}
|
||||||
<div class="archive__item-teaser">
|
<div class="archive__item-teaser">
|
||||||
<img src=
|
<img src=
|
||||||
{% if teaser contains "://" %}
|
{% if teaser contains "://" %}
|
||||||
|
|||||||
@@ -20,16 +20,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="author__urls-wrapper">
|
<div class="author__urls-wrapper">
|
||||||
<button class="btn btn--inverse">Follow</button>
|
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
||||||
<ul class="author__urls social-icons">
|
<ul class="author__urls social-icons">
|
||||||
{% if author.location %}
|
{% if author.location %}
|
||||||
<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>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
|
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.lastfm %}
|
{% if author.lastfm %}
|
||||||
<li><a href="https://lastfm.com/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
|
<li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.dribbble %}
|
{% if author.dribbble %}
|
||||||
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li>
|
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</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>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% case site.category_archive.type %}
|
{% case site.category_archive.type %}
|
||||||
{% when "liquid" %}
|
{% when "liquid" %}
|
||||||
{% assign path_type = "#" %}
|
{% assign path_type = "#" %}
|
||||||
@@ -18,7 +16,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: '#' %}
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
|
||||||
|
<div class="comment__avatar-wrapper">
|
||||||
|
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80">
|
||||||
|
</div>
|
||||||
|
<div class="comment__content-wrapper">
|
||||||
|
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||||
|
{% unless include.url == blank %}
|
||||||
|
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
||||||
|
{% else %}
|
||||||
|
<span itemprop="name">{{ include.name }}</span>
|
||||||
|
{% endunless %}
|
||||||
|
</h3>
|
||||||
|
<p class="comment__date">
|
||||||
|
{% if include.date %}
|
||||||
|
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
|
||||||
|
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
|
||||||
|
{% if include.index %}</a>{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
<div itemprop="text">{{ include.message | markdownify }}</div>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
@@ -9,6 +9,8 @@
|
|||||||
{% include /comments-providers/facebook.html %}
|
{% include /comments-providers/facebook.html %}
|
||||||
{% when "google-plus" %}
|
{% when "google-plus" %}
|
||||||
{% include /comments-providers/google-plus.html %}
|
{% include /comments-providers/google-plus.html %}
|
||||||
|
{% when "staticman" %}
|
||||||
|
{% include /comments-providers/staticman.html %}
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /comments-providers/custom.html %}
|
{% include /comments-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
{% if site.repository and site.staticman.branch %}
|
||||||
|
<script>
|
||||||
|
(function ($) {
|
||||||
|
var $comments = $('.js-comments');
|
||||||
|
|
||||||
|
$('#new_comment').submit(function () {
|
||||||
|
var form = this;
|
||||||
|
|
||||||
|
$(form).addClass('disabled');
|
||||||
|
$('#comment-form-submit').html('<i class="fa fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
type: $(this).attr('method'),
|
||||||
|
url: $(this).attr('action'),
|
||||||
|
data: $(this).serialize(),
|
||||||
|
contentType: 'application/x-www-form-urlencoded',
|
||||||
|
success: function (data) {
|
||||||
|
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
|
||||||
|
$('.page__comments-form .js-notice').removeClass('notice--danger');
|
||||||
|
$('.page__comments-form .js-notice').addClass('notice--success');
|
||||||
|
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
|
||||||
|
},
|
||||||
|
error: function (err) {
|
||||||
|
console.log(err);
|
||||||
|
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
|
||||||
|
$('.page__comments-form .js-notice').removeClass('notice--success');
|
||||||
|
$('.page__comments-form .js-notice').addClass('notice--danger');
|
||||||
|
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
|
||||||
|
$(form).removeClass('disabled');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
function showAlert(message) {
|
||||||
|
$('.page__comments-form .js-notice').removeClass('hidden');
|
||||||
|
$('.page__comments-form .js-notice-text').html(message);
|
||||||
|
}
|
||||||
|
})(jQuery);
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
||||||
+68
-1
@@ -1,14 +1,81 @@
|
|||||||
{% 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>
|
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
|
||||||
{% case site.comments.provider %}
|
{% case site.comments.provider %}
|
||||||
{% when "disqus" %}
|
{% when "disqus" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section id="disqus_thread"></section>
|
<section id="disqus_thread"></section>
|
||||||
{% when "facebook" %}
|
{% when "facebook" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section class="fb-comments" data-href="{{ base_path }}{{ page.url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
<section class="fb-comments" data-href="{{ base_path }}{{ page.url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
||||||
{% when "google-plus" %}
|
{% when "google-plus" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
||||||
|
{% when "staticman" %}
|
||||||
|
<section id="comments">
|
||||||
|
{% if site.repository and site.staticman.branch %}
|
||||||
|
<!-- Start static comments -->
|
||||||
|
<div class="js-comments">
|
||||||
|
{% if site.data.comments[page.slug] %}
|
||||||
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
||||||
|
{% assign comments = site.data.comments[page.slug] | sort %}
|
||||||
|
|
||||||
|
{% for comment in comments %}
|
||||||
|
{% assign email = comment[1].email %}
|
||||||
|
{% assign name = comment[1].name %}
|
||||||
|
{% assign url = comment[1].url %}
|
||||||
|
{% assign date = comment[1].date %}
|
||||||
|
{% assign message = comment[1].message %}
|
||||||
|
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
<!-- End static comments -->
|
||||||
|
|
||||||
|
<!-- Start new comment form -->
|
||||||
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
|
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
||||||
|
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
|
||||||
|
<div class="form__spinner">
|
||||||
|
<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
|
||||||
|
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
|
||||||
|
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
||||||
|
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
||||||
|
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
|
||||||
|
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
||||||
|
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset class="hidden" style="display: none;">
|
||||||
|
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
||||||
|
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
||||||
|
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
|
||||||
|
</fieldset>
|
||||||
|
<!-- Start comment form alert messaging -->
|
||||||
|
<p class="hidden js-notice">
|
||||||
|
<strong class="js-notice-text"></strong>
|
||||||
|
</p>
|
||||||
|
<!-- End comment form alert messaging -->
|
||||||
|
<fieldset>
|
||||||
|
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- End new comment form -->
|
||||||
|
{% endif %}
|
||||||
|
</section>
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
<section id="comments"></section>
|
<section id="comments"></section>
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|||||||
@@ -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="{% 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 }}</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>
|
||||||
@@ -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
-3
@@ -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 | replace: "-", "_" | 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 }}">
|
||||||
|
|
||||||
@@ -63,7 +63,9 @@
|
|||||||
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ 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 page.header.teaser %}
|
||||||
|
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
||||||
|
{% elsif site.og_image %}
|
||||||
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
|
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -87,6 +89,10 @@
|
|||||||
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ 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 %}">
|
||||||
{% elsif page.header.overlay_image %}
|
{% elsif page.header.overlay_image %}
|
||||||
<meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
<meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
||||||
|
{% elsif page.header.teaser %}
|
||||||
|
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
||||||
|
{% elsif site.og_image %}
|
||||||
|
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
|
|||||||
@@ -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?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ 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: '#' %}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %}
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
||||||
{% include page__hero.html %}
|
{% include page__hero.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
layout: compress
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
@@ -11,7 +10,7 @@ layout: compress
|
|||||||
{% include head/custom.html %}
|
{% include head/custom.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
|
|
||||||
{% include browser-upgrade.html %}
|
{% include browser-upgrade.html %}
|
||||||
{% include masthead.html %}
|
{% include masthead.html %}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ layout: default
|
|||||||
|
|
||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %}
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
||||||
{% include page__hero.html %}
|
{% include page__hero.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -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 %}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ layout: default
|
|||||||
|
|
||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %}
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
||||||
{% include page__hero.html %}
|
{% include page__hero.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove border
|
/* remove border*/
|
||||||
.page__content {
|
.page__content {
|
||||||
|
|
||||||
.archive__item-title {
|
.archive__item-title {
|
||||||
@@ -129,8 +129,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@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 {
|
||||||
@@ -129,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,
|
||||||
@@ -147,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*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,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;
|
||||||
|
|
||||||
@@ -194,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -240,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 {
|
||||||
@@ -305,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;
|
||||||
}
|
}
|
||||||
@@ -14,8 +14,10 @@
|
|||||||
/* sticky footer fix end */
|
/* 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;
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
Forms
|
Forms
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
btnform {
|
form {
|
||||||
margin: 0 0 5px 0;
|
margin: 0 0 5px 0;
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
@@ -51,17 +51,20 @@ input,
|
|||||||
button,
|
button,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
font-family: $sans-serif;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
font-family: $sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px / 8;
|
margin-bottom: 0.25em;
|
||||||
font-weight: bold;
|
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: $type-size-6;
|
||||||
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
textarea,
|
textarea,
|
||||||
select {
|
select {
|
||||||
@@ -74,11 +77,13 @@ textarea,
|
|||||||
select {
|
select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 4px;
|
padding: 0.25em;
|
||||||
margin-bottom: 5px / 4;
|
margin-bottom: 0.5em;
|
||||||
|
color: $text-color;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px solid mix(#fff, #000, 80%);
|
border: 1px solid mix(#fff, #000, 80%);
|
||||||
color: $text-color;
|
border-radius: $border-radius;
|
||||||
|
box-shadow: $box-shadow;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: mix(#fff, $primary-color, 50%);
|
border-color: mix(#fff, $primary-color, 50%);
|
||||||
@@ -165,6 +170,10 @@ input[type="hidden"] {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
@@ -315,6 +324,38 @@ select:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
.form--loading
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.form--loading:before {
|
||||||
|
content: '';
|
||||||
|
}
|
||||||
|
|
||||||
|
.form--loading .form__spinner {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form:before {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(255, 255, 255, 0.7);
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form__spinner {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
z-index: 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Google search form
|
Google search form
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@@ -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;
|
||||||
@@ -95,7 +97,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
color: $light-gray;
|
color: mix(#fff, $gray, 75%);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
@@ -129,7 +131,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: mix(#fff, $gray, 25%);
|
color: mix(#fff, $gray, 50%);
|
||||||
border: 1px solid $light-gray;
|
border: 1px solid $light-gray;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
@@ -149,7 +151,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
color: $light-gray;
|
color: mix(#fff, $gray, 75%);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
@@ -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*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -63,7 +63,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;
|
||||||
@@ -294,6 +294,84 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page__comments-form {
|
||||||
|
padding: 1em;
|
||||||
|
background: $lighter-gray;
|
||||||
|
transition: $global-transition;
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
input,
|
||||||
|
button,
|
||||||
|
textarea,
|
||||||
|
label {
|
||||||
|
pointer-events: none;
|
||||||
|
cursor: not-allowed;
|
||||||
|
filter: alpha(opacity=65);
|
||||||
|
box-shadow: none;
|
||||||
|
opacity: 0.65;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment {
|
||||||
|
@include clearfix();
|
||||||
|
margin: 1em 0;
|
||||||
|
|
||||||
|
&:not(:last-child) {
|
||||||
|
border-bottom: 1px solid $border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment__avatar-wrapper {
|
||||||
|
float: left;
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment__avatar {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px solid $border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment__content-wrapper {
|
||||||
|
float: right;
|
||||||
|
width: calc(100% - 60px);
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
width: calc(100% - 100px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment__author {
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment__date {
|
||||||
|
@extend .page__meta;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Related
|
Related
|
||||||
@@ -14,6 +14,14 @@ html {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($x-large) {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
@@ -24,6 +32,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 +113,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 +142,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 +156,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 +168,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 {
|
||||||
@@ -2,10 +2,13 @@
|
|||||||
Syntax highlighting
|
Syntax highlighting
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
div.highlighter-rouge, figure.highlight {
|
div.highlighter-rouge,
|
||||||
|
figure.highlight {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
padding: 1em;
|
font-family: $monospace;
|
||||||
|
font-size: $type-size-7;
|
||||||
|
line-height: 1.8;
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
background-color: $code-background-color;
|
background-color: $code-background-color;
|
||||||
@@ -19,7 +22,6 @@ div.highlighter-rouge, figure.highlight {
|
|||||||
background-color: $lighter-gray;
|
background-color: $lighter-gray;
|
||||||
content: "\f121";
|
content: "\f121";
|
||||||
font-family: "fontawesome" !important;
|
font-family: "fontawesome" !important;
|
||||||
font-size: $type-size-6;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
speak: none;
|
speak: none;
|
||||||
@@ -27,15 +29,36 @@ div.highlighter-rouge, figure.highlight {
|
|||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: $monospace;
|
padding: 1em;
|
||||||
font-size: $type-size-7;
|
|
||||||
line-height: 1.8;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight table td { padding: 5px; }
|
figure.highlight {
|
||||||
.highlight table pre { margin: 0; }
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight table {
|
||||||
|
font-size: 1em;
|
||||||
|
border: 0;
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 5px;
|
||||||
|
border: 0;
|
||||||
|
|
||||||
|
// line numbers
|
||||||
|
&.gutter {
|
||||||
|
padding-right: 1em;
|
||||||
|
color: $light-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight pre { width: 100%; }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Solarized Light
|
Solarized Light
|
||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -371,6 +377,61 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Modals
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.show-modal {
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 999;
|
||||||
|
background-color: rgba(255, 255, 255, 0.85);
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal {
|
||||||
|
display: none;
|
||||||
|
position: fixed;
|
||||||
|
width: 300px;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -150px;
|
||||||
|
margin-top: -150px;
|
||||||
|
min-height: 0;
|
||||||
|
z-index: 9999;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid $border-color;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
box-shadow: $box-shadow;
|
||||||
|
|
||||||
|
&__title {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__supporting-text {
|
||||||
|
padding: 0 1em 0.5em 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__actions {
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
border-top: 1px solid $border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Footnotes
|
Footnotes
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@@ -396,4 +457,14 @@ a.reversefootnote {
|
|||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Required
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.required {
|
||||||
|
color: $danger-color;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
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