Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c9f8cdae8 | ||
|
|
9b65e8e0d7 | ||
|
|
208299a139 | ||
|
|
19badee452 | ||
|
|
6dcbafddd1 | ||
|
|
b0d1386945 | ||
|
|
4e44f3c5db | ||
|
|
0e6d5326ed | ||
|
|
8dafd7ee75 | ||
|
|
f3bc19a13d | ||
|
|
2b7166dede | ||
|
|
656bcda033 | ||
|
|
3b457aa8f1 | ||
|
|
072fd29116 | ||
|
|
97bc971b31 | ||
|
|
cf23bb0b63 | ||
|
|
5ff2dcce4a | ||
|
|
3843a4bc93 | ||
|
|
f047b3d63f | ||
|
|
6375f2666b | ||
|
|
f71f50b817 | ||
|
|
6f70f3aeda | ||
|
|
547c30ce45 | ||
|
|
f9e36767c2 | ||
|
|
f5f8ae41ec | ||
|
|
afb1ed4aad | ||
|
|
028371c709 | ||
|
|
bf959c2ff0 | ||
|
|
cdf5877acc | ||
|
|
fb1f0f1061 | ||
|
|
fb15bd6c3b | ||
|
|
3408e27fcf | ||
|
|
c50e9ca652 | ||
|
|
02175b5f08 | ||
|
|
05a9147d52 | ||
|
|
9e2eed911f | ||
|
|
e590edfac6 | ||
|
|
52ef6badd7 | ||
|
|
db8bbfcfab | ||
|
|
f9a5225c54 | ||
|
|
71ddbf1e70 | ||
|
|
3a7dd49734 | ||
|
|
50614506f5 | ||
|
|
1f9e9d0660 | ||
|
|
746ead8751 | ||
|
|
0fe3951366 | ||
|
|
ef7aeeb07d | ||
|
|
4c7914c74b | ||
|
|
af48ac2f2a | ||
|
|
37bff52f81 | ||
|
|
85f80a1c0f | ||
|
|
8d016a5174 | ||
|
|
91afe6c2d8 | ||
|
|
f86af5e665 | ||
|
|
f41abd46c0 | ||
|
|
7666d0677b | ||
|
|
c4252b09af | ||
|
|
554e8477a8 | ||
|
|
749c780736 | ||
|
|
4b10ba1c91 | ||
|
|
2d30bb5929 | ||
|
|
33fe819922 | ||
|
|
0ff37a42a8 | ||
|
|
61160d548f | ||
|
|
1c64b508a9 | ||
|
|
ce83d3d60e | ||
|
|
8834e05b26 | ||
|
|
da95259743 | ||
|
|
637e5d9934 | ||
|
|
37d4eb8807 | ||
|
|
32e9073e7e | ||
|
|
6710cae9ef | ||
|
|
b91704a881 | ||
|
|
960c8dbc34 | ||
|
|
90e7abcebe | ||
|
|
d5a8a208a5 | ||
|
|
b29e4bf5c9 | ||
|
|
bdca8cab8b | ||
|
|
7172ccd3da | ||
|
|
11fccb0908 | ||
|
|
abea26ecbe | ||
|
|
f59625f62c | ||
|
|
f64b8659fc | ||
|
|
d71f801d16 | ||
|
|
ee42347f4f | ||
|
|
73d12ab1b1 | ||
|
|
57a4324fa0 | ||
|
|
8ed97862e5 | ||
|
|
70c274ae56 | ||
|
|
9154710de6 | ||
|
|
3ade22adf5 | ||
|
|
8b43573087 | ||
|
|
41dd838971 | ||
|
|
e36100486d | ||
|
|
52a731539e | ||
|
|
166fb69c8b | ||
|
|
7494fbf609 | ||
|
|
d3b2e49044 | ||
|
|
f0367ba52b | ||
|
|
48699597fc | ||
|
|
eedf838d1f | ||
|
|
533da21325 | ||
|
|
f8e198df0e | ||
|
|
9f4f784dbe | ||
|
|
2ad89711af | ||
|
|
50d4b1b9a8 | ||
|
|
818b99354f | ||
|
|
9c8b2ed2b9 | ||
|
|
294fab6268 | ||
|
|
18713fd757 | ||
|
|
6ad9d1ef58 | ||
|
|
57d2fc0e70 | ||
|
|
5e1720cbe6 | ||
|
|
5d35afd349 | ||
|
|
f4091ac64c | ||
|
|
2a3e8b1147 | ||
|
|
c3c0fc3f51 | ||
|
|
8c4f6e254e | ||
|
|
7700d3b8ed | ||
|
|
9ae9d32463 | ||
|
|
ed9f7923c7 | ||
|
|
4f5b7c4b4d | ||
|
|
25a92c181a | ||
|
|
cc5f6c497f | ||
|
|
e882a23f94 | ||
|
|
3237963925 | ||
|
|
7c2fc59c3b | ||
|
|
77c5642803 | ||
|
|
4a26d61008 | ||
|
|
1fc1251354 | ||
|
|
ba88fceb5b | ||
|
|
8e57a4ac61 | ||
|
|
6eea98a058 | ||
|
|
66946defa2 | ||
|
|
e0e1dd75b0 | ||
|
|
d5d23dab32 | ||
|
|
645363a9fe | ||
|
|
9cfac78996 | ||
|
|
6b927c606c | ||
|
|
fc098cc1a3 | ||
|
|
cd19062e63 | ||
|
|
8e03adfa4e | ||
|
|
412e08a73b | ||
|
|
04c0028345 | ||
|
|
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 | ||
|
|
86f27cdee1 | ||
|
|
2cfad13f51 | ||
|
|
a76fa288c9 | ||
|
|
d238a0de83 | ||
|
|
1c6b42484d | ||
|
|
5a2d54f64f | ||
|
|
74775e830d | ||
|
|
1814d6c1a5 | ||
|
|
97ef2d2985 | ||
|
|
70aa1e26e1 | ||
|
|
534adff39d | ||
|
|
51b6c6ed59 | ||
|
|
ca9e90658b |
@@ -1,10 +1,14 @@
|
|||||||
|
*.gem
|
||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
.bundle
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.jekyll-metadata
|
.jekyll-metadata
|
||||||
.sass-cache
|
.sass-cache
|
||||||
_asset_bundler_cache
|
_asset_bundler_cache
|
||||||
_site
|
_site
|
||||||
codekit-config.json
|
codekit-config.json
|
||||||
|
example/_site
|
||||||
|
Gemfile.lock
|
||||||
node_modules
|
node_modules
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
+254
-1
@@ -1,3 +1,256 @@
|
|||||||
|
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
|
||||||
|
|
||||||
|
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix overlapping sidebar navigation lists due to `max-height: 100vh`. [#668](https://github.com/mmistakes/minimal-mistakes/issues/668)
|
||||||
|
|
||||||
|
## [4.0.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.8)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Set default value for `words_per_minute`. [#657](https://github.com/mmistakes/minimal-mistakes/issues/657)
|
||||||
|
- Adjust sidebar navigation list CSS so it collapses at the correct width.
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Add Google AdSense banner to `/docs/_layouts/default.html` for demo site.
|
||||||
|
|
||||||
|
## [4.0.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.7)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add `!default` values to **_sass/_variables.scss**.
|
||||||
|
- Collapse sidebar navigation lists on smaller screens. [#607](https://github.com/mmistakes/minimal-mistakes/issues/607)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Rename `#comments` to something more unique to avoid clashes with Kramdown generated headline IDs. [#582](https://github.com/mmistakes/minimal-mistakes/issues/582)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Reorganize SCSS partials in **assets/css/main.scss**
|
||||||
|
|
||||||
|
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
|
||||||
|
- Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
|
||||||
|
- Add `rake preview` task for testing `/test` during theme development.
|
||||||
|
|
||||||
|
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Update gems: `jekyll-sitemap` (0.12), `jekyll-feed` (0.8).
|
||||||
|
- Improve next/previous pager links visibility by changing gray color to blue (`$link-color`).
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix `.sidebar` flicker/jump when hovered. [#583](https://github.com/mmistakes/minimal-mistakes/issues/583)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Move contents of `gh-pages` branch to `master` inside of the `/docs` folder.
|
||||||
|
|
||||||
|
## [4.0.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.4)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- "Gemify" theme ~> `gem "minimal-mistakes-jekyll"`
|
||||||
|
- Replace `base_path` include with `absolute_url` filter where possible.
|
||||||
|
- Allow images to be placed in other folders. Remove `/images/` only restriction and encourage placement in `/assets/images/` instead. **Full paths are now required. If upgrading from MM 3.4 add `/images/` before filenames in Front Matter and `_config.yml` variables.**
|
||||||
|
- Add [home `layout`](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/home.html)
|
||||||
|
- Added missing Turkish translations for UI text. [#621](https://github.com/mmistakes/minimal-mistakes/pull/621)
|
||||||
|
- Make author avatar optional in sidebar.
|
||||||
|
- Update **/_includes/seo.html** for meta description. [#558](https://github.com/mmistakes/minimal-mistakes/pull/558)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix navigation bar animation "flicker" in Safari [#568](https://github.com/mmistakes/minimal-mistakes/issues/568)
|
||||||
|
- Fix `author.avatar` paths for externally hosted images.
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Add documentation around `gem "minimal-mistakes-jekyll"` installation and use.
|
||||||
|
- Add note about using full image paths for eg. `assets/images/filename.jpg` (header images, overlays, galleries, feature rows, etc.) instead of assuming they will always be in `/images/`.
|
||||||
|
- Add "[Overriding Theme Defaults](https://mmistakes.github.io/minimal-mistakes/docs/overriding-theme-defaults/)" page to documentation.
|
||||||
|
|
||||||
|
## [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)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add support for configurable feed URL to use a service like FeedBurner instead of linking directly to `feed.xml` in `<head>` and the site footer. [#378](https://github.com/mmistakes/minimal-mistakes/issues/378), [#379](https://github.com/mmistakes/minimal-mistakes/pull/379), [#406](https://github.com/mmistakes/minimal-mistakes/pull/406)
|
||||||
|
- Add Turkish localized UI text. [#403](https://github.com/mmistakes/minimal-mistakes/pull/403)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Update gems: `activesupport` (4.2.7), `ffi` (1.9.14), `github-pages` (88), `jekyll-redirect-from` (0.11.0), `jekyll-watch` (1.5.0).
|
||||||
|
|
||||||
## [3.3.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.3)
|
## [3.3.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.3)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
@@ -411,4 +664,4 @@
|
|||||||
|
|
||||||
- Google Analytics, Google Authorship, webmaster verifies, and Twitter card meta are now optional.
|
- Google Analytics, Google Authorship, webmaster verifies, and Twitter card meta are now optional.
|
||||||
|
|
||||||
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
|
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
|
||||||
|
|||||||
@@ -1,5 +1,2 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
gemspec
|
||||||
gem "github-pages"
|
|
||||||
# gem "jekyll-archives"
|
|
||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
|
||||||
-135
@@ -1,135 +0,0 @@
|
|||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
activesupport (4.2.6)
|
|
||||||
i18n (~> 0.7)
|
|
||||||
json (~> 1.7, >= 1.7.7)
|
|
||||||
minitest (~> 5.1)
|
|
||||||
thread_safe (~> 0.3, >= 0.3.4)
|
|
||||||
tzinfo (~> 1.1)
|
|
||||||
addressable (2.4.0)
|
|
||||||
coffee-script (2.4.1)
|
|
||||||
coffee-script-source
|
|
||||||
execjs
|
|
||||||
coffee-script-source (1.10.0)
|
|
||||||
colorator (0.1)
|
|
||||||
ethon (0.9.0)
|
|
||||||
ffi (>= 1.3.0)
|
|
||||||
execjs (2.7.0)
|
|
||||||
faraday (0.9.2)
|
|
||||||
multipart-post (>= 1.2, < 3)
|
|
||||||
ffi (1.9.13)
|
|
||||||
ffi (1.9.13-x64-mingw32)
|
|
||||||
gemoji (2.1.0)
|
|
||||||
github-pages (86)
|
|
||||||
github-pages-health-check (= 1.1.0)
|
|
||||||
jekyll (= 3.1.6)
|
|
||||||
jekyll-coffeescript (= 1.0.1)
|
|
||||||
jekyll-feed (= 0.5.1)
|
|
||||||
jekyll-gist (= 1.4.0)
|
|
||||||
jekyll-github-metadata (= 2.0.2)
|
|
||||||
jekyll-mentions (= 1.1.3)
|
|
||||||
jekyll-paginate (= 1.1.0)
|
|
||||||
jekyll-redirect-from (= 0.10.0)
|
|
||||||
jekyll-sass-converter (= 1.3.0)
|
|
||||||
jekyll-seo-tag (= 2.0.0)
|
|
||||||
jekyll-sitemap (= 0.10.0)
|
|
||||||
jemoji (= 0.6.2)
|
|
||||||
kramdown (= 1.11.1)
|
|
||||||
liquid (= 3.0.6)
|
|
||||||
listen (= 3.0.6)
|
|
||||||
mercenary (~> 0.3)
|
|
||||||
rouge (= 1.11.1)
|
|
||||||
terminal-table (~> 1.4)
|
|
||||||
github-pages-health-check (1.1.0)
|
|
||||||
addressable (~> 2.3)
|
|
||||||
net-dns (~> 0.8)
|
|
||||||
octokit (~> 4.0)
|
|
||||||
public_suffix (~> 1.4)
|
|
||||||
typhoeus (~> 0.7)
|
|
||||||
html-pipeline (2.4.1)
|
|
||||||
activesupport (>= 2, < 5)
|
|
||||||
nokogiri (>= 1.4)
|
|
||||||
i18n (0.7.0)
|
|
||||||
jekyll (3.1.6)
|
|
||||||
colorator (~> 0.1)
|
|
||||||
jekyll-sass-converter (~> 1.0)
|
|
||||||
jekyll-watch (~> 1.1)
|
|
||||||
kramdown (~> 1.3)
|
|
||||||
liquid (~> 3.0)
|
|
||||||
mercenary (~> 0.3.3)
|
|
||||||
rouge (~> 1.7)
|
|
||||||
safe_yaml (~> 1.0)
|
|
||||||
jekyll-coffeescript (1.0.1)
|
|
||||||
coffee-script (~> 2.2)
|
|
||||||
jekyll-feed (0.5.1)
|
|
||||||
jekyll-gist (1.4.0)
|
|
||||||
octokit (~> 4.2)
|
|
||||||
jekyll-github-metadata (2.0.2)
|
|
||||||
jekyll (~> 3.1)
|
|
||||||
octokit (~> 4.0)
|
|
||||||
jekyll-mentions (1.1.3)
|
|
||||||
html-pipeline (~> 2.3)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
jekyll-paginate (1.1.0)
|
|
||||||
jekyll-redirect-from (0.10.0)
|
|
||||||
jekyll (>= 2.0)
|
|
||||||
jekyll-sass-converter (1.3.0)
|
|
||||||
sass (~> 3.2)
|
|
||||||
jekyll-seo-tag (2.0.0)
|
|
||||||
jekyll (~> 3.1)
|
|
||||||
jekyll-sitemap (0.10.0)
|
|
||||||
jekyll-watch (1.4.0)
|
|
||||||
listen (~> 3.0, < 3.1)
|
|
||||||
jemoji (0.6.2)
|
|
||||||
gemoji (~> 2.0)
|
|
||||||
html-pipeline (~> 2.2)
|
|
||||||
jekyll (>= 3.0)
|
|
||||||
json (1.8.3)
|
|
||||||
kramdown (1.11.1)
|
|
||||||
liquid (3.0.6)
|
|
||||||
listen (3.0.6)
|
|
||||||
rb-fsevent (>= 0.9.3)
|
|
||||||
rb-inotify (>= 0.9.7)
|
|
||||||
mercenary (0.3.6)
|
|
||||||
mini_portile2 (2.1.0)
|
|
||||||
minitest (5.9.0)
|
|
||||||
multipart-post (2.0.0)
|
|
||||||
net-dns (0.8.0)
|
|
||||||
nokogiri (1.6.8)
|
|
||||||
mini_portile2 (~> 2.1.0)
|
|
||||||
pkg-config (~> 1.1.7)
|
|
||||||
nokogiri (1.6.8-x64-mingw32)
|
|
||||||
mini_portile2 (~> 2.1.0)
|
|
||||||
pkg-config (~> 1.1.7)
|
|
||||||
octokit (4.3.0)
|
|
||||||
sawyer (~> 0.7.0, >= 0.5.3)
|
|
||||||
pkg-config (1.1.7)
|
|
||||||
public_suffix (1.5.3)
|
|
||||||
rb-fsevent (0.9.7)
|
|
||||||
rb-inotify (0.9.7)
|
|
||||||
ffi (>= 0.5.0)
|
|
||||||
rouge (1.11.1)
|
|
||||||
safe_yaml (1.0.4)
|
|
||||||
sass (3.4.22)
|
|
||||||
sawyer (0.7.0)
|
|
||||||
addressable (>= 2.3.5, < 2.5)
|
|
||||||
faraday (~> 0.8, < 0.10)
|
|
||||||
terminal-table (1.6.0)
|
|
||||||
thread_safe (0.3.5)
|
|
||||||
typhoeus (0.8.0)
|
|
||||||
ethon (>= 0.8.0)
|
|
||||||
tzinfo (1.2.2)
|
|
||||||
thread_safe (~> 0.1)
|
|
||||||
wdm (0.1.1)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
ruby
|
|
||||||
x64-mingw32
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
github-pages
|
|
||||||
wdm (~> 0.1.0)
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
1.12.5
|
|
||||||
@@ -1,28 +1,33 @@
|
|||||||
# Minimal Mistakes Jekyll Theme
|
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
|
[](https://github.com/mmistakes/minimal-mistakes/releases) [](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
|
See what's new in the [CHANGELOG](CHANGELOG.md).
|
||||||
|
|
||||||
|
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
|
||||||
|
|
||||||
[![Minimal Mistakes live preview][2]][1]
|
[![Minimal Mistakes live preview][2]][1]
|
||||||
|
|
||||||
[1]: https://mmistakes.github.io/minimal-mistakes/
|
[1]: https://mmistakes.github.io/minimal-mistakes/
|
||||||
[2]: images/mm-browser-mockups.png (live preview)
|
[2]: screenshot.png (live preview)
|
||||||
|
|
||||||
The theme includes responsive layouts (`single`, `archive`, and `splash` pages) that look great on mobile and desktop browsers.
|

|
||||||
|
|
||||||

|
## Notable Features
|
||||||
|
|
||||||
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
|
|
||||||
|
|
||||||
### Notable Features
|
|
||||||
|
|
||||||
|
- "Gemified" for easier install/upgrading
|
||||||
- Compatible with Jekyll 3.x and GitHub Pages
|
- Compatible with Jekyll 3.x and GitHub Pages
|
||||||
- Several layout options (single, archive, splash pages)
|
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
||||||
|
- Several responsive layout options (single, archive index, splash, and paginated home page)
|
||||||
- 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](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
|
- Commenting support (powered by [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).
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
|
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Spanish, and Turkish
|
||||||
|
|
||||||
#### Demo Pages
|
## Demo Pages
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ------------------------------------------- | ----------------------------------------------------- |
|
| ------------------------------------------- | ----------------------------------------------------- |
|
||||||
@@ -34,7 +39,7 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
|
|||||||
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
||||||
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
||||||
|
|
||||||
For even more demo pages check the [posts archive][year-archive].
|
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
||||||
|
|
||||||
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
|
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
|
||||||
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
|
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
|
||||||
@@ -45,6 +50,34 @@ For even more demo pages check the [posts archive][year-archive].
|
|||||||
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
||||||
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
||||||
|
|
||||||
|
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
Add this line to your Jekyll site's `Gemfile`:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
gem "minimal-mistakes-jekyll"
|
||||||
|
```
|
||||||
|
|
||||||
|
Add this line to your Jekyll site's `_config.yml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
theme: minimal-mistakes-jekyll
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run Bundler to install the theme gem and dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bundle install
|
||||||
|
```
|
||||||
|
|
||||||
|
To update the theme run `bundle update`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
@@ -59,10 +92,26 @@ This goes for author sidebar links and "share button" additions -- I have no int
|
|||||||
|
|
||||||
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
|
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
|
||||||
|
|
||||||
|
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
To set up your environment to develop this theme, run `bundle install`.
|
||||||
|
|
||||||
|
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
### Creator
|
||||||
|
|
||||||
|
**Michael Rose**
|
||||||
|
|
||||||
|
- <https://mademistakes.com>
|
||||||
|
- <https://twitter.com/mmistakes>
|
||||||
|
- <https://github.com/mmistakes>
|
||||||
|
|
||||||
### Icons + Demo Images:
|
### Icons + Demo Images:
|
||||||
|
|
||||||
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
||||||
|
|||||||
@@ -0,0 +1,75 @@
|
|||||||
|
require "bundler/gem_tasks"
|
||||||
|
require "jekyll"
|
||||||
|
require "listen"
|
||||||
|
|
||||||
|
def listen_ignore_paths(base, options)
|
||||||
|
[
|
||||||
|
/_config\.ya?ml/,
|
||||||
|
/_site/,
|
||||||
|
/\.jekyll-metadata/
|
||||||
|
]
|
||||||
|
end
|
||||||
|
|
||||||
|
def listen_handler(base, options)
|
||||||
|
site = Jekyll::Site.new(options)
|
||||||
|
Jekyll::Command.process_site(site)
|
||||||
|
proc do |modified, added, removed|
|
||||||
|
t = Time.now
|
||||||
|
c = modified + added + removed
|
||||||
|
n = c.length
|
||||||
|
relative_paths = c.map{ |p| Pathname.new(p).relative_path_from(base).to_s }
|
||||||
|
print Jekyll.logger.message("Regenerating:", "#{relative_paths.join(", ")} changed... ")
|
||||||
|
begin
|
||||||
|
Jekyll::Command.process_site(site)
|
||||||
|
puts "regenerated in #{Time.now - t} seconds."
|
||||||
|
rescue => e
|
||||||
|
puts "error:"
|
||||||
|
Jekyll.logger.warn "Error:", e.message
|
||||||
|
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
task :preview do
|
||||||
|
base = Pathname.new('.').expand_path
|
||||||
|
options = {
|
||||||
|
"source" => base.join('test').to_s,
|
||||||
|
"destination" => base.join('test/_site').to_s,
|
||||||
|
"force_polling" => false,
|
||||||
|
"serving" => true,
|
||||||
|
"theme" => "minimal-mistakes-jekyll"
|
||||||
|
}
|
||||||
|
|
||||||
|
options = Jekyll.configuration(options)
|
||||||
|
|
||||||
|
ENV["LISTEN_GEM_DEBUGGING"] = "1"
|
||||||
|
listener = Listen.to(
|
||||||
|
base.join("_includes"),
|
||||||
|
base.join("_layouts"),
|
||||||
|
base.join("_sass"),
|
||||||
|
base.join("assets"),
|
||||||
|
options["source"],
|
||||||
|
:ignore => listen_ignore_paths(base, options),
|
||||||
|
:force_polling => options['force_polling'],
|
||||||
|
&(listen_handler(base, options))
|
||||||
|
)
|
||||||
|
|
||||||
|
begin
|
||||||
|
listener.start
|
||||||
|
Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options["source"]}'"
|
||||||
|
|
||||||
|
unless options['serving']
|
||||||
|
trap("INT") do
|
||||||
|
listener.stop
|
||||||
|
puts " Halting auto-regeneration."
|
||||||
|
exit 0
|
||||||
|
end
|
||||||
|
|
||||||
|
loop { sleep 1000 }
|
||||||
|
end
|
||||||
|
rescue ThreadError
|
||||||
|
# You pressed Ctrl-C, oh my!
|
||||||
|
end
|
||||||
|
|
||||||
|
Jekyll::Commands::Serve.process(options)
|
||||||
|
end
|
||||||
+47
-9
@@ -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 : # path of fallback teaser image, e.g. "/assets/images/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,24 @@ 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"
|
||||||
|
commitMessage : "New comment."
|
||||||
|
filename : comment-{@timestamp}
|
||||||
|
format : "yml"
|
||||||
|
moderation : true
|
||||||
|
path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default)
|
||||||
|
requiredFields : ['name', 'email', 'message']
|
||||||
|
transforms:
|
||||||
|
email : "md5"
|
||||||
|
generatedFields:
|
||||||
|
date:
|
||||||
|
type : "date"
|
||||||
|
options:
|
||||||
|
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
||||||
|
atom_feed:
|
||||||
|
path : # blank (default) uses feed.xml
|
||||||
|
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
@@ -56,15 +74,11 @@ analytics:
|
|||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
|
|
||||||
# Google AdSense
|
|
||||||
google_ad_client :
|
|
||||||
google_ad_slot :
|
|
||||||
|
|
||||||
|
|
||||||
# Site Author
|
# Site Author
|
||||||
author:
|
author:
|
||||||
name : "Your Name"
|
name : "Your Name"
|
||||||
avatar : "bio-photo.jpg"
|
avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
|
||||||
bio : "I am an amazing person."
|
bio : "I am an amazing person."
|
||||||
location : "Somewhere"
|
location : "Somewhere"
|
||||||
email :
|
email :
|
||||||
@@ -83,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 :
|
||||||
@@ -100,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
|
||||||
@@ -120,6 +135,8 @@ exclude:
|
|||||||
- Rakefile
|
- Rakefile
|
||||||
- README
|
- README
|
||||||
- tmp
|
- tmp
|
||||||
|
- /docs # ignore Minimal Mistakes /docs
|
||||||
|
- /test # ignore Minimal Mistakes /test
|
||||||
keep_files:
|
keep_files:
|
||||||
- .git
|
- .git
|
||||||
- .svn
|
- .svn
|
||||||
@@ -147,6 +164,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
|
||||||
@@ -206,3 +229,18 @@ compress_html:
|
|||||||
clippings: all
|
clippings: all
|
||||||
ignore:
|
ignore:
|
||||||
envs: development
|
envs: development
|
||||||
|
|
||||||
|
|
||||||
|
# Defaults
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
read_time: true
|
||||||
|
comments: # true
|
||||||
|
share: true
|
||||||
|
related: true
|
||||||
+11
-6
@@ -1,7 +1,12 @@
|
|||||||
# main links links
|
# main links
|
||||||
main:
|
main:
|
||||||
- title: "Sample Navigation Link"
|
- title: "Quick-Start Guide"
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/docs/navigation/
|
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
||||||
|
# - title: "About"
|
||||||
- title: "Sample Navigation Link 2"
|
# url: https://mmistakes.github.io/minimal-mistakes/about/
|
||||||
url: /
|
# - title: "Sample Posts"
|
||||||
|
# url: /year-archive/
|
||||||
|
# - title: "Sample Collections"
|
||||||
|
# url: /collection-archive/
|
||||||
|
# - title: "Sitemap"
|
||||||
|
# url: /sitemap/
|
||||||
+382
-72
@@ -3,30 +3,43 @@
|
|||||||
# 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"
|
menu_label : "Toggle Menu"
|
||||||
ext_link_label : "Direct Link"
|
toc_label : "On This Page"
|
||||||
less_than : "less than"
|
ext_link_label : "Direct Link"
|
||||||
minute_read : "minute read"
|
less_than : "less than"
|
||||||
share_on_label : "Share on"
|
minute_read : "minute read"
|
||||||
meta_label :
|
share_on_label : "Share on"
|
||||||
tags_label : "Tags:"
|
meta_label :
|
||||||
categories_label : "Categories:"
|
tags_label : "Tags:"
|
||||||
date_label : "Updated:"
|
categories_label : "Categories:"
|
||||||
comments_label : "Leave a Comment"
|
date_label : "Updated:"
|
||||||
more_label : "Learn More"
|
comments_label : "Leave a Comment"
|
||||||
related_label : "You May Also Enjoy"
|
comments_title : "Comments"
|
||||||
follow_label : "Follow:"
|
more_label : "Learn More"
|
||||||
feed_label : "Feed"
|
related_label : "You May Also Enjoy"
|
||||||
powered_by : "Powered by"
|
follow_label : "Follow:"
|
||||||
website_label : "Website"
|
feed_label : "Feed"
|
||||||
email_label : "Email"
|
powered_by : "Powered by"
|
||||||
recent_posts : "Recent Posts"
|
website_label : "Website"
|
||||||
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
email_label : "Email"
|
||||||
|
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 +52,43 @@ 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"
|
menu_label :
|
||||||
ext_link_label : "Enlace"
|
toc_label : "Contenidos"
|
||||||
less_than : "menos de"
|
ext_link_label : "Enlace"
|
||||||
minute_read : "minuto de lectura"
|
less_than : "menos de"
|
||||||
share_on_label : "Compartir"
|
minute_read : "minuto de lectura"
|
||||||
meta_label :
|
share_on_label : "Compartir"
|
||||||
tags_label : "Etiquetas:"
|
meta_label :
|
||||||
categories_label : "Categorías:"
|
tags_label : "Etiquetas:"
|
||||||
date_label : "Actualizado:"
|
categories_label : "Categorías:"
|
||||||
comments_label : "Comentar"
|
date_label : "Actualizado:"
|
||||||
more_label : "Ver más"
|
comments_label : "Comentar"
|
||||||
related_label : "Podrías ver también"
|
comments_title :
|
||||||
follow_label : "Seguir:"
|
more_label : "Ver más"
|
||||||
feed_label : "Feed"
|
related_label : "Podrías ver también"
|
||||||
powered_by : "Powered by"
|
follow_label : "Seguir:"
|
||||||
website_label : "Sitio web"
|
feed_label : "Feed"
|
||||||
email_label : "Email"
|
powered_by : "Powered by"
|
||||||
recent_posts : "Entradas recientes"
|
website_label : "Sitio web"
|
||||||
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
|
email_label : "Email"
|
||||||
|
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 +97,44 @@ 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"
|
menu_label :
|
||||||
ext_link_label : "Lien direct"
|
toc_label : "Sur cette page"
|
||||||
less_than : "plus petit que"
|
ext_link_label : "Lien direct"
|
||||||
minute_read : "minute de lecture"
|
less_than : "moins de"
|
||||||
share_on_label : "Partager sur"
|
minute_read : "minute de lecture"
|
||||||
meta_label :
|
share_on_label : "Partager sur"
|
||||||
tags_label : "Tags :"
|
meta_label :
|
||||||
categories_label : "Catégories :"
|
tags_label : "Tags :"
|
||||||
date_label : "Mis à jour :"
|
categories_label : "Catégories :"
|
||||||
comments_label : "Laisser un commentaire"
|
date_label : "Mis à jour :"
|
||||||
more_label : "Lire plus"
|
comments_label : "Laisser un commentaire"
|
||||||
related_label : "Vous pourriez aimer"
|
comments_title :
|
||||||
follow_label : "Suivez moi"
|
more_label : "Lire plus"
|
||||||
feed_label : "Flux"
|
related_label : "Vous pourriez aimer aussi"
|
||||||
powered_by : "Propulsé par"
|
follow_label : "Contact"
|
||||||
website_label : "Site"
|
feed_label : "Flux"
|
||||||
email_label : "Email"
|
powered_by : "Propulsé par"
|
||||||
recent_posts : "Posts récents"
|
website_label : "Site"
|
||||||
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
|
email_label : "Email"
|
||||||
|
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 commentaire, 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:
|
||||||
@@ -102,5 +142,275 @@ fr-BE:
|
|||||||
fr-CH:
|
fr-CH:
|
||||||
<<: *DEFAULT_FR
|
<<: *DEFAULT_FR
|
||||||
|
|
||||||
|
# Turkish
|
||||||
|
# -----------------
|
||||||
|
tr: &DEFAULT_TR
|
||||||
|
page : "Sayfa"
|
||||||
|
pagination_previous : "Önceki"
|
||||||
|
pagination_next : "Sonraki"
|
||||||
|
breadcrumb_home_label : "Ana Sayfa"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
|
toc_label : "İçindekiler"
|
||||||
|
ext_link_label : "Doğrudan Bağlantı"
|
||||||
|
less_than : "Şu süreden az: "
|
||||||
|
minute_read : "dakika tahmini okuma süresi"
|
||||||
|
share_on_label : "Paylaş"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Etiketler:"
|
||||||
|
categories_label : "Kategoriler:"
|
||||||
|
date_label : "Güncelleme tarihi:"
|
||||||
|
comments_label : "Yorum yapın"
|
||||||
|
comments_title : "Yorumlar"
|
||||||
|
more_label : "Daha fazlasını öğrenin"
|
||||||
|
related_label : "Bunlar ilginizi çekebilir:"
|
||||||
|
follow_label : "Takip et:"
|
||||||
|
feed_label : "RSS"
|
||||||
|
powered_by : "Emeği geçenler: "
|
||||||
|
website_label : "Web sayfası"
|
||||||
|
email_label : "E-posta"
|
||||||
|
recent_posts : "Son yazılar"
|
||||||
|
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
||||||
|
comment_form_info : "Email adresiniz gösterilmeyecektir. Zorunlu alanlar işaretlenmiştir"
|
||||||
|
comment_form_comment_label : "Yorumunuz"
|
||||||
|
comment_form_md_info : "Markdown desteklenmektedir."
|
||||||
|
comment_form_name_label : "Adınız"
|
||||||
|
comment_form_email_label : "Email adresiniz"
|
||||||
|
comment_form_website_label : "Websiteniz (opsiyonel)"
|
||||||
|
comment_btn_submit : "Yorum Yap"
|
||||||
|
comment_btn_submitted : "Gönderildi"
|
||||||
|
comment_success_msg : "Yorumunuz için teşekkürler! Yorumunuz onaylandıktan sonra sitede gösterilecektir."
|
||||||
|
comment_error_msg : "Maalesef bir hata oluştu. Lütfen zorunlu olan tüm alanları doldurduğunuzdan emin olun ve sonrasında tekrar deneyin."
|
||||||
|
loading_label : "Yükleniyor..."
|
||||||
|
tr-TR:
|
||||||
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
|
# Portuguese
|
||||||
|
# -----------------
|
||||||
|
pt: &DEFAULT_PT
|
||||||
|
page : "Página"
|
||||||
|
pagination_previous : "Anterior"
|
||||||
|
pagination_next : "Seguinte"
|
||||||
|
breadcrumb_home_label : "Início"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
|
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 : "/"
|
||||||
|
menu_label :
|
||||||
|
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 : "/"
|
||||||
|
menu_label :
|
||||||
|
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 : "/"
|
||||||
|
menu_label :
|
||||||
|
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
|
||||||
|
|
||||||
|
# German / Deutsch
|
||||||
|
# -----------------
|
||||||
|
de: &DEFAULT_DE
|
||||||
|
page : "Seite"
|
||||||
|
pagination_previous : "Vorherige"
|
||||||
|
pagination_next : "Nächste"
|
||||||
|
breadcrumb_home_label : "Home"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
|
toc_label : "Auf dieser Seite"
|
||||||
|
ext_link_label : "Direkter Link"
|
||||||
|
less_than : "weniger als"
|
||||||
|
minute_read : "Minuten zum lesen"
|
||||||
|
share_on_label : "Teilen auf"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tags:"
|
||||||
|
categories_label : "Kategorien:"
|
||||||
|
date_label : "Aktualisiert:"
|
||||||
|
comments_label : "Hinterlassen sie einen Kommentar"
|
||||||
|
comments_title : "Kommentare"
|
||||||
|
more_label : "Mehr anzeigen"
|
||||||
|
related_label : "Ihnen gefällt vielleicht auch"
|
||||||
|
follow_label : "Folgen:"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "Webseite"
|
||||||
|
email_label : "E-Mail"
|
||||||
|
recent_posts : "Aktuelle Beiträge"
|
||||||
|
undefined_wpm : "Undefinierter Parameter words_per_minute in _config.yml"
|
||||||
|
comment_form_info : "Ihre E-Mail Adresse wird nicht veröffentlicht. Benötigte Felder sind markiert"
|
||||||
|
comment_form_comment_label : "Kommentar"
|
||||||
|
comment_form_md_info : "Markdown wird unterstützt."
|
||||||
|
comment_form_name_label : "Name"
|
||||||
|
comment_form_email_label : "E-Mail Addresse"
|
||||||
|
comment_form_website_label : "Webseite (optional)"
|
||||||
|
comment_btn_submit : "Kommentar absenden"
|
||||||
|
comment_btn_submitted : "Versendet"
|
||||||
|
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
|
||||||
|
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut."
|
||||||
|
loading_label : "Lade..."
|
||||||
|
de-DE:
|
||||||
|
<<: *DEFAULT_DE
|
||||||
|
de-AT:
|
||||||
|
<<: *DEFAULT_DE
|
||||||
|
de-CH:
|
||||||
|
<<: *DEFAULT_DE
|
||||||
|
de-BE:
|
||||||
|
<<: *DEFAULT_DE
|
||||||
|
de-LI:
|
||||||
|
<<: *DEFAULT_DE
|
||||||
|
de-LU:
|
||||||
|
<<: *DEFAULT_DE
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% 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,22 +12,22 @@
|
|||||||
|
|
||||||
<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 "://" %}
|
||||||
"{{ teaser }}"
|
"{{ teaser }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
|
"{{ teaser | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="">
|
alt="">
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 class="archive__item-title" itemprop="headline">
|
<h2 class="archive__item-title" itemprop="headline">
|
||||||
{% if post.link %}
|
{% if post.link %}
|
||||||
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ base_path }}{{ post.url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ base_path }}{{ post.url }}" rel="permalink">{{ title }}</a>
|
<a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
{% if post.read_time %}
|
{% if post.read_time %}
|
||||||
|
|||||||
+128
-39
@@ -1,101 +1,190 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if page.author and site.data.authors[page.author] %}
|
{% if page.author and site.data.authors[page.author] %}
|
||||||
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
|
{% assign author = site.data.authors[page.author] %}
|
||||||
|
{% else %}
|
||||||
|
{% assign author = site.author %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div itemscope itemtype="http://schema.org/Person">
|
<div itemscope itemtype="http://schema.org/Person">
|
||||||
|
|
||||||
<div class="author__avatar">
|
{% if author.avatar %}
|
||||||
{% if author.avatar contains "://" %}
|
<div class="author__avatar">
|
||||||
<img src="{{ author.avatar }}" alt="{{ author.name }}">
|
{% if author.avatar contains "://" %}
|
||||||
{% else %}
|
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
|
||||||
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
|
{% else %}
|
||||||
|
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<div class="author__content">
|
||||||
|
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
||||||
|
{% if author.bio %}
|
||||||
|
<p class="author__bio" itemprop="description">
|
||||||
|
{{ author.bio }}
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="author__content">
|
|
||||||
<h3 class="author__name">{{ author.name }}</h3>
|
|
||||||
{% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %}
|
|
||||||
</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 itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
|
||||||
|
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i>
|
||||||
|
<span itemprop="name"> {{ author.location }} </span>
|
||||||
|
</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 }}" itemprop="url">
|
||||||
|
<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>
|
||||||
|
<meta itemprop="email" content="{{ author.email }}" />
|
||||||
|
{{ 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 }} " itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-key" aria-hidden="true"></i>
|
||||||
|
Keybase
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.twitter %}
|
{% if author.twitter %}
|
||||||
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
|
<li><a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i>
|
||||||
|
Twitter
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.facebook %}
|
{% if author.facebook %}
|
||||||
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
|
<li><a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i>
|
||||||
|
Facebook
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.google_plus %}
|
{% if author.google_plus %}
|
||||||
<li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li>
|
<li><a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i>
|
||||||
|
Google+
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.linkedin %}
|
{% if author.linkedin %}
|
||||||
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li>
|
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i>
|
||||||
|
LinkedIn
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.xing %}
|
{% if author.xing %}
|
||||||
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li>
|
<li><a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i>
|
||||||
|
XING
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.instagram %}
|
{% if author.instagram %}
|
||||||
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
|
<li><a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i>
|
||||||
|
Instagram
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.tumblr %}
|
{% if author.tumblr %}
|
||||||
<li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li>
|
<li><a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i>
|
||||||
|
Tumblr
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.bitbucket %}
|
{% if author.bitbucket %}
|
||||||
<li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
<li><a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i>
|
||||||
|
Bitbucket
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.github %}
|
{% if author.github %}
|
||||||
<li><a href="https://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li>
|
<li><a href="https://github.com/{{ author.github }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-github" aria-hidden="true"></i>
|
||||||
|
Github
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.stackoverflow %}
|
{% if author.stackoverflow %}
|
||||||
<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 }}" itemprop="sameAs">
|
||||||
|
<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 }}" itemprop="sameAs">
|
||||||
|
<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 }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i>
|
||||||
|
Dribbble
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.pinterest %}
|
{% if author.pinterest %}
|
||||||
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
|
<li><a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i>
|
||||||
|
Pinterest
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.foursquare %}
|
{% if author.foursquare %}
|
||||||
<li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li>
|
<li><a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i>
|
||||||
|
Foursquare
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.steam %}
|
{% if author.steam %}
|
||||||
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li>
|
<li><a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i>
|
||||||
|
Steam
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.youtube %}
|
{% if author.youtube %}
|
||||||
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube</a></li>
|
<li><a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i>
|
||||||
|
YouTube
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.soundcloud %}
|
{% if author.soundcloud %}
|
||||||
<li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li>
|
<li><a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i>
|
||||||
|
Soundcloud
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.weibo %}
|
{% if author.weibo %}
|
||||||
<li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
|
<li><a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i>
|
||||||
|
Weibo
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.flickr %}
|
{% if author.flickr %}
|
||||||
<li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
|
<li><a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i>
|
||||||
|
Flickr
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.codepen %}
|
{% if author.codepen %}
|
||||||
<li><a href="https://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
|
<li><a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i>
|
||||||
|
CodePen
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.vine %}
|
{% if author.vine %}
|
||||||
<li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li>
|
<li><a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-vine" aria-hidden="true"></i>
|
||||||
|
Vine
|
||||||
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+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 %}
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% case site.categories.type %}
|
{% case site.categories.type %}
|
||||||
{% when "liquid" %}
|
{% when "liquid" %}
|
||||||
{% assign path_type = "#" %}
|
{% assign path_type = "#" %}
|
||||||
@@ -21,20 +19,20 @@
|
|||||||
{% 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="{{ site.url }}{{ site.baseurl }}/" 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>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign i = i | plus: 1 %}
|
{% assign i = i | plus: 1 %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||||
<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="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | absolute_url }}" 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,3 @@
|
|||||||
{% 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,12 +14,12 @@
|
|||||||
{% 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: '#' %}
|
||||||
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
||||||
<a href="{{ base_path }}{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -0,0 +1,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>
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
{% if site.comments.discourse.server %}
|
{% if site.comments.discourse.server %}
|
||||||
{% include base_path %}
|
{% capture canonical %}{% if site.permalink contains '.html' %}{{ page.url | absolute_url }}{% else %}{{ page.url | absolute_url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
||||||
{% capture canonical %}{{ base_path }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
|
DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
|
||||||
discourseEmbedUrl: '{{ canonical }}' };
|
discourseEmbedUrl: '{{ canonical }}' };
|
||||||
|
|||||||
@@ -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 %}
|
||||||
+71
-6
@@ -1,15 +1,80 @@
|
|||||||
{% 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" %}
|
||||||
<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>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
|
<section class="fb-comments" data-href="{{ page.url | absolute_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" %}
|
||||||
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
|
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
||||||
|
{% when "staticman" %}
|
||||||
|
<section id="static-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="custom-comments"></section>
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
</div>
|
</div>
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if include.id %}
|
{% if include.id %}
|
||||||
{% assign feature_row = page.[include.id] %}
|
{% assign feature_row = page.[include.id] %}
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -13,7 +11,7 @@
|
|||||||
{% if f.url contains "://" %}
|
{% if f.url contains "://" %}
|
||||||
{% capture f_url %}{{ f.url }}{% endcapture %}
|
{% capture f_url %}{{ f.url }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture f_url %}{{ f.url | prepend: base_path }}{% endcapture %}
|
{% capture f_url %}{{ f.url | absolute_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
|
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
|
||||||
@@ -24,7 +22,7 @@
|
|||||||
{% if f.image_path contains "://" %}
|
{% if f.image_path contains "://" %}
|
||||||
"{{ f.image_path }}"
|
"{{ f.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ f.image_path | prepend: "/images/" | prepend: base_path }}"
|
"{{ f.image_path | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
||||||
</div>
|
</div>
|
||||||
@@ -42,7 +40,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>
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<figure class="{{ include.class }}">
|
||||||
|
<img src=
|
||||||
|
{% if include.image_path contains "://" %}
|
||||||
|
"{{ include.image_path }}"
|
||||||
|
{% else %}
|
||||||
|
"{{ include.image_path | absolute_url }}"
|
||||||
|
{% endif %}
|
||||||
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
||||||
|
{% if include.caption %}
|
||||||
|
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
|
||||||
|
{% endif %}
|
||||||
|
</figure>
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<div class="page__footer-follow">
|
<div class="page__footer-follow">
|
||||||
<ul class="social-icons">
|
<ul class="social-icons">
|
||||||
{% if site.data.ui-text[site.locale].follow_label %}
|
{% if site.data.ui-text[site.locale].follow_label %}
|
||||||
@@ -17,8 +15,8 @@
|
|||||||
{% if site.author.bitbucket %}
|
{% if site.author.bitbucket %}
|
||||||
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li>
|
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% 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>
|
||||||
+3
-5
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if include.id %}
|
{% if include.id %}
|
||||||
{% assign gallery = page.[include.id] %}
|
{% assign gallery = page.[include.id] %}
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -21,7 +19,7 @@
|
|||||||
{% if img.url contains "://" %}
|
{% if img.url contains "://" %}
|
||||||
"{{ img.url }}"
|
"{{ img.url }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ img.url | prepend: "/images/" | prepend: base_path }}"
|
"{{ img.url | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if img.title %}title="{{ img.title }}"{% endif %}
|
{% if img.title %}title="{{ img.title }}"{% endif %}
|
||||||
>
|
>
|
||||||
@@ -29,7 +27,7 @@
|
|||||||
{% if img.image_path contains "://" %}
|
{% if img.image_path contains "://" %}
|
||||||
"{{ img.image_path }}"
|
"{{ img.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
|
"{{ img.image_path | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
</a>
|
</a>
|
||||||
@@ -38,7 +36,7 @@
|
|||||||
{% if img.image_path contains "://" %}
|
{% if img.image_path contains "://" %}
|
||||||
"{{ img.image_path }}"
|
"{{ img.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
|
"{{ img.image_path | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
+2
-4
@@ -1,10 +1,8 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
|
|
||||||
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||||
|
|
||||||
<!-- http://t.co/dKP3o1e -->
|
<!-- http://t.co/dKP3o1e -->
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
@@ -16,6 +14,6 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- For all browsers -->
|
<!-- For all browsers -->
|
||||||
<link rel="stylesheet" href="{{ base_path }}/assets/css/main.css">
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
|
||||||
|
|
||||||
<meta http-equiv="cleartype" content="on">
|
<meta http-equiv="cleartype" content="on">
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<div class="masthead">
|
<div class="masthead">
|
||||||
<div class="masthead__inner-wrap">
|
<div class="masthead__inner-wrap">
|
||||||
<div class="masthead__menu">
|
<div class="masthead__menu">
|
||||||
<nav id="site-nav" class="greedy-nav">
|
<nav id="site-nav" class="greedy-nav">
|
||||||
<button><div class="navicon"></div></button>
|
<button><div class="navicon"></div></button>
|
||||||
<ul class="visible-links">
|
<ul class="visible-links">
|
||||||
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ base_path }}/">{{ site.title }}</a></li>
|
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></li>
|
||||||
{% for link in site.data.navigation.main %}
|
{% for link in site.data.navigation.main %}
|
||||||
{% if link.url contains 'http' %}
|
{% if link.url contains 'http' %}
|
||||||
{% assign domain = '' %}
|
{% assign domain = '' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign domain = base_path %}
|
{% assign domain = site.url | append: site.baseurl %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
+9
-8
@@ -1,17 +1,18 @@
|
|||||||
{% include base_path %}
|
|
||||||
{% assign navigation = site.data.navigation[include.nav] %}
|
{% assign navigation = site.data.navigation[include.nav] %}
|
||||||
|
|
||||||
<nav class="nav__list">
|
<nav class="nav__list">
|
||||||
{% if page.sidebar.title %}<header><h4 class="nav__title" style="padding: 0;">{{ page.sidebar.title }}</h4></header>{% endif %}
|
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
|
||||||
<ul>
|
<input id="ac-toc" name="accordion-toc" type="checkbox" />
|
||||||
|
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
|
||||||
|
<ul class="nav__items">
|
||||||
{% for nav in navigation %}
|
{% for nav in navigation %}
|
||||||
<li>
|
<li>
|
||||||
{% if nav.url %}
|
{% if nav.url %}
|
||||||
{% comment %}internal/external URL check{% endcomment %}
|
{% comment %} internal/external URL check {% endcomment %}
|
||||||
{% if nav.url contains "://" %}
|
{% if nav.url contains "://" %}
|
||||||
{% assign domain = "" %}
|
{% assign domain = "" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign domain = base_path %}
|
{% assign domain = site.url | append: site.baseurl %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
<a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
||||||
@@ -22,14 +23,14 @@
|
|||||||
{% if nav.children != null %}
|
{% if nav.children != null %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for child in nav.children %}
|
{% for child in nav.children %}
|
||||||
{% comment %}internal/external URL check{% endcomment %}
|
{% comment %} internal/external URL check {% endcomment %}
|
||||||
{% if child.url contains "://" %}
|
{% if child.url contains "://" %}
|
||||||
{% assign domain = "" %}
|
{% assign domain = "" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign domain = base_path %}
|
{% assign domain = site.url | append: site.baseurl %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% comment %}set "active" class on current page{% endcomment %}
|
{% comment %} set "active" class on current page {% endcomment %}
|
||||||
{% if child.url == page.url %}
|
{% if child.url == page.url %}
|
||||||
{% assign active = "active" %}
|
{% assign active = "active" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -1,21 +1,19 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if page.header.image contains "://" %}
|
{% if page.header.image contains "://" %}
|
||||||
{% capture img_path %}{{ page.header.image }}{% endcapture %}
|
{% capture img_path %}{{ page.header.image }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture img_path %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
|
{% capture img_path %}{{ page.header.image | absolute_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.cta_url contains "://" %}
|
{% if page.header.cta_url contains "://" %}
|
||||||
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
|
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture cta_path %}{{ page.header.cta_url | prepend: base_path }}{% endcapture %}
|
{% capture cta_path %}{{ page.header.cta_url | absolute_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.overlay_image contains "://" %}
|
{% if page.header.overlay_image contains "://" %}
|
||||||
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
|
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
|
||||||
{% elsif page.header.overlay_image %}
|
{% elsif page.header.overlay_image %}
|
||||||
{% capture overlay_img_path %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
|
{% capture overlay_img_path %}{{ page.header.overlay_image | absolute_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.overlay_filter contains "rgba" %}
|
{% if page.header.overlay_filter contains "rgba" %}
|
||||||
@@ -31,7 +29,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 +41,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 %}
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if site.tag_archive.type and page.tags[0] %}
|
{% if site.tag_archive.type and page.tags[0] %}
|
||||||
{% include tag-list.html %}
|
{% include tag-list.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,24 +1,22 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
<ul>
|
<ul>
|
||||||
{% 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="{{ '/' | absolute_url }}">{{ 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="{{ '/page' | absolute_url }}{{ paginator.previous_page | append: '/' }}">{{ 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 %}
|
||||||
{% if paginator.page == 1 %}
|
{% if paginator.page == 1 %}
|
||||||
<li><a href="#" class="disabled current">1</a></li>
|
<li><a href="#" class="disabled current">1</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ base_path }}/">1</a></li>
|
<li><a href="{{ '/' | absolute_url }}">1</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% assign page_start = 2 %}
|
{% assign page_start = 2 %}
|
||||||
@@ -36,7 +34,7 @@
|
|||||||
|
|
||||||
{% for index in (page_start..page_end) %}
|
{% for index in (page_start..page_end) %}
|
||||||
{% if index == paginator.page %}
|
{% if index == paginator.page %}
|
||||||
<li><a href="{{ base_path }}/page{{ index }}/" class="disabled current">{{ index }}</a></li>
|
<li><a href="{{ '/page' | absolute_url }}{{ index | append: '/' }}" class="disabled current">{{ index }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% comment %} Distance from current page and this link {% endcomment %}
|
{% comment %} Distance from current page and this link {% endcomment %}
|
||||||
{% assign dist = paginator.page | minus: index %}
|
{% assign dist = paginator.page | minus: index %}
|
||||||
@@ -44,7 +42,7 @@
|
|||||||
{% comment %} Distance must be a positive value {% endcomment %}
|
{% comment %} Distance must be a positive value {% endcomment %}
|
||||||
{% assign dist = 0 | minus: dist %}
|
{% assign dist = 0 | minus: dist %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ base_path }}/page{{ index }}/">{{ index }}</a></li>
|
<li><a href="{{ '/page' | absolute_url }}{{ index | append: '/' }}">{{ index }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
@@ -56,14 +54,14 @@
|
|||||||
{% if paginator.page == paginator.total_pages %}
|
{% if paginator.page == paginator.total_pages %}
|
||||||
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ base_path }}/page{{ paginator.total_pages }}/">{{ paginator.total_pages }}</a></li>
|
<li><a href="{{ '/page' | absolute_url }}{{ paginator.total_pages }}/">{{ paginator.total_pages }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% 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="{{ '/page' | absolute_url }}{{ 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>
|
||||||
|
|||||||
@@ -1,16 +1,14 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% 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="{{ page.previous.url | absolute_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="{{ page.next.url | absolute_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 %}
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
|
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
||||||
|
|
||||||
{% if post.read_time %}
|
{% if post.read_time %}
|
||||||
{% assign words = post.content | strip_html | number_of_words %}
|
{% assign words = post.content | strip_html | number_of_words %}
|
||||||
{% elsif page.read_time %}
|
{% elsif page.read_time %}
|
||||||
{% assign words = page.content | strip_html | number_of_words %}
|
{% assign words = page.content | strip_html | number_of_words %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.words_per_minute %}
|
{% if words < 180 %}
|
||||||
{% if words < 180 %}
|
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
|
{% elsif words < 360 %}
|
||||||
{% elsif words < 360 %}
|
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
1 {{ site.data.ui-text[site.locale].minute_read }}
|
|
||||||
{% else %}
|
|
||||||
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read }}
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ site.data.ui-text[site.locale].undefined_wpm }}
|
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<script src="{{ base_path }}/assets/js/main.min.js"></script>
|
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
|
||||||
|
|
||||||
{% include analytics.html %}
|
{% include analytics.html %}
|
||||||
{% include /comments-providers/scripts.html %}
|
{% include /comments-providers/scripts.html %}
|
||||||
|
|||||||
+16
-10
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<!-- begin SEO -->
|
<!-- begin SEO -->
|
||||||
{% if site.url %}
|
{% if site.url %}
|
||||||
{% assign seo_url = site.url | append: site.baseurl %}
|
{% assign seo_url = site.url | append: site.baseurl %}
|
||||||
@@ -18,13 +16,15 @@
|
|||||||
{% 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 %}
|
||||||
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
|
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<meta name="description" content="{{ seo_description }}">
|
||||||
|
|
||||||
{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %}
|
{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %}
|
||||||
{% if seo_author %}
|
{% if seo_author %}
|
||||||
{% if seo_author.twitter %}
|
{% if seo_author.twitter %}
|
||||||
@@ -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 }}">
|
||||||
|
|
||||||
@@ -60,11 +60,13 @@
|
|||||||
|
|
||||||
{% if page.header.image %}
|
{% if page.header.image %}
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ 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 | absolute_url }}{% 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="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
|
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
|
||||||
|
{% elsif site.og_image %}
|
||||||
|
<meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -84,9 +86,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.image %}
|
{% if page.header.image %}
|
||||||
<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 | absolute_url }}{% 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 | absolute_url }}{% endif %}">
|
||||||
|
{% elsif page.header.teaser %}
|
||||||
|
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
|
||||||
|
{% elsif site.og_image %}
|
||||||
|
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
@@ -107,7 +113,7 @@
|
|||||||
"@context": "http://schema.org",
|
"@context": "http://schema.org",
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
"url": {{ seo_url | jsonify }},
|
"url": {{ seo_url | jsonify }},
|
||||||
"logo": {{ site.og_image | prepend: "/images/" | prepend: base_path | jsonify }}
|
"logo": {{ site.og_image | absolute_url | jsonify }}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
||||||
<div class="sidebar sticky">
|
<div class="sidebar sticky">
|
||||||
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
||||||
@@ -10,7 +8,7 @@
|
|||||||
{% if s.image contains "://" %}
|
{% if s.image contains "://" %}
|
||||||
"{{ s.image }}"
|
"{{ s.image }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ s.image | prepend: "/images/" | prepend: base_path }}"
|
"{{ s.image | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<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 }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
||||||
|
|
||||||
<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={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
||||||
|
|
||||||
<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={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
||||||
|
|
||||||
<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={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% case site.tag_archive.type %}
|
{% case site.tag_archive.type %}
|
||||||
{% when "liquid" %}
|
{% when "liquid" %}
|
||||||
{% assign path_type = "#" %}
|
{% assign path_type = "#" %}
|
||||||
@@ -16,12 +14,12 @@
|
|||||||
{% 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: '#' %}
|
||||||
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
||||||
<a href="{{ base_path }}{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ author_profile: false
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
<h1 class="page__title">{{ page.title }}</h1>
|
<h1 class="page__title">{{ page.title }}</h1>
|
||||||
{% include base_path %}
|
|
||||||
{% for post in page.posts %}
|
{% for post in page.posts %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -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,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: compress
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
@@ -11,7 +8,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 %}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
||||||
|
|
||||||
|
{% for post in paginator.posts %}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% include paginator.html %}
|
||||||
@@ -2,9 +2,7 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
{% 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 +33,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 +42,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 +62,7 @@ layout: default
|
|||||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
<div class="page__related">
|
<div class="page__related">
|
||||||
{% if site.data.ui-text[site.locale].related_label %}
|
{% if site.data.ui-text[site.locale].related_label %}
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label }}</h4>
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.related_posts limit:4 %}
|
{% for post in site.related_posts limit:4 %}
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
{% 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 {
|
||||||
@@ -235,4 +235,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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: $link-color;
|
||||||
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) translate3d(0, 0 , 0);
|
||||||
|
-ms-transform: scaleX(0) translate3d(0, 0 , 0);
|
||||||
|
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:before {
|
&:hover:before {
|
||||||
transform: scaleX(1); // reveal
|
-webkit-transform: scaleX(1);
|
||||||
|
-ms-transform: scaleX(1);
|
||||||
|
transform: scaleX(1); /* reveal*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -307,20 +314,104 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.nav__list {
|
.nav__list {
|
||||||
font-size: 1.25rem;
|
margin-bottom: 1.5em;
|
||||||
|
|
||||||
ul {
|
input[type="checkbox"],
|
||||||
margin-bottom: 1em;
|
label {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
@include breakpoint(max-width ($large - 1px)) {
|
||||||
display: block;
|
|
||||||
padding: 0.125em 0;
|
|
||||||
color: inherit;
|
|
||||||
|
|
||||||
&:hover {
|
label {
|
||||||
text-decoration: underline;
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0.5em 2.5em 0.5em 1em;
|
||||||
|
color: $gray;
|
||||||
|
font-size: $type-size-6;
|
||||||
|
font-weight: bold;
|
||||||
|
border: 1px solid $light-gray;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
z-index: 20;
|
||||||
|
-webkit-transition: 0.2s ease-out;
|
||||||
|
transition: 0.2s ease-out;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
right: 1em;
|
||||||
|
top: 1.25em;
|
||||||
|
width: 0.75em;
|
||||||
|
height: 0.125em;
|
||||||
|
line-height: 1;
|
||||||
|
background-color: $gray;
|
||||||
|
transition: 0.2s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #fff;
|
||||||
|
border-color: $gray;
|
||||||
|
background-color: mix(white, #000, 20%);
|
||||||
|
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* selected*/
|
||||||
|
input:checked + label {
|
||||||
|
color: white;
|
||||||
|
background-color: mix(white, #000, 20%);
|
||||||
|
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// on hover show expand
|
||||||
|
label:hover:after {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
input:checked + label:hover:after {
|
||||||
|
transform: rotate(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
padding: 0.25em 0;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
padding-top: 0.125em;
|
||||||
|
padding-bottom: 0.125em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav__list .nav__items {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
@@ -336,6 +427,33 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include breakpoint(max-width ($large - 1px)) {
|
||||||
|
position: relative;
|
||||||
|
max-height: 0;
|
||||||
|
opacity: 0%;
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: 10;
|
||||||
|
-webkit-transition: 0.3s ease-in-out;
|
||||||
|
transition: 0.3s ease-in-out;
|
||||||
|
-webkit-transform: translate(0, 10%);
|
||||||
|
-ms-transform: translate(0, 10%);
|
||||||
|
transform: translate(0, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(max-width ($large - 1px)) {
|
||||||
|
.nav__list input:checked ~ .nav__items {
|
||||||
|
-webkit-transition: 0.5s ease-in-out;
|
||||||
|
transition: 0.5s ease-in-out;
|
||||||
|
max-height: 9999px; // exaggerate max-height to accommodate tall lists
|
||||||
|
overflow: visible;
|
||||||
|
opacity: 1;
|
||||||
|
margin-top: 1em;
|
||||||
|
-webkit-transform: translate(0, 0);
|
||||||
|
-ms-transform: translate(0, 0);
|
||||||
|
transform: translate(0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav__title {
|
.nav__title {
|
||||||
@@ -414,7 +532,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
|
||||||
@@ -15,4 +15,4 @@
|
|||||||
.page__footer {
|
.page__footer {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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*/
|
||||||
}
|
}
|
||||||
@@ -7,13 +7,17 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
|
-webkit-transform: translate3d(0, 0 , 0);
|
||||||
|
transform: translate3d(0, 0 , 0);
|
||||||
|
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
@include span(2 of 12);
|
@include span(2 of 12);
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
transition: opacity 0.2s ease-in-out;
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
|
transition: opacity 0.2s ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@@ -29,10 +33,6 @@
|
|||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3, h4 {
|
|
||||||
font-size: $type-size-5;
|
|
||||||
}
|
|
||||||
|
|
||||||
p, li {
|
p, li {
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,128 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
Variables
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Typography
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
$doc-font-size : 16 !default;
|
||||||
|
|
||||||
|
/* paragraph indention */
|
||||||
|
$paragraph-indent : false !default; // true, false (default)
|
||||||
|
$indent-var : 1.3em !default;
|
||||||
|
|
||||||
|
/* system typefaces */
|
||||||
|
$serif : Georgia, Times, serif !default;
|
||||||
|
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
|
||||||
|
$monospace : Monaco, Consolas, "Lucida Console", monospace !default;
|
||||||
|
|
||||||
|
/* sans serif typefaces */
|
||||||
|
$sans-serif-narrow : $sans-serif !default;
|
||||||
|
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
||||||
|
|
||||||
|
/* serif typefaces */
|
||||||
|
$georgia : Georgia, serif !default;
|
||||||
|
$times : Times, serif !default;
|
||||||
|
$bodoni : "Bodoni MT", serif !default;
|
||||||
|
$calisto : "Calisto MT", serif !default;
|
||||||
|
$garamond : Garamond, serif !default;
|
||||||
|
|
||||||
|
$global-font-family : $sans-serif !default;
|
||||||
|
$header-font-family : $sans-serif !default;
|
||||||
|
$caption-font-family : $serif !default;
|
||||||
|
|
||||||
|
/* type scale */
|
||||||
|
$type-size-1 : 2.441em !default; // ~39.056px
|
||||||
|
$type-size-2 : 1.953em !default; // ~31.248px
|
||||||
|
$type-size-3 : 1.563em !default; // ~25.008px
|
||||||
|
$type-size-4 : 1.25em !default; // ~20px
|
||||||
|
$type-size-5 : 1em !default; // ~16px
|
||||||
|
$type-size-6 : 0.75em !default; // ~12px
|
||||||
|
$type-size-7 : 0.6875em !default; // ~11px
|
||||||
|
$type-size-8 : 0.625em !default; // ~10px
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Colors
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
$gray : #7a8288 !default;
|
||||||
|
$dark-gray : mix(#000, $gray, 40%) !default;
|
||||||
|
$darker-gray : mix(#000, $gray, 60%) !default;
|
||||||
|
$light-gray : mix(#fff, $gray, 50%) !default;
|
||||||
|
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
||||||
|
|
||||||
|
$body-color : #fff !default;
|
||||||
|
$background-color : #fff !default;
|
||||||
|
$code-background-color : #fafafa !default;
|
||||||
|
$code-background-color-dark : $light-gray !default;
|
||||||
|
$text-color : $dark-gray !default;
|
||||||
|
$border-color : $lighter-gray !default;
|
||||||
|
|
||||||
|
$primary-color : #7a8288 !default;
|
||||||
|
$success-color : #62c462 !default;
|
||||||
|
$warning-color : #f89406 !default;
|
||||||
|
$danger-color : #ee5f5b !default;
|
||||||
|
$info-color : #52adc8 !default;
|
||||||
|
|
||||||
|
/* brands */
|
||||||
|
$behance-color : #1769FF !default;
|
||||||
|
$dribbble-color : #ea4c89 !default;
|
||||||
|
$facebook-color : #3b5998 !default;
|
||||||
|
$flickr-color : #ff0084 !default;
|
||||||
|
$foursquare-color : #0072b1 !default;
|
||||||
|
$github-color : #171516 !default;
|
||||||
|
$google-plus-color : #dd4b39 !default;
|
||||||
|
$instagram-color : #517fa4 !default;
|
||||||
|
$lastfm-color : #d51007 !default;
|
||||||
|
$linkedin-color : #007bb6 !default;
|
||||||
|
$pinterest-color : #cb2027 !default;
|
||||||
|
$rss-color : #fa9b39 !default;
|
||||||
|
$soundcloud-color : #ff3300 !default;
|
||||||
|
$stackoverflow-color : #fe7a15 !default;
|
||||||
|
$tumblr-color : #32506d !default;
|
||||||
|
$twitter-color : #55acee !default;
|
||||||
|
$vimeo-color : #1ab7ea !default;
|
||||||
|
$vine-color : #00bf8f !default;
|
||||||
|
$youtube-color : #bb0000 !default;
|
||||||
|
$xing-color : #006567 !default;
|
||||||
|
|
||||||
|
|
||||||
|
/* links */
|
||||||
|
$link-color : $info-color !default;
|
||||||
|
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
||||||
|
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
||||||
|
$masthead-link-color : $primary-color !default;
|
||||||
|
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Breakpoints
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
$small : 600px !default;
|
||||||
|
$medium : 768px !default;
|
||||||
|
$medium-wide : 900px !default;
|
||||||
|
$large : 1024px !default;
|
||||||
|
$x-large : 1280px !default;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Grid
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
$right-sidebar-width-narrow : 200px !default;
|
||||||
|
$right-sidebar-width : 300px !default;
|
||||||
|
$right-sidebar-width-wide : 400px !default;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Other
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
$border-radius : 4px !default;
|
||||||
|
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
|
||||||
|
$navicon-width : 28px !default;
|
||||||
|
$navicon-height : 4px !default;
|
||||||
|
$global-transition : all 0.2s ease-in-out !default;
|
||||||
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
Vendored
+1
-1
@@ -43,4 +43,4 @@ $mfp-caption-subtitle-color: #bdbdbd; // Caption sub
|
|||||||
.mfp-counter { font-family: $serif; } // Caption font family
|
.mfp-counter { font-family: $serif; } // Caption font family
|
||||||
|
|
||||||
// A11y
|
// A11y
|
||||||
$mfp-use-visuallyhidden: false;
|
$mfp-use-visuallyhidden: false;
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user