Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c992ca4d7 | ||
|
|
990af789f4 | ||
|
|
7ffe6d4c5e | ||
|
|
1cfce57cfb | ||
|
|
7ad8d79f93 | ||
|
|
9fa1764d3e | ||
|
|
c49041270c | ||
|
|
7e1f1539e3 | ||
|
|
a41eee9516 | ||
|
|
d54b94fbac | ||
|
|
1e661eb10f | ||
|
|
b7bb95f916 | ||
|
|
f4df3d459b | ||
|
|
89d602c3f3 | ||
|
|
66a07a67f8 | ||
|
|
2215ee5c06 | ||
|
|
cc1f09c54c | ||
|
|
86c2fb49dc | ||
|
|
9e5f459800 | ||
|
|
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 |
@@ -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*
|
||||||
+135
-2
@@ -1,3 +1,138 @@
|
|||||||
|
## [4.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Remove hardcoded `words_per_minute` "less than" and "minute read" values and make dynamic. [#703](https://github.com/mmistakes/minimal-mistakes/issues/703)
|
||||||
|
- Update Font Awesome to `v4.7.0`. [#723](https://github.com/mmistakes/minimal-mistakes/issues/723), [#722](https://github.com/mmistakes/minimal-mistakes/issues/722)
|
||||||
|
- Add support for YouTube channel URLs in author profile. [#716](https://github.com/mmistakes/minimal-mistakes/issues/716)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Add Jekyll as `spec.add_runtime_dependency` in `.gemspec`.
|
||||||
|
|
||||||
|
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
|
||||||
|
- Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
|
||||||
|
|
||||||
|
## [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)
|
## [3.4.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.7)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
@@ -9,8 +144,6 @@
|
|||||||
|
|
||||||
- Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
|
- Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
|
||||||
|
|
||||||
### Maintenance
|
|
||||||
|
|
||||||
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
|
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
@@ -1,24 +1,2 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
gemspec
|
||||||
# Hello! This is where you manage which Jekyll version is used to run.
|
|
||||||
# When you want to use a different version, change it below, save the
|
|
||||||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
|
||||||
#
|
|
||||||
# bundle exec jekyll serve
|
|
||||||
#
|
|
||||||
# This will help ensure the proper Jekyll version is running.
|
|
||||||
# Happy Jekylling!
|
|
||||||
|
|
||||||
gem "github-pages", group: :jekyll_plugins
|
|
||||||
|
|
||||||
# If you want to use Jekyll native, uncomment the line below.
|
|
||||||
# To upgrade, run `bundle update`.
|
|
||||||
|
|
||||||
# gem "jekyll"
|
|
||||||
|
|
||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
|
||||||
|
|
||||||
# If you have any plugins, put them here!
|
|
||||||
group :jekyll_plugins do
|
|
||||||
# gem "jekyll-archives"
|
|
||||||
end
|
|
||||||
-143
@@ -1,143 +0,0 @@
|
|||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
activesupport (4.2.7)
|
|
||||||
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 (1.1.0)
|
|
||||||
ethon (0.9.0)
|
|
||||||
ffi (>= 1.3.0)
|
|
||||||
execjs (2.7.0)
|
|
||||||
faraday (0.9.2)
|
|
||||||
multipart-post (>= 1.2, < 3)
|
|
||||||
ffi (1.9.14)
|
|
||||||
ffi (1.9.14-x64-mingw32)
|
|
||||||
forwardable-extended (2.6.0)
|
|
||||||
gemoji (2.1.0)
|
|
||||||
github-pages (93)
|
|
||||||
activesupport (= 4.2.7)
|
|
||||||
github-pages-health-check (= 1.2.0)
|
|
||||||
jekyll (= 3.2.1)
|
|
||||||
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.11.0)
|
|
||||||
jekyll-sass-converter (= 1.3.0)
|
|
||||||
jekyll-seo-tag (= 2.0.0)
|
|
||||||
jekyll-sitemap (= 0.10.0)
|
|
||||||
jemoji (= 0.7.0)
|
|
||||||
kramdown (= 1.11.1)
|
|
||||||
liquid (= 3.0.6)
|
|
||||||
listen (= 3.0.6)
|
|
||||||
mercenary (~> 0.3)
|
|
||||||
minima (= 1.0.1)
|
|
||||||
rouge (= 1.11.1)
|
|
||||||
terminal-table (~> 1.4)
|
|
||||||
github-pages-health-check (1.2.0)
|
|
||||||
addressable (~> 2.3)
|
|
||||||
net-dns (~> 0.8)
|
|
||||||
octokit (~> 4.0)
|
|
||||||
public_suffix (~> 1.4)
|
|
||||||
typhoeus (~> 0.7)
|
|
||||||
html-pipeline (2.4.2)
|
|
||||||
activesupport (>= 2)
|
|
||||||
nokogiri (>= 1.4)
|
|
||||||
i18n (0.7.0)
|
|
||||||
jekyll (3.2.1)
|
|
||||||
colorator (~> 1.0)
|
|
||||||
jekyll-sass-converter (~> 1.0)
|
|
||||||
jekyll-watch (~> 1.1)
|
|
||||||
kramdown (~> 1.3)
|
|
||||||
liquid (~> 3.0)
|
|
||||||
mercenary (~> 0.3.3)
|
|
||||||
pathutil (~> 0.9)
|
|
||||||
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.11.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.5.0)
|
|
||||||
listen (~> 3.0, < 3.1)
|
|
||||||
jemoji (0.7.0)
|
|
||||||
activesupport (~> 4.0)
|
|
||||||
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)
|
|
||||||
minima (1.0.1)
|
|
||||||
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)
|
|
||||||
pathutil (0.14.0)
|
|
||||||
forwardable-extended (~> 2.6)
|
|
||||||
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,34 +1,33 @@
|
|||||||
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
# [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)
|
[](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).
|
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
|
||||||
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
||||||
- Several layout options (single, archive, splash pages)
|
- 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/), static-based via [Staticman](https://staticman.net/), 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: English (default), Spanish, French, and Turkish.
|
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Spanish, and Turkish
|
||||||
|
|
||||||
#### Demo Pages
|
## Demo Pages
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ------------------------------------------- | ----------------------------------------------------- |
|
| ------------------------------------------- | ----------------------------------------------------- |
|
||||||
@@ -40,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/
|
||||||
@@ -51,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
|
||||||
@@ -65,6 +92,14 @@ 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
|
||||||
|
|||||||
@@ -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
|
||||||
+22
-5
@@ -14,7 +14,7 @@ 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"
|
||||||
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
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:
|
||||||
@@ -30,12 +30,12 @@ comments:
|
|||||||
colorscheme : # "light" (default), "dark"
|
colorscheme : # "light" (default), "dark"
|
||||||
staticman:
|
staticman:
|
||||||
allowedFields : ['name', 'email', 'url', 'message']
|
allowedFields : ['name', 'email', 'url', 'message']
|
||||||
branch : # "master", "gh-pages"
|
branch : "master"
|
||||||
commitMessage : "New comment."
|
commitMessage : "New comment."
|
||||||
filename : comment-{@timestamp}
|
filename : comment-{@timestamp}
|
||||||
format : "yml"
|
format : "yml"
|
||||||
moderation : true
|
moderation : true
|
||||||
path : "_data/comments/{options.slug}"
|
path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default)
|
||||||
requiredFields : ['name', 'email', 'message']
|
requiredFields : ['name', 'email', 'message']
|
||||||
transforms:
|
transforms:
|
||||||
email : "md5"
|
email : "md5"
|
||||||
@@ -78,7 +78,7 @@ analytics:
|
|||||||
# 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 :
|
||||||
@@ -104,7 +104,7 @@ author:
|
|||||||
vine :
|
vine :
|
||||||
weibo :
|
weibo :
|
||||||
xing :
|
xing :
|
||||||
youtube :
|
youtube : # "https://youtube.com/c/MichaelRoseDesign"
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
@@ -135,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
|
||||||
@@ -227,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/
|
||||||
+120
-23
@@ -8,6 +8,7 @@ en: &DEFAULT_EN
|
|||||||
pagination_next : "Next"
|
pagination_next : "Next"
|
||||||
breadcrumb_home_label : "Home"
|
breadcrumb_home_label : "Home"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "Toggle Menu"
|
||||||
toc_label : "On This Page"
|
toc_label : "On This Page"
|
||||||
ext_link_label : "Direct Link"
|
ext_link_label : "Direct Link"
|
||||||
less_than : "less than"
|
less_than : "less than"
|
||||||
@@ -56,6 +57,7 @@ es: &DEFAULT_ES
|
|||||||
pagination_next : "Siguiente"
|
pagination_next : "Siguiente"
|
||||||
breadcrumb_home_label : "Inicio"
|
breadcrumb_home_label : "Inicio"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
toc_label : "Contenidos"
|
toc_label : "Contenidos"
|
||||||
ext_link_label : "Enlace"
|
ext_link_label : "Enlace"
|
||||||
less_than : "menos de"
|
less_than : "menos de"
|
||||||
@@ -100,9 +102,10 @@ fr: &DEFAULT_FR
|
|||||||
pagination_next : "Suivant"
|
pagination_next : "Suivant"
|
||||||
breadcrumb_home_label : "Accueil"
|
breadcrumb_home_label : "Accueil"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
toc_label : "Sur cette page"
|
toc_label : "Sur cette page"
|
||||||
ext_link_label : "Lien direct"
|
ext_link_label : "Lien direct"
|
||||||
less_than : "plus petit que"
|
less_than : "moins de"
|
||||||
minute_read : "minute de lecture"
|
minute_read : "minute de lecture"
|
||||||
share_on_label : "Partager sur"
|
share_on_label : "Partager sur"
|
||||||
meta_label :
|
meta_label :
|
||||||
@@ -112,8 +115,8 @@ fr: &DEFAULT_FR
|
|||||||
comments_label : "Laisser un commentaire"
|
comments_label : "Laisser un commentaire"
|
||||||
comments_title :
|
comments_title :
|
||||||
more_label : "Lire plus"
|
more_label : "Lire plus"
|
||||||
related_label : "Vous pourriez aimer"
|
related_label : "Vous pourriez aimer aussi"
|
||||||
follow_label : "Suivez moi"
|
follow_label : "Contact"
|
||||||
feed_label : "Flux"
|
feed_label : "Flux"
|
||||||
powered_by : "Propulsé par"
|
powered_by : "Propulsé par"
|
||||||
website_label : "Site"
|
website_label : "Site"
|
||||||
@@ -129,7 +132,7 @@ fr: &DEFAULT_FR
|
|||||||
comment_form_website_label : "Site web (optionnel)"
|
comment_form_website_label : "Site web (optionnel)"
|
||||||
comment_btn_submit : "Envoyer"
|
comment_btn_submit : "Envoyer"
|
||||||
comment_btn_submitted : "Envoyé"
|
comment_btn_submitted : "Envoyé"
|
||||||
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé."
|
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."
|
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..."
|
loading_label : "Chargement..."
|
||||||
fr-FR:
|
fr-FR:
|
||||||
@@ -147,6 +150,7 @@ tr: &DEFAULT_TR
|
|||||||
pagination_next : "Sonraki"
|
pagination_next : "Sonraki"
|
||||||
breadcrumb_home_label : "Ana Sayfa"
|
breadcrumb_home_label : "Ana Sayfa"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
toc_label : "İçindekiler"
|
toc_label : "İçindekiler"
|
||||||
ext_link_label : "Doğrudan Bağlantı"
|
ext_link_label : "Doğrudan Bağlantı"
|
||||||
less_than : "Şu süreden az: "
|
less_than : "Şu süreden az: "
|
||||||
@@ -157,7 +161,7 @@ tr: &DEFAULT_TR
|
|||||||
categories_label : "Kategoriler:"
|
categories_label : "Kategoriler:"
|
||||||
date_label : "Güncelleme tarihi:"
|
date_label : "Güncelleme tarihi:"
|
||||||
comments_label : "Yorum yapın"
|
comments_label : "Yorum yapın"
|
||||||
comments_title :
|
comments_title : "Yorumlar"
|
||||||
more_label : "Daha fazlasını öğrenin"
|
more_label : "Daha fazlasını öğrenin"
|
||||||
related_label : "Bunlar ilginizi çekebilir:"
|
related_label : "Bunlar ilginizi çekebilir:"
|
||||||
follow_label : "Takip et:"
|
follow_label : "Takip et:"
|
||||||
@@ -167,28 +171,68 @@ tr: &DEFAULT_TR
|
|||||||
email_label : "E-posta"
|
email_label : "E-posta"
|
||||||
recent_posts : "Son yazılar"
|
recent_posts : "Son yazılar"
|
||||||
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
||||||
comment_form_info :
|
comment_form_info : "Email adresiniz gösterilmeyecektir. Zorunlu alanlar işaretlenmiştir"
|
||||||
comment_form_comment_label :
|
comment_form_comment_label : "Yorumunuz"
|
||||||
comment_form_md_info :
|
comment_form_md_info : "Markdown desteklenmektedir."
|
||||||
comment_form_name_label :
|
comment_form_name_label : "Adınız"
|
||||||
comment_form_email_label :
|
comment_form_email_label : "Email adresiniz"
|
||||||
comment_form_website_label :
|
comment_form_website_label : "Websiteniz (opsiyonel)"
|
||||||
comment_btn_submit :
|
comment_btn_submit : "Yorum Yap"
|
||||||
comment_btn_submitted :
|
comment_btn_submitted : "Gönderildi"
|
||||||
comment_success_msg :
|
comment_success_msg : "Yorumunuz için teşekkürler! Yorumunuz onaylandıktan sonra sitede gösterilecektir."
|
||||||
comment_error_msg :
|
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 :
|
loading_label : "Yükleniyor..."
|
||||||
tr-TR:
|
tr-TR:
|
||||||
<<: *DEFAULT_TR
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
# Brazilian Portguese
|
# Portuguese
|
||||||
# -----------------
|
# -----------------
|
||||||
pt: &DEFAULT_PT
|
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"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
pagination_next : "Próxima"
|
pagination_next : "Próxima"
|
||||||
breadcrumb_home_label : "Home"
|
breadcrumb_home_label : "Home"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
toc_label : "Nesta página"
|
toc_label : "Nesta página"
|
||||||
ext_link_label : "Link direto"
|
ext_link_label : "Link direto"
|
||||||
less_than : "meno que"
|
less_than : "meno que"
|
||||||
@@ -220,8 +264,6 @@ pt: &DEFAULT_PT
|
|||||||
comment_success_msg :
|
comment_success_msg :
|
||||||
comment_error_msg :
|
comment_error_msg :
|
||||||
loading_label :
|
loading_label :
|
||||||
pt-BR:
|
|
||||||
<<: *DEFAULT_PT
|
|
||||||
pt-PT:
|
pt-PT:
|
||||||
<<: *DEFAULT_PT
|
<<: *DEFAULT_PT
|
||||||
|
|
||||||
@@ -233,6 +275,7 @@ it: &DEFAULT_IT
|
|||||||
pagination_next : "Prossima"
|
pagination_next : "Prossima"
|
||||||
breadcrumb_home_label : "Home"
|
breadcrumb_home_label : "Home"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
toc_label : "Indice della pagina"
|
toc_label : "Indice della pagina"
|
||||||
ext_link_label : "Link"
|
ext_link_label : "Link"
|
||||||
less_than : "meno di"
|
less_than : "meno di"
|
||||||
@@ -275,6 +318,7 @@ zh: &DEFAULT_ZH
|
|||||||
pagination_next : "向后"
|
pagination_next : "向后"
|
||||||
breadcrumb_home_label : "首页"
|
breadcrumb_home_label : "首页"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
toc_label : "在本页上"
|
toc_label : "在本页上"
|
||||||
ext_link_label : "直接链接"
|
ext_link_label : "直接链接"
|
||||||
less_than : "少于"
|
less_than : "少于"
|
||||||
@@ -306,14 +350,67 @@ zh: &DEFAULT_ZH
|
|||||||
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
|
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."
|
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..."
|
loading_label : "Loading..."
|
||||||
zh-CN:
|
zh-CN:
|
||||||
<<: *DEFAULT_ZH
|
<<: *DEFAULT_ZH
|
||||||
zh-HK:
|
zh-HK:
|
||||||
<<: *DEFAULT_ZH
|
<<: *DEFAULT_ZH
|
||||||
zh-SG:
|
zh-SG:
|
||||||
<<: *DEFAULT_ZH
|
<<: *DEFAULT_ZH
|
||||||
zh-TW:
|
zh-TW:
|
||||||
<<: *DEFAULT_ZH
|
<<: *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,5 +1,3 @@
|
|||||||
{% 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 %}
|
||||||
@@ -20,16 +18,16 @@
|
|||||||
{% 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 %}
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<!--
|
||||||
|
<li>
|
||||||
|
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
-->
|
||||||
+171
-32
@@ -1,102 +1,241 @@
|
|||||||
{% 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">
|
||||||
|
|
||||||
|
{% if author.avatar %}
|
||||||
<div class="author__avatar">
|
<div class="author__avatar">
|
||||||
{% if author.avatar contains "://" %}
|
{% if author.avatar contains "://" %}
|
||||||
<img src="{{ author.avatar }}" alt="{{ author.name }}">
|
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
|
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="author__content">
|
<div class="author__content">
|
||||||
<h3 class="author__name">{{ author.name }}</h3>
|
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
||||||
{% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %}
|
{% if author.bio %}
|
||||||
|
<p class="author__bio" itemprop="description">
|
||||||
|
{{ author.bio }}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="author__urls-wrapper">
|
<div class="author__urls-wrapper">
|
||||||
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "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 | default: "Website" }}</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 | default: "Email" }}</a></li>
|
<li>
|
||||||
|
<a href="mailto:{{ author.email }}">
|
||||||
|
<meta itemprop="email" content="{{ author.email }}" />
|
||||||
|
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.keybase %}
|
{% if author.keybase %}
|
||||||
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
|
<li>
|
||||||
|
<a href="https://keybase.io/{{ author.keybase }}" 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>
|
{% if author.youtube contains "://" %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ author.youtube }}" itemprop="sameAs">
|
||||||
|
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% else author.youtube %}
|
||||||
|
<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 %}
|
||||||
|
{% 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 %}
|
||||||
|
|
||||||
|
{% include author-profile-custom-links.html %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -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,7 +19,7 @@
|
|||||||
{% 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 | default: "Home" }}</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 | default: "/" }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
@@ -31,7 +29,7 @@
|
|||||||
{% 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 | default: "/" }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% case site.category_archive.type %}
|
{% case site.category_archive.type %}
|
||||||
{% when "liquid" %}
|
{% when "liquid" %}
|
||||||
{% assign path_type = "#" %}
|
{% assign path_type = "#" %}
|
||||||
@@ -21,7 +19,7 @@
|
|||||||
{% for hash in category_hashes %}
|
{% for hash in category_hashes %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
{% assign keyValue = hash | split: '#' %}
|
||||||
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
||||||
<a href="{{ base_path }}{{ category_word | slugify | prepend: path_type | prepend: site.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>
|
||||||
|
|||||||
@@ -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 }}' };
|
||||||
@@ -10,5 +9,5 @@
|
|||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<noscript>Please enable JavaScript to view the comments powered by [Discourse](http://forum.beta-europe.org/c/beta/website).</a></noscript>
|
<noscript>Please enable JavaScript to view the comments powered by <a href="https://www.discourse.org/">Discourse.</a></noscript>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<div class="page__comments">
|
<div class="page__comments">
|
||||||
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
|
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
|
||||||
{% case site.comments.provider %}
|
{% case site.comments.provider %}
|
||||||
@@ -8,12 +6,12 @@
|
|||||||
<section id="disqus_thread"></section>
|
<section id="disqus_thread"></section>
|
||||||
{% when "facebook" %}
|
{% when "facebook" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section class="fb-comments" data-href="{{ base_path }}{{ page.url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
<section class="fb-comments" data-href="{{ 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" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
||||||
{% when "staticman" %}
|
{% when "staticman" %}
|
||||||
<section id="comments">
|
<section id="static-comments">
|
||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.staticman.branch %}
|
||||||
<!-- Start static comments -->
|
<!-- Start static comments -->
|
||||||
<div class="js-comments">
|
<div class="js-comments">
|
||||||
@@ -77,6 +75,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</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>
|
||||||
|
|||||||
@@ -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,7 +15,7 @@
|
|||||||
{% if site.author.bitbucket %}
|
{% if site.author.bitbucket %}
|
||||||
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</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>
|
||||||
|
|
||||||
|
|||||||
+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="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
<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" %}
|
||||||
|
|||||||
@@ -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,14 +1,12 @@
|
|||||||
{% 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 | default: "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 | default: "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 | default: "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>
|
||||||
@@ -18,7 +16,7 @@
|
|||||||
{% 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,12 +54,12 @@
|
|||||||
{% 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 | default: "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 | default: "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 %}
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
{% 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 | default: "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 | default: "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 | default: "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 | default: "Next" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% 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 < words_per_minute %}
|
||||||
{% 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 | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{% elsif words < 360 %}
|
{% elsif words == words_per_minute %}
|
||||||
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
{% else %}
|
|
||||||
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ site.data.ui-text[site.locale].undefined_wpm | "Undefined parameter words_per_minute at _config.yml" }}
|
{{ 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 %}
|
||||||
|
|||||||
+10
-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 %}
|
||||||
@@ -25,6 +23,8 @@
|
|||||||
{% 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 %}
|
||||||
@@ -60,13 +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 page.header.teaser %}
|
{% if page.header.teaser %}
|
||||||
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
|
||||||
{% elsif site.og_image %}
|
{% elsif site.og_image %}
|
||||||
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
|
<meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -86,13 +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 %}
|
{% elsif page.header.teaser %}
|
||||||
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
|
||||||
{% elsif site.og_image %}
|
{% elsif site.og_image %}
|
||||||
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | prepend: "/images/" | prepend: base_path }}{% endif %}">
|
<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 %}
|
||||||
@@ -113,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 | default: "Share on" }}</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 | default: 'Share on' }} 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 | default: 'Share on' }} 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 | default: 'Share on' }} 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 | default: 'Share on' }} 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 = "#" %}
|
||||||
@@ -21,7 +19,7 @@
|
|||||||
{% for hash in tag_hashes %}
|
{% for hash in tag_hashes %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
{% assign keyValue = hash | split: '#' %}
|
||||||
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
||||||
<a href="{{ base_path }}{{ tag_word | slugify | prepend: path_type | prepend: site.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 %}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
---
|
---
|
||||||
|
|
||||||
{% 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>
|
||||||
|
|||||||
@@ -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,8 +2,6 @@
|
|||||||
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,8 +2,6 @@
|
|||||||
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 %}
|
||||||
|
|||||||
+119
-7
@@ -75,6 +75,7 @@
|
|||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
display: block;
|
||||||
margin-bottom: 0.25em;
|
margin-bottom: 0.25em;
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
@@ -131,7 +132,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: mix(#fff, $gray, 50%);
|
color: $link-color;
|
||||||
border: 1px solid $light-gray;
|
border: 1px solid $light-gray;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
@@ -236,9 +237,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
-webkit-transition: $global-transition;
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
-webkit-transform: scaleX(0);
|
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
|
||||||
-ms-transform: scaleX(0);
|
-ms-transform: scaleX(0) translate3d(0, 0 , 0);
|
||||||
transform: scaleX(0); /* hide*/
|
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:before {
|
&:hover:before {
|
||||||
@@ -314,7 +315,77 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.nav__list {
|
.nav__list {
|
||||||
font-size: 1.25rem;
|
margin-bottom: 1.5em;
|
||||||
|
|
||||||
|
input[type="checkbox"],
|
||||||
|
label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(max-width ($large - 1px)) {
|
||||||
|
|
||||||
|
label {
|
||||||
|
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 {
|
ul {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
@@ -322,13 +393,27 @@
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.125em 0;
|
padding: 0.25em 0;
|
||||||
color: inherit;
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
padding-top: 0.125em;
|
||||||
|
padding-bottom: 0.125em;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav__list .nav__items {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
margin-left: -0.5em;
|
margin-left: -0.5em;
|
||||||
@@ -343,6 +428,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 {
|
||||||
|
|||||||
@@ -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%;
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-4
@@ -7,6 +7,9 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
|
-webkit-transform: translate3d(0, 0 , 0);
|
||||||
|
transform: translate3d(0, 0 , 0);
|
||||||
|
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
@@ -30,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;
|
||||||
|
|||||||
+78
-97
@@ -6,142 +6,123 @@
|
|||||||
Typography
|
Typography
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$doc-font-size : 16;
|
$doc-font-size : 16 !default;
|
||||||
|
|
||||||
/* paragraph indention */
|
/* paragraph indention */
|
||||||
$paragraph-indent : false; // true, false (default)
|
$paragraph-indent : false !default; // true, false (default)
|
||||||
$indent-var : 1.3em;
|
$indent-var : 1.3em !default;
|
||||||
|
|
||||||
/* system typefaces */
|
/* system typefaces */
|
||||||
$serif : Georgia, Times, serif;
|
$serif : Georgia, Times, serif !default;
|
||||||
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
$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;
|
$monospace : Monaco, Consolas, "Lucida Console", monospace !default;
|
||||||
|
|
||||||
/* sans serif typefaces */
|
/* sans serif typefaces */
|
||||||
$sans-serif-narrow : $sans-serif;
|
$sans-serif-narrow : $sans-serif !default;
|
||||||
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif;
|
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
||||||
|
|
||||||
/* serif typefaces */
|
/* serif typefaces */
|
||||||
$georgia : Georgia, serif;
|
$georgia : Georgia, serif !default;
|
||||||
$times : Times, serif;
|
$times : Times, serif !default;
|
||||||
$bodoni : "Bodoni MT", serif;
|
$bodoni : "Bodoni MT", serif !default;
|
||||||
$calisto : "Calisto MT", serif;
|
$calisto : "Calisto MT", serif !default;
|
||||||
$garamond : Garamond, serif;
|
$garamond : Garamond, serif !default;
|
||||||
|
|
||||||
$global-font-family : $sans-serif;
|
$global-font-family : $sans-serif !default;
|
||||||
$header-font-family : $sans-serif;
|
$header-font-family : $sans-serif !default;
|
||||||
$caption-font-family : $serif;
|
$caption-font-family : $serif !default;
|
||||||
|
|
||||||
/* type scale */
|
/* type scale */
|
||||||
$type-size-1 : 2.441em; // ~39.056px
|
$type-size-1 : 2.441em !default; // ~39.056px
|
||||||
$type-size-2 : 1.953em; // ~31.248px
|
$type-size-2 : 1.953em !default; // ~31.248px
|
||||||
$type-size-3 : 1.563em; // ~25.008px
|
$type-size-3 : 1.563em !default; // ~25.008px
|
||||||
$type-size-4 : 1.25em; // ~20px
|
$type-size-4 : 1.25em !default; // ~20px
|
||||||
$type-size-5 : 1em; // ~16px
|
$type-size-5 : 1em !default; // ~16px
|
||||||
$type-size-6 : 0.75em; // ~12px
|
$type-size-6 : 0.75em !default; // ~12px
|
||||||
$type-size-7 : 0.6875em; // ~11px
|
$type-size-7 : 0.6875em !default; // ~11px
|
||||||
$type-size-8 : 0.625em; // ~10px
|
$type-size-8 : 0.625em !default; // ~10px
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Colors
|
Colors
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$gray : #7a8288;
|
$gray : #7a8288 !default;
|
||||||
$dark-gray : mix(#000, $gray, 40%);
|
$dark-gray : mix(#000, $gray, 40%) !default;
|
||||||
$darker-gray : mix(#000, $gray, 60%);
|
$darker-gray : mix(#000, $gray, 60%) !default;
|
||||||
$light-gray : mix(#fff, $gray, 50%);
|
$light-gray : mix(#fff, $gray, 50%) !default;
|
||||||
$lighter-gray : mix(#fff, $gray, 90%);
|
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
||||||
|
|
||||||
$body-color : #fff;
|
$body-color : #fff !default;
|
||||||
$background-color : #fff;
|
$background-color : #fff !default;
|
||||||
$code-background-color : #fafafa;
|
$code-background-color : #fafafa !default;
|
||||||
$code-background-color-dark : $light-gray;
|
$code-background-color-dark : $light-gray !default;
|
||||||
$text-color : $dark-gray;
|
$text-color : $dark-gray !default;
|
||||||
$border-color : $lighter-gray;
|
$border-color : $lighter-gray !default;
|
||||||
|
|
||||||
$primary-color : #7a8288;
|
$primary-color : #7a8288 !default;
|
||||||
$success-color : #62c462;
|
$success-color : #62c462 !default;
|
||||||
$warning-color : #f89406;
|
$warning-color : #f89406 !default;
|
||||||
$danger-color : #ee5f5b;
|
$danger-color : #ee5f5b !default;
|
||||||
$info-color : #52adc8;
|
$info-color : #52adc8 !default;
|
||||||
|
|
||||||
/* brands */
|
/* brands */
|
||||||
$behance-color : #1769FF;
|
$behance-color : #1769FF !default;
|
||||||
$dribbble-color : #ea4c89;
|
$dribbble-color : #ea4c89 !default;
|
||||||
$facebook-color : #3b5998;
|
$facebook-color : #3b5998 !default;
|
||||||
$flickr-color : #ff0084;
|
$flickr-color : #ff0084 !default;
|
||||||
$foursquare-color : #0072b1;
|
$foursquare-color : #0072b1 !default;
|
||||||
$github-color : #171516;
|
$github-color : #171516 !default;
|
||||||
$google-plus-color : #dd4b39;
|
$google-plus-color : #dd4b39 !default;
|
||||||
$instagram-color : #517fa4;
|
$instagram-color : #517fa4 !default;
|
||||||
$lastfm-color : #d51007;
|
$lastfm-color : #d51007 !default;
|
||||||
$linkedin-color : #007bb6;
|
$linkedin-color : #007bb6 !default;
|
||||||
$pinterest-color : #cb2027;
|
$pinterest-color : #cb2027 !default;
|
||||||
$rss-color : #fa9b39;
|
$rss-color : #fa9b39 !default;
|
||||||
$soundcloud-color : #ff3300;
|
$soundcloud-color : #ff3300 !default;
|
||||||
$stackoverflow-color : #fe7a15;
|
$stackoverflow-color : #fe7a15 !default;
|
||||||
$tumblr-color : #32506d;
|
$tumblr-color : #32506d !default;
|
||||||
$twitter-color : #55acee;
|
$twitter-color : #55acee !default;
|
||||||
$vimeo-color : #1ab7ea;
|
$vimeo-color : #1ab7ea !default;
|
||||||
$vine-color : #00bf8f;
|
$vine-color : #00bf8f !default;
|
||||||
$youtube-color : #bb0000;
|
$youtube-color : #bb0000 !default;
|
||||||
$xing-color : #006567;
|
$xing-color : #006567 !default;
|
||||||
|
|
||||||
|
|
||||||
/* links */
|
/* links */
|
||||||
$link-color : $info-color;
|
$link-color : $info-color !default;
|
||||||
$link-color-hover : mix(#000, $link-color, 25%);
|
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
||||||
$link-color-visited : mix(#fff, $link-color, 25%);
|
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
||||||
$masthead-link-color : $primary-color;
|
$masthead-link-color : $primary-color !default;
|
||||||
$masthead-link-color-hover : mix(#000, $primary-color, 25%);
|
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Breakpoints
|
Breakpoints
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@include breakpoint-set("to ems", true);
|
$small : 600px !default;
|
||||||
|
$medium : 768px !default;
|
||||||
$small : 600px;
|
$medium-wide : 900px !default;
|
||||||
$medium : 768px;
|
$large : 1024px !default;
|
||||||
$medium-wide : 900px;
|
$x-large : 1280px !default;
|
||||||
$large : 1024px;
|
|
||||||
$x-large : 1280px;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Grid
|
Grid
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$right-sidebar-width-narrow : 200px;
|
$right-sidebar-width-narrow : 200px !default;
|
||||||
$right-sidebar-width : 300px;
|
$right-sidebar-width : 300px !default;
|
||||||
$right-sidebar-width-wide : 400px;
|
$right-sidebar-width-wide : 400px !default;
|
||||||
|
|
||||||
$susy: (
|
|
||||||
columns: 12,
|
|
||||||
// column-width: 90px,
|
|
||||||
gutters: 1/4,
|
|
||||||
math: fluid,
|
|
||||||
output: float,
|
|
||||||
gutter-position: after,
|
|
||||||
container: $large,
|
|
||||||
global-box-sizing: border-box,
|
|
||||||
// debug: (
|
|
||||||
// image: show,
|
|
||||||
// color: blue,
|
|
||||||
// output: overlay,
|
|
||||||
// toggle: top right,
|
|
||||||
// ),
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Other
|
Other
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$border-radius : 4px;
|
$border-radius : 4px !default;
|
||||||
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
|
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
|
||||||
$navicon-width : 28px;
|
$navicon-width : 28px !default;
|
||||||
$navicon-height : 4px;
|
$navicon-height : 4px !default;
|
||||||
$global-transition : all 0.2s ease-in-out;
|
$global-transition : all 0.2s ease-in-out !default;
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
+56
@@ -605,6 +605,7 @@
|
|||||||
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
|
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
|
||||||
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
|
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
|
||||||
.#{$fa-css-prefix}-battery-4:before,
|
.#{$fa-css-prefix}-battery-4:before,
|
||||||
|
.#{$fa-css-prefix}-battery:before,
|
||||||
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
|
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
|
||||||
.#{$fa-css-prefix}-battery-3:before,
|
.#{$fa-css-prefix}-battery-3:before,
|
||||||
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
|
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
|
||||||
@@ -731,3 +732,58 @@
|
|||||||
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
|
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
|
||||||
.#{$fa-css-prefix}-fa:before,
|
.#{$fa-css-prefix}-fa:before,
|
||||||
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
|
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
|
||||||
|
.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; }
|
||||||
|
.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; }
|
||||||
|
.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; }
|
||||||
|
.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; }
|
||||||
|
.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; }
|
||||||
|
.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; }
|
||||||
|
.#{$fa-css-prefix}-vcard:before,
|
||||||
|
.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; }
|
||||||
|
.#{$fa-css-prefix}-vcard-o:before,
|
||||||
|
.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; }
|
||||||
|
.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; }
|
||||||
|
.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; }
|
||||||
|
.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; }
|
||||||
|
.#{$fa-css-prefix}-drivers-license:before,
|
||||||
|
.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; }
|
||||||
|
.#{$fa-css-prefix}-drivers-license-o:before,
|
||||||
|
.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; }
|
||||||
|
.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; }
|
||||||
|
.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; }
|
||||||
|
.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-4:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-3:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-2:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-1:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-0:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; }
|
||||||
|
.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; }
|
||||||
|
.#{$fa-css-prefix}-bathtub:before,
|
||||||
|
.#{$fa-css-prefix}-s15:before,
|
||||||
|
.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; }
|
||||||
|
.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; }
|
||||||
|
.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; }
|
||||||
|
.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; }
|
||||||
|
.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; }
|
||||||
|
.#{$fa-css-prefix}-times-rectangle:before,
|
||||||
|
.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; }
|
||||||
|
.#{$fa-css-prefix}-times-rectangle-o:before,
|
||||||
|
.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; }
|
||||||
|
.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; }
|
||||||
|
.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; }
|
||||||
|
.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; }
|
||||||
|
.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; }
|
||||||
|
.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; }
|
||||||
|
.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; }
|
||||||
|
.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; }
|
||||||
|
.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; }
|
||||||
|
.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; }
|
||||||
|
.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; }
|
||||||
|
.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; }
|
||||||
|
|||||||
+58
-2
@@ -4,14 +4,18 @@
|
|||||||
$fa-font-path: "../fonts" !default;
|
$fa-font-path: "../fonts" !default;
|
||||||
$fa-font-size-base: 14px !default;
|
$fa-font-size-base: 14px !default;
|
||||||
$fa-line-height-base: 1 !default;
|
$fa-line-height-base: 1 !default;
|
||||||
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.6.3/fonts" !default; // for referencing Bootstrap CDN font files directly
|
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly
|
||||||
$fa-css-prefix: fa !default;
|
$fa-css-prefix: fa !default;
|
||||||
$fa-version: "4.6.3" !default;
|
$fa-version: "4.7.0" !default;
|
||||||
$fa-border-color: #eee !default;
|
$fa-border-color: #eee !default;
|
||||||
$fa-inverse: #fff !default;
|
$fa-inverse: #fff !default;
|
||||||
$fa-li-width: (30em / 14) !default;
|
$fa-li-width: (30em / 14) !default;
|
||||||
|
|
||||||
$fa-var-500px: "\f26e";
|
$fa-var-500px: "\f26e";
|
||||||
|
$fa-var-address-book: "\f2b9";
|
||||||
|
$fa-var-address-book-o: "\f2ba";
|
||||||
|
$fa-var-address-card: "\f2bb";
|
||||||
|
$fa-var-address-card-o: "\f2bc";
|
||||||
$fa-var-adjust: "\f042";
|
$fa-var-adjust: "\f042";
|
||||||
$fa-var-adn: "\f170";
|
$fa-var-adn: "\f170";
|
||||||
$fa-var-align-center: "\f037";
|
$fa-var-align-center: "\f037";
|
||||||
@@ -60,11 +64,15 @@ $fa-var-automobile: "\f1b9";
|
|||||||
$fa-var-backward: "\f04a";
|
$fa-var-backward: "\f04a";
|
||||||
$fa-var-balance-scale: "\f24e";
|
$fa-var-balance-scale: "\f24e";
|
||||||
$fa-var-ban: "\f05e";
|
$fa-var-ban: "\f05e";
|
||||||
|
$fa-var-bandcamp: "\f2d5";
|
||||||
$fa-var-bank: "\f19c";
|
$fa-var-bank: "\f19c";
|
||||||
$fa-var-bar-chart: "\f080";
|
$fa-var-bar-chart: "\f080";
|
||||||
$fa-var-bar-chart-o: "\f080";
|
$fa-var-bar-chart-o: "\f080";
|
||||||
$fa-var-barcode: "\f02a";
|
$fa-var-barcode: "\f02a";
|
||||||
$fa-var-bars: "\f0c9";
|
$fa-var-bars: "\f0c9";
|
||||||
|
$fa-var-bath: "\f2cd";
|
||||||
|
$fa-var-bathtub: "\f2cd";
|
||||||
|
$fa-var-battery: "\f240";
|
||||||
$fa-var-battery-0: "\f244";
|
$fa-var-battery-0: "\f244";
|
||||||
$fa-var-battery-1: "\f243";
|
$fa-var-battery-1: "\f243";
|
||||||
$fa-var-battery-2: "\f242";
|
$fa-var-battery-2: "\f242";
|
||||||
@@ -214,19 +222,25 @@ $fa-var-dollar: "\f155";
|
|||||||
$fa-var-dot-circle-o: "\f192";
|
$fa-var-dot-circle-o: "\f192";
|
||||||
$fa-var-download: "\f019";
|
$fa-var-download: "\f019";
|
||||||
$fa-var-dribbble: "\f17d";
|
$fa-var-dribbble: "\f17d";
|
||||||
|
$fa-var-drivers-license: "\f2c2";
|
||||||
|
$fa-var-drivers-license-o: "\f2c3";
|
||||||
$fa-var-dropbox: "\f16b";
|
$fa-var-dropbox: "\f16b";
|
||||||
$fa-var-drupal: "\f1a9";
|
$fa-var-drupal: "\f1a9";
|
||||||
$fa-var-edge: "\f282";
|
$fa-var-edge: "\f282";
|
||||||
$fa-var-edit: "\f044";
|
$fa-var-edit: "\f044";
|
||||||
|
$fa-var-eercast: "\f2da";
|
||||||
$fa-var-eject: "\f052";
|
$fa-var-eject: "\f052";
|
||||||
$fa-var-ellipsis-h: "\f141";
|
$fa-var-ellipsis-h: "\f141";
|
||||||
$fa-var-ellipsis-v: "\f142";
|
$fa-var-ellipsis-v: "\f142";
|
||||||
$fa-var-empire: "\f1d1";
|
$fa-var-empire: "\f1d1";
|
||||||
$fa-var-envelope: "\f0e0";
|
$fa-var-envelope: "\f0e0";
|
||||||
$fa-var-envelope-o: "\f003";
|
$fa-var-envelope-o: "\f003";
|
||||||
|
$fa-var-envelope-open: "\f2b6";
|
||||||
|
$fa-var-envelope-open-o: "\f2b7";
|
||||||
$fa-var-envelope-square: "\f199";
|
$fa-var-envelope-square: "\f199";
|
||||||
$fa-var-envira: "\f299";
|
$fa-var-envira: "\f299";
|
||||||
$fa-var-eraser: "\f12d";
|
$fa-var-eraser: "\f12d";
|
||||||
|
$fa-var-etsy: "\f2d7";
|
||||||
$fa-var-eur: "\f153";
|
$fa-var-eur: "\f153";
|
||||||
$fa-var-euro: "\f153";
|
$fa-var-euro: "\f153";
|
||||||
$fa-var-exchange: "\f0ec";
|
$fa-var-exchange: "\f0ec";
|
||||||
@@ -294,6 +308,7 @@ $fa-var-fort-awesome: "\f286";
|
|||||||
$fa-var-forumbee: "\f211";
|
$fa-var-forumbee: "\f211";
|
||||||
$fa-var-forward: "\f04e";
|
$fa-var-forward: "\f04e";
|
||||||
$fa-var-foursquare: "\f180";
|
$fa-var-foursquare: "\f180";
|
||||||
|
$fa-var-free-code-camp: "\f2c5";
|
||||||
$fa-var-frown-o: "\f119";
|
$fa-var-frown-o: "\f119";
|
||||||
$fa-var-futbol-o: "\f1e3";
|
$fa-var-futbol-o: "\f1e3";
|
||||||
$fa-var-gamepad: "\f11b";
|
$fa-var-gamepad: "\f11b";
|
||||||
@@ -326,6 +341,7 @@ $fa-var-google-plus-square: "\f0d4";
|
|||||||
$fa-var-google-wallet: "\f1ee";
|
$fa-var-google-wallet: "\f1ee";
|
||||||
$fa-var-graduation-cap: "\f19d";
|
$fa-var-graduation-cap: "\f19d";
|
||||||
$fa-var-gratipay: "\f184";
|
$fa-var-gratipay: "\f184";
|
||||||
|
$fa-var-grav: "\f2d6";
|
||||||
$fa-var-group: "\f0c0";
|
$fa-var-group: "\f0c0";
|
||||||
$fa-var-h-square: "\f0fd";
|
$fa-var-h-square: "\f0fd";
|
||||||
$fa-var-hacker-news: "\f1d4";
|
$fa-var-hacker-news: "\f1d4";
|
||||||
@@ -342,6 +358,7 @@ $fa-var-hand-rock-o: "\f255";
|
|||||||
$fa-var-hand-scissors-o: "\f257";
|
$fa-var-hand-scissors-o: "\f257";
|
||||||
$fa-var-hand-spock-o: "\f259";
|
$fa-var-hand-spock-o: "\f259";
|
||||||
$fa-var-hand-stop-o: "\f256";
|
$fa-var-hand-stop-o: "\f256";
|
||||||
|
$fa-var-handshake-o: "\f2b5";
|
||||||
$fa-var-hard-of-hearing: "\f2a4";
|
$fa-var-hard-of-hearing: "\f2a4";
|
||||||
$fa-var-hashtag: "\f292";
|
$fa-var-hashtag: "\f292";
|
||||||
$fa-var-hdd-o: "\f0a0";
|
$fa-var-hdd-o: "\f0a0";
|
||||||
@@ -365,8 +382,12 @@ $fa-var-hourglass-start: "\f251";
|
|||||||
$fa-var-houzz: "\f27c";
|
$fa-var-houzz: "\f27c";
|
||||||
$fa-var-html5: "\f13b";
|
$fa-var-html5: "\f13b";
|
||||||
$fa-var-i-cursor: "\f246";
|
$fa-var-i-cursor: "\f246";
|
||||||
|
$fa-var-id-badge: "\f2c1";
|
||||||
|
$fa-var-id-card: "\f2c2";
|
||||||
|
$fa-var-id-card-o: "\f2c3";
|
||||||
$fa-var-ils: "\f20b";
|
$fa-var-ils: "\f20b";
|
||||||
$fa-var-image: "\f03e";
|
$fa-var-image: "\f03e";
|
||||||
|
$fa-var-imdb: "\f2d8";
|
||||||
$fa-var-inbox: "\f01c";
|
$fa-var-inbox: "\f01c";
|
||||||
$fa-var-indent: "\f03c";
|
$fa-var-indent: "\f03c";
|
||||||
$fa-var-industry: "\f275";
|
$fa-var-industry: "\f275";
|
||||||
@@ -404,6 +425,7 @@ $fa-var-line-chart: "\f201";
|
|||||||
$fa-var-link: "\f0c1";
|
$fa-var-link: "\f0c1";
|
||||||
$fa-var-linkedin: "\f0e1";
|
$fa-var-linkedin: "\f0e1";
|
||||||
$fa-var-linkedin-square: "\f08c";
|
$fa-var-linkedin-square: "\f08c";
|
||||||
|
$fa-var-linode: "\f2b8";
|
||||||
$fa-var-linux: "\f17c";
|
$fa-var-linux: "\f17c";
|
||||||
$fa-var-list: "\f03a";
|
$fa-var-list: "\f03a";
|
||||||
$fa-var-list-alt: "\f022";
|
$fa-var-list-alt: "\f022";
|
||||||
@@ -436,8 +458,10 @@ $fa-var-maxcdn: "\f136";
|
|||||||
$fa-var-meanpath: "\f20c";
|
$fa-var-meanpath: "\f20c";
|
||||||
$fa-var-medium: "\f23a";
|
$fa-var-medium: "\f23a";
|
||||||
$fa-var-medkit: "\f0fa";
|
$fa-var-medkit: "\f0fa";
|
||||||
|
$fa-var-meetup: "\f2e0";
|
||||||
$fa-var-meh-o: "\f11a";
|
$fa-var-meh-o: "\f11a";
|
||||||
$fa-var-mercury: "\f223";
|
$fa-var-mercury: "\f223";
|
||||||
|
$fa-var-microchip: "\f2db";
|
||||||
$fa-var-microphone: "\f130";
|
$fa-var-microphone: "\f130";
|
||||||
$fa-var-microphone-slash: "\f131";
|
$fa-var-microphone-slash: "\f131";
|
||||||
$fa-var-minus: "\f068";
|
$fa-var-minus: "\f068";
|
||||||
@@ -502,6 +526,7 @@ $fa-var-plus: "\f067";
|
|||||||
$fa-var-plus-circle: "\f055";
|
$fa-var-plus-circle: "\f055";
|
||||||
$fa-var-plus-square: "\f0fe";
|
$fa-var-plus-square: "\f0fe";
|
||||||
$fa-var-plus-square-o: "\f196";
|
$fa-var-plus-square-o: "\f196";
|
||||||
|
$fa-var-podcast: "\f2ce";
|
||||||
$fa-var-power-off: "\f011";
|
$fa-var-power-off: "\f011";
|
||||||
$fa-var-print: "\f02f";
|
$fa-var-print: "\f02f";
|
||||||
$fa-var-product-hunt: "\f288";
|
$fa-var-product-hunt: "\f288";
|
||||||
@@ -511,10 +536,12 @@ $fa-var-qrcode: "\f029";
|
|||||||
$fa-var-question: "\f128";
|
$fa-var-question: "\f128";
|
||||||
$fa-var-question-circle: "\f059";
|
$fa-var-question-circle: "\f059";
|
||||||
$fa-var-question-circle-o: "\f29c";
|
$fa-var-question-circle-o: "\f29c";
|
||||||
|
$fa-var-quora: "\f2c4";
|
||||||
$fa-var-quote-left: "\f10d";
|
$fa-var-quote-left: "\f10d";
|
||||||
$fa-var-quote-right: "\f10e";
|
$fa-var-quote-right: "\f10e";
|
||||||
$fa-var-ra: "\f1d0";
|
$fa-var-ra: "\f1d0";
|
||||||
$fa-var-random: "\f074";
|
$fa-var-random: "\f074";
|
||||||
|
$fa-var-ravelry: "\f2d9";
|
||||||
$fa-var-rebel: "\f1d0";
|
$fa-var-rebel: "\f1d0";
|
||||||
$fa-var-recycle: "\f1b8";
|
$fa-var-recycle: "\f1b8";
|
||||||
$fa-var-reddit: "\f1a1";
|
$fa-var-reddit: "\f1a1";
|
||||||
@@ -541,6 +568,7 @@ $fa-var-rss-square: "\f143";
|
|||||||
$fa-var-rub: "\f158";
|
$fa-var-rub: "\f158";
|
||||||
$fa-var-ruble: "\f158";
|
$fa-var-ruble: "\f158";
|
||||||
$fa-var-rupee: "\f156";
|
$fa-var-rupee: "\f156";
|
||||||
|
$fa-var-s15: "\f2cd";
|
||||||
$fa-var-safari: "\f267";
|
$fa-var-safari: "\f267";
|
||||||
$fa-var-save: "\f0c7";
|
$fa-var-save: "\f0c7";
|
||||||
$fa-var-scissors: "\f0c4";
|
$fa-var-scissors: "\f0c4";
|
||||||
@@ -565,6 +593,7 @@ $fa-var-shirtsinbulk: "\f214";
|
|||||||
$fa-var-shopping-bag: "\f290";
|
$fa-var-shopping-bag: "\f290";
|
||||||
$fa-var-shopping-basket: "\f291";
|
$fa-var-shopping-basket: "\f291";
|
||||||
$fa-var-shopping-cart: "\f07a";
|
$fa-var-shopping-cart: "\f07a";
|
||||||
|
$fa-var-shower: "\f2cc";
|
||||||
$fa-var-sign-in: "\f090";
|
$fa-var-sign-in: "\f090";
|
||||||
$fa-var-sign-language: "\f2a7";
|
$fa-var-sign-language: "\f2a7";
|
||||||
$fa-var-sign-out: "\f08b";
|
$fa-var-sign-out: "\f08b";
|
||||||
@@ -581,6 +610,7 @@ $fa-var-smile-o: "\f118";
|
|||||||
$fa-var-snapchat: "\f2ab";
|
$fa-var-snapchat: "\f2ab";
|
||||||
$fa-var-snapchat-ghost: "\f2ac";
|
$fa-var-snapchat-ghost: "\f2ac";
|
||||||
$fa-var-snapchat-square: "\f2ad";
|
$fa-var-snapchat-square: "\f2ad";
|
||||||
|
$fa-var-snowflake-o: "\f2dc";
|
||||||
$fa-var-soccer-ball-o: "\f1e3";
|
$fa-var-soccer-ball-o: "\f1e3";
|
||||||
$fa-var-sort: "\f0dc";
|
$fa-var-sort: "\f0dc";
|
||||||
$fa-var-sort-alpha-asc: "\f15d";
|
$fa-var-sort-alpha-asc: "\f15d";
|
||||||
@@ -626,6 +656,7 @@ $fa-var-subscript: "\f12c";
|
|||||||
$fa-var-subway: "\f239";
|
$fa-var-subway: "\f239";
|
||||||
$fa-var-suitcase: "\f0f2";
|
$fa-var-suitcase: "\f0f2";
|
||||||
$fa-var-sun-o: "\f185";
|
$fa-var-sun-o: "\f185";
|
||||||
|
$fa-var-superpowers: "\f2dd";
|
||||||
$fa-var-superscript: "\f12b";
|
$fa-var-superscript: "\f12b";
|
||||||
$fa-var-support: "\f1cd";
|
$fa-var-support: "\f1cd";
|
||||||
$fa-var-table: "\f0ce";
|
$fa-var-table: "\f0ce";
|
||||||
@@ -635,6 +666,7 @@ $fa-var-tag: "\f02b";
|
|||||||
$fa-var-tags: "\f02c";
|
$fa-var-tags: "\f02c";
|
||||||
$fa-var-tasks: "\f0ae";
|
$fa-var-tasks: "\f0ae";
|
||||||
$fa-var-taxi: "\f1ba";
|
$fa-var-taxi: "\f1ba";
|
||||||
|
$fa-var-telegram: "\f2c6";
|
||||||
$fa-var-television: "\f26c";
|
$fa-var-television: "\f26c";
|
||||||
$fa-var-tencent-weibo: "\f1d5";
|
$fa-var-tencent-weibo: "\f1d5";
|
||||||
$fa-var-terminal: "\f120";
|
$fa-var-terminal: "\f120";
|
||||||
@@ -644,6 +676,17 @@ $fa-var-th: "\f00a";
|
|||||||
$fa-var-th-large: "\f009";
|
$fa-var-th-large: "\f009";
|
||||||
$fa-var-th-list: "\f00b";
|
$fa-var-th-list: "\f00b";
|
||||||
$fa-var-themeisle: "\f2b2";
|
$fa-var-themeisle: "\f2b2";
|
||||||
|
$fa-var-thermometer: "\f2c7";
|
||||||
|
$fa-var-thermometer-0: "\f2cb";
|
||||||
|
$fa-var-thermometer-1: "\f2ca";
|
||||||
|
$fa-var-thermometer-2: "\f2c9";
|
||||||
|
$fa-var-thermometer-3: "\f2c8";
|
||||||
|
$fa-var-thermometer-4: "\f2c7";
|
||||||
|
$fa-var-thermometer-empty: "\f2cb";
|
||||||
|
$fa-var-thermometer-full: "\f2c7";
|
||||||
|
$fa-var-thermometer-half: "\f2c9";
|
||||||
|
$fa-var-thermometer-quarter: "\f2ca";
|
||||||
|
$fa-var-thermometer-three-quarters: "\f2c8";
|
||||||
$fa-var-thumb-tack: "\f08d";
|
$fa-var-thumb-tack: "\f08d";
|
||||||
$fa-var-thumbs-down: "\f165";
|
$fa-var-thumbs-down: "\f165";
|
||||||
$fa-var-thumbs-o-down: "\f088";
|
$fa-var-thumbs-o-down: "\f088";
|
||||||
@@ -653,6 +696,8 @@ $fa-var-ticket: "\f145";
|
|||||||
$fa-var-times: "\f00d";
|
$fa-var-times: "\f00d";
|
||||||
$fa-var-times-circle: "\f057";
|
$fa-var-times-circle: "\f057";
|
||||||
$fa-var-times-circle-o: "\f05c";
|
$fa-var-times-circle-o: "\f05c";
|
||||||
|
$fa-var-times-rectangle: "\f2d3";
|
||||||
|
$fa-var-times-rectangle-o: "\f2d4";
|
||||||
$fa-var-tint: "\f043";
|
$fa-var-tint: "\f043";
|
||||||
$fa-var-toggle-down: "\f150";
|
$fa-var-toggle-down: "\f150";
|
||||||
$fa-var-toggle-left: "\f191";
|
$fa-var-toggle-left: "\f191";
|
||||||
@@ -693,11 +738,16 @@ $fa-var-upload: "\f093";
|
|||||||
$fa-var-usb: "\f287";
|
$fa-var-usb: "\f287";
|
||||||
$fa-var-usd: "\f155";
|
$fa-var-usd: "\f155";
|
||||||
$fa-var-user: "\f007";
|
$fa-var-user: "\f007";
|
||||||
|
$fa-var-user-circle: "\f2bd";
|
||||||
|
$fa-var-user-circle-o: "\f2be";
|
||||||
$fa-var-user-md: "\f0f0";
|
$fa-var-user-md: "\f0f0";
|
||||||
|
$fa-var-user-o: "\f2c0";
|
||||||
$fa-var-user-plus: "\f234";
|
$fa-var-user-plus: "\f234";
|
||||||
$fa-var-user-secret: "\f21b";
|
$fa-var-user-secret: "\f21b";
|
||||||
$fa-var-user-times: "\f235";
|
$fa-var-user-times: "\f235";
|
||||||
$fa-var-users: "\f0c0";
|
$fa-var-users: "\f0c0";
|
||||||
|
$fa-var-vcard: "\f2bb";
|
||||||
|
$fa-var-vcard-o: "\f2bc";
|
||||||
$fa-var-venus: "\f221";
|
$fa-var-venus: "\f221";
|
||||||
$fa-var-venus-double: "\f226";
|
$fa-var-venus-double: "\f226";
|
||||||
$fa-var-venus-mars: "\f228";
|
$fa-var-venus-mars: "\f228";
|
||||||
@@ -722,10 +772,16 @@ $fa-var-wheelchair: "\f193";
|
|||||||
$fa-var-wheelchair-alt: "\f29b";
|
$fa-var-wheelchair-alt: "\f29b";
|
||||||
$fa-var-wifi: "\f1eb";
|
$fa-var-wifi: "\f1eb";
|
||||||
$fa-var-wikipedia-w: "\f266";
|
$fa-var-wikipedia-w: "\f266";
|
||||||
|
$fa-var-window-close: "\f2d3";
|
||||||
|
$fa-var-window-close-o: "\f2d4";
|
||||||
|
$fa-var-window-maximize: "\f2d0";
|
||||||
|
$fa-var-window-minimize: "\f2d1";
|
||||||
|
$fa-var-window-restore: "\f2d2";
|
||||||
$fa-var-windows: "\f17a";
|
$fa-var-windows: "\f17a";
|
||||||
$fa-var-won: "\f159";
|
$fa-var-won: "\f159";
|
||||||
$fa-var-wordpress: "\f19a";
|
$fa-var-wordpress: "\f19a";
|
||||||
$fa-var-wpbeginner: "\f297";
|
$fa-var-wpbeginner: "\f297";
|
||||||
|
$fa-var-wpexplorer: "\f2de";
|
||||||
$fa-var-wpforms: "\f298";
|
$fa-var-wpforms: "\f298";
|
||||||
$fa-var-wrench: "\f0ad";
|
$fa-var-wrench: "\f0ad";
|
||||||
$fa-var-xing: "\f168";
|
$fa-var-xing: "\f168";
|
||||||
|
|||||||
+47
-7
@@ -10,14 +10,53 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import "vendor/breakpoint/breakpoint"; // media query mixins
|
/*
|
||||||
|
Variables
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "mixins";
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Vendor
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/* Breakpoint - media query mixins */
|
||||||
|
@import "vendor/breakpoint/breakpoint";
|
||||||
|
@include breakpoint-set("to ems", true);
|
||||||
|
|
||||||
|
/* Font Awesome - icon font set */
|
||||||
|
@import "vendor/font-awesome/font-awesome";
|
||||||
|
|
||||||
|
/* Magnific Popup - responsive lightbox */
|
||||||
|
@import "vendor/magnific-popup/magnific-popup"; // Magnific Popup
|
||||||
|
|
||||||
|
/* Susy - grid mixins */
|
||||||
|
$susy: (
|
||||||
|
columns: 12,
|
||||||
|
gutters: 1/4,
|
||||||
|
math: fluid,
|
||||||
|
output: float,
|
||||||
|
gutter-position: after,
|
||||||
|
container: $large,
|
||||||
|
global-box-sizing: border-box,
|
||||||
|
// debug: (
|
||||||
|
// image: show,
|
||||||
|
// color: blue,
|
||||||
|
// output: overlay,
|
||||||
|
// toggle: top right,
|
||||||
|
// ),
|
||||||
|
);
|
||||||
@import "vendor/susy/susy";
|
@import "vendor/susy/susy";
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Base
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@import "mixins";
|
||||||
@import "reset";
|
@import "reset";
|
||||||
@import "base";
|
@import "base";
|
||||||
|
|
||||||
@import "utilities";
|
@import "utilities";
|
||||||
@import "animations";
|
@import "animations";
|
||||||
@import "tables";
|
@import "tables";
|
||||||
@@ -27,13 +66,14 @@
|
|||||||
@import "navigation";
|
@import "navigation";
|
||||||
@import "footer";
|
@import "footer";
|
||||||
@import "syntax";
|
@import "syntax";
|
||||||
|
|
||||||
@import "forms";
|
@import "forms";
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Layout specific
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
@import "page";
|
@import "page";
|
||||||
@import "archive";
|
@import "archive";
|
||||||
@import "sidebar";
|
@import "sidebar";
|
||||||
|
|
||||||
@import "vendor/font-awesome/font-awesome";
|
|
||||||
@import "vendor/magnific-popup/magnific-popup";
|
|
||||||
@import "print";
|
@import "print";
|
||||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
+2667
-681
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 434 KiB |
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,14 @@
|
|||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "github-pages", group: :jekyll_plugins
|
||||||
|
|
||||||
|
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
|
|
||||||
|
# If you have any plugins, put them here!
|
||||||
|
# group :jekyll_plugins do
|
||||||
|
# gem "jekyll-paginate"
|
||||||
|
# gem "jekyll-sitemap"
|
||||||
|
# gem "jekyll-gist"
|
||||||
|
# gem "jekyll-feed"
|
||||||
|
# gem "jemoji"
|
||||||
|
# end
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
# Develop override settings
|
||||||
|
|
||||||
|
url: http://localhost:4000
|
||||||
|
|
||||||
|
analytics:
|
||||||
|
provider: false
|
||||||
|
|
||||||
|
comments:
|
||||||
|
disqus:
|
||||||
|
shortname : "mmistakes-dev"
|
||||||
|
|
||||||
|
sass:
|
||||||
|
style: expanded
|
||||||
@@ -0,0 +1,307 @@
|
|||||||
|
# Welcome to Jekyll!
|
||||||
|
#
|
||||||
|
# This config file is meant for settings that affect your entire site, values
|
||||||
|
# which you are expected to set up once and rarely need to edit after that.
|
||||||
|
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||||
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
|
# Site Settings
|
||||||
|
locale : "en-US"
|
||||||
|
title : "Minimal Mistakes"
|
||||||
|
title_separator : "-"
|
||||||
|
name : &name "Michael Rose"
|
||||||
|
description : &description "A flexible Jekyll theme for your blog or site with a minimalist aesthetic."
|
||||||
|
url : https://mmistakes.github.io # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
||||||
|
baseurl : "/minimal-mistakes" # the subpath of your site, e.g. "/blog"
|
||||||
|
repository : "mmistakes/minimal-mistakes"
|
||||||
|
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
||||||
|
# breadcrumbs : false # true, false (default)
|
||||||
|
words_per_minute : 200
|
||||||
|
comments:
|
||||||
|
provider : "staticman" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
|
||||||
|
disqus:
|
||||||
|
shortname :
|
||||||
|
discourse:
|
||||||
|
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
|
||||||
|
facebook:
|
||||||
|
# https://developers.facebook.com/docs/plugins/comments
|
||||||
|
appid :
|
||||||
|
num_posts : # 5 (default)
|
||||||
|
colorscheme : # "light" (default), "dark"
|
||||||
|
staticman:
|
||||||
|
allowedFields : ['name', 'email', 'url', 'message']
|
||||||
|
branch : "master"
|
||||||
|
commitMessage : "New comment."
|
||||||
|
filename : comment-{@timestamp}
|
||||||
|
format : "yml"
|
||||||
|
moderation : true
|
||||||
|
path : "_data/comments/{options.slug}"
|
||||||
|
requiredFields : ['name', 'email', 'message']
|
||||||
|
transforms:
|
||||||
|
email : "md5"
|
||||||
|
generatedFields:
|
||||||
|
date:
|
||||||
|
type : "date"
|
||||||
|
options:
|
||||||
|
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
||||||
|
atom_feed:
|
||||||
|
path : # blank (default) uses feed.xml
|
||||||
|
|
||||||
|
# SEO Related
|
||||||
|
google_site_verification : "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y"
|
||||||
|
bing_site_verification :
|
||||||
|
alexa_site_verification :
|
||||||
|
yandex_site_verification :
|
||||||
|
|
||||||
|
# Social Sharing
|
||||||
|
twitter:
|
||||||
|
username : &twitter "mmistakes"
|
||||||
|
facebook:
|
||||||
|
username : &facebook "michaelrose"
|
||||||
|
app_id :
|
||||||
|
publisher :
|
||||||
|
og_image : "/assets/images/site-logo.png" # Open Graph/Twitter default site image
|
||||||
|
# For specifying social profiles
|
||||||
|
# - https://developers.google.com/structured-data/customize/social-profiles
|
||||||
|
social:
|
||||||
|
type : # Person or Organization (defaults to Person)
|
||||||
|
name : # If the user or organization name differs from the site's name
|
||||||
|
links: # An array of links to social media profiles
|
||||||
|
- "https://twitter.com/mmistakes"
|
||||||
|
- "https://facebook.com/michaelrose"
|
||||||
|
|
||||||
|
# Analytics
|
||||||
|
analytics:
|
||||||
|
provider : "google-universal" # false (default), "google", "google-universal", "custom"
|
||||||
|
google:
|
||||||
|
tracking_id : "UA-2011187-3"
|
||||||
|
|
||||||
|
|
||||||
|
# Site Author
|
||||||
|
author:
|
||||||
|
name : *name
|
||||||
|
avatar : "/assets/images/michael-rose.jpg"
|
||||||
|
bio : "Just another boring, tattooed, time traveling, designer."
|
||||||
|
location : "Buffalo, NY"
|
||||||
|
email :
|
||||||
|
uri : "https://mademistakes.com"
|
||||||
|
bitbucket :
|
||||||
|
codepen :
|
||||||
|
dribbble :
|
||||||
|
flickr :
|
||||||
|
facebook : *facebook
|
||||||
|
foursquare :
|
||||||
|
github : "mmistakes"
|
||||||
|
google_plus :
|
||||||
|
keybase :
|
||||||
|
instagram : "mmistakes"
|
||||||
|
lastfm :
|
||||||
|
linkedin :
|
||||||
|
pinterest :
|
||||||
|
soundcloud :
|
||||||
|
stackoverflow : # http://stackoverflow.com/users/123456/username
|
||||||
|
steam :
|
||||||
|
tumblr :
|
||||||
|
twitter : *twitter
|
||||||
|
vine :
|
||||||
|
weibo :
|
||||||
|
xing :
|
||||||
|
youtube :
|
||||||
|
|
||||||
|
|
||||||
|
# Reading Files
|
||||||
|
include:
|
||||||
|
- .htaccess
|
||||||
|
- _pages
|
||||||
|
exclude:
|
||||||
|
- "*.sublime-project"
|
||||||
|
- "*.sublime-workspace"
|
||||||
|
- vendor
|
||||||
|
- .asset-cache
|
||||||
|
- .bundle
|
||||||
|
- .jekyll-assets-cache
|
||||||
|
- .sass-cache
|
||||||
|
- assets/js/plugins
|
||||||
|
- assets/js/_main.js
|
||||||
|
- assets/js/vendor
|
||||||
|
- Capfile
|
||||||
|
- CHANGELOG
|
||||||
|
- config
|
||||||
|
- Gemfile
|
||||||
|
- Gruntfile.js
|
||||||
|
- gulpfile.js
|
||||||
|
- LICENSE
|
||||||
|
- log
|
||||||
|
- node_modules
|
||||||
|
- package.json
|
||||||
|
- Rakefile
|
||||||
|
- README
|
||||||
|
- tmp
|
||||||
|
keep_files:
|
||||||
|
- .git
|
||||||
|
- .svn
|
||||||
|
encoding: "utf-8"
|
||||||
|
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
|
||||||
|
|
||||||
|
|
||||||
|
# Conversion
|
||||||
|
markdown: kramdown
|
||||||
|
highlighter: rouge
|
||||||
|
lsi: false
|
||||||
|
excerpt_separator: "\n\n"
|
||||||
|
incremental: false
|
||||||
|
|
||||||
|
|
||||||
|
# Markdown Processing
|
||||||
|
kramdown:
|
||||||
|
input: GFM
|
||||||
|
hard_wrap: false
|
||||||
|
auto_ids: true
|
||||||
|
footnote_nr: 1
|
||||||
|
entity_output: as_char
|
||||||
|
toc_levels: 1..6
|
||||||
|
smart_quotes: lsquo,rsquo,ldquo,rdquo
|
||||||
|
enable_coderay: false
|
||||||
|
|
||||||
|
|
||||||
|
# Collections
|
||||||
|
collections:
|
||||||
|
docs:
|
||||||
|
output: true
|
||||||
|
permalink: /:collection/:path/
|
||||||
|
recipes:
|
||||||
|
output: true
|
||||||
|
permalink: /:collection/:path/
|
||||||
|
pets:
|
||||||
|
output: true
|
||||||
|
permalink: /:collection/:path/
|
||||||
|
portfolio:
|
||||||
|
output: true
|
||||||
|
permalink: /:collection/:path/
|
||||||
|
|
||||||
|
|
||||||
|
# Defaults
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
read_time: true
|
||||||
|
comments: true
|
||||||
|
share: true
|
||||||
|
related: true
|
||||||
|
# _pages
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: pages
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
# _docs
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: docs
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
read_time: false
|
||||||
|
author_profile: false
|
||||||
|
share: false
|
||||||
|
comments: false
|
||||||
|
sidebar:
|
||||||
|
nav: "docs"
|
||||||
|
# _recipes
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: recipes
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
share: true
|
||||||
|
comments: true
|
||||||
|
# _pets
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: pets
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
share: true
|
||||||
|
comment: true
|
||||||
|
# _portfolio
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: portfolio
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: false
|
||||||
|
share: true
|
||||||
|
|
||||||
|
|
||||||
|
# Sass/SCSS
|
||||||
|
sass:
|
||||||
|
sass_dir: _sass
|
||||||
|
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
|
||||||
|
|
||||||
|
|
||||||
|
# Outputting
|
||||||
|
permalink: /:categories/:title/
|
||||||
|
# paginate: 5 # amount of posts to show
|
||||||
|
# paginate_path: /page:num/
|
||||||
|
timezone: America/New_York # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
|
|
||||||
|
|
||||||
|
# Plugins
|
||||||
|
gems:
|
||||||
|
- jekyll-paginate
|
||||||
|
- jekyll-sitemap
|
||||||
|
- jekyll-gist
|
||||||
|
- jekyll-feed
|
||||||
|
- jemoji
|
||||||
|
|
||||||
|
# mimic GitHub Pages with --safe
|
||||||
|
whitelist:
|
||||||
|
- jekyll-paginate
|
||||||
|
- jekyll-sitemap
|
||||||
|
- jekyll-gist
|
||||||
|
- jekyll-feed
|
||||||
|
- jemoji
|
||||||
|
|
||||||
|
|
||||||
|
# Archives
|
||||||
|
# Type
|
||||||
|
# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)
|
||||||
|
# - Jekyll Archives plugin archive pages ~> type: jekyll-archives
|
||||||
|
# Path (examples)
|
||||||
|
# - Archive page should exist at path when using Liquid method or you can
|
||||||
|
# expect broken links (especially with breadcrumbs enabled)
|
||||||
|
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
|
||||||
|
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
|
||||||
|
# - <base_path/my-awesome-category/index.html ~> path: /
|
||||||
|
category_archive:
|
||||||
|
type: liquid
|
||||||
|
path: /categories/
|
||||||
|
tag_archive:
|
||||||
|
type: liquid
|
||||||
|
path: /tags/
|
||||||
|
# https://github.com/jekyll/jekyll-archives
|
||||||
|
# jekyll-archives:
|
||||||
|
# enabled:
|
||||||
|
# - categories
|
||||||
|
# - tags
|
||||||
|
# layouts:
|
||||||
|
# category: archive-taxonomy
|
||||||
|
# tag: archive-taxonomy
|
||||||
|
# permalinks:
|
||||||
|
# category: /categories/:name/
|
||||||
|
# tag: /tags/:name/
|
||||||
|
|
||||||
|
|
||||||
|
# HTML Compression
|
||||||
|
# - http://jch.penibelst.de/
|
||||||
|
compress_html:
|
||||||
|
clippings: all
|
||||||
|
ignore:
|
||||||
|
envs: development
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Authors
|
||||||
|
|
||||||
|
Billy Rick:
|
||||||
|
name : "Billy Rick"
|
||||||
|
uri : "http://thewhip.com"
|
||||||
|
email : "billy@rick.com"
|
||||||
|
bio : "What do you want, jewels? I am a very extravagant man."
|
||||||
|
avatar : "/assets/images/bio-photo-2.jpg"
|
||||||
|
twitter : "extravagantman"
|
||||||
|
google_plus : "BillyRick"
|
||||||
|
|
||||||
|
Cornelius Fiddlebone:
|
||||||
|
name : "Cornelius Fiddlebone"
|
||||||
|
email : "cornelius@thewhip.com"
|
||||||
|
bio : "I ordered what?"
|
||||||
|
avatar : "/assets/images/bio-photo.jpg"
|
||||||
|
twitter : "rhymeswithsackit"
|
||||||
|
google_plus : "CorneliusFiddlebone"
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: Cooooookies! Yum! (Thanks for this awesome them.. and... recipe..)
|
||||||
|
name: Markus
|
||||||
|
email: f6f9be6ae6e174661ea7c87a520ffef8
|
||||||
|
url: 'http://www.markusgiesen.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-09-14T16:23:32.840Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "DELETE ME\r\n\r\njust trying out the comment system"
|
||||||
|
name: Donald Duck
|
||||||
|
email: cfedc848417c6ed0ce1eed35e741b26e
|
||||||
|
url: 'http://disney.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-11-03T22:51:07.174Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: wonderful theme!
|
||||||
|
name: burner
|
||||||
|
email: 7327e2b38683d37634ada1dfa1d9f6e7
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-11-18T22:27:26.851Z'
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
_id: b3f80ef0-b7b9-11e6-9b81-0bc3350a75b6
|
||||||
|
message: Awesome....
|
||||||
|
name: Joko
|
||||||
|
email: e173d909aa244a3fbf81908da947ff94
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-12-01T11:31:30.231Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "\r\n\r\n“It's hard to be an artist. It's hard to be anything. It's hard to be.”"
|
||||||
|
name: Bill Murray
|
||||||
|
email: b0caa2a71f5066b3d90711c224578c21
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-11T19:33:25.928Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "> “I never had seen Seinfeld, and they said, ‘Oh, it’s the last episode.’ And I said, ‘Oh, I’ll watch Seinfeld.’ And it was terrible.”\r\n>\r\n> *— From a 2014 interview with Howard Stern*"
|
||||||
|
name: Anonymous
|
||||||
|
email: 8c7e898f1b570760f834ecc03edf6b35
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-11T19:36:01.033Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: test
|
||||||
|
name: test
|
||||||
|
email: c028c75814332d38e088e43a252b7092
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-27T14:34:32.281Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: Test message
|
||||||
|
name: Artur
|
||||||
|
email: 1cbebf1e64617de54d7858ffc6d96935
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-09-19T17:41:00.416Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: 'Cool, now how do I make a splash page my default home page?'
|
||||||
|
name: Brett
|
||||||
|
email: 374ca0d969bee21fb740b11da4182306
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-11-15T23:52:10.556Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "Simple. Save it in your site root folder as `index.md` or you can also save it in `_pages` folder with whatever name you want and set `permalink: /` in its YAML Front Matter.\r\n\r\nIf you want to see an example check [`_pages/home.md`](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/home.md) used for this demo site."
|
||||||
|
name: Michael Rose
|
||||||
|
email: 1ce71bc10b86565464b612093d89707e
|
||||||
|
url: 'https://mademistakes.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-11-16T03:07:57.173Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: test
|
||||||
|
name: test
|
||||||
|
email: 01540d5a1cdb4d03edb23805df684762
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-24T12:05:22.844Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: test
|
||||||
|
name: ppmeng
|
||||||
|
email: b9c981f67166172c8804b5f9066a404a
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-25T17:37:17.780Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "Here's a test comment with a Markdown code block:\r\n\r\n```scss\r\nh1, h2, h3, h4, h5, h6 {\r\n margin: 2em 0 0.5em;\r\n line-height: 1.2;\r\n font-family: $header-font-family;\r\n font-weight: bold;\r\n}\r\n```"
|
||||||
|
name: Michael Rose
|
||||||
|
email: 1ce71bc10b86565464b612093d89707e
|
||||||
|
url: 'https://mademistakes.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-12T02:41:04.706Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: Is there a way to add custom syntax?
|
||||||
|
name: Anbu
|
||||||
|
email: 559d2c680d83bc6246b4483a8d9ad7fa
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-11-12T05:26:47.184Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: mm
|
||||||
|
name: mm
|
||||||
|
email: 9d0057d30e7a5e44f6378ea2c9c11f5d
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-24T18:49:19.649Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: This is a tst
|
||||||
|
name: GnCavalry
|
||||||
|
email: 5669e6e45ccab46a7384a8c8ab88edd2
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-09-02T03:15:37.068Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "This is a test comment with some **Markdown** sprinkled about for *testing purposes*.\r\n\r\n### Subheading in a comment? Madness!\r\n\r\nNam et risus nec ipsum efficitur facilisis. Aenean tincidunt dapibus odio, eget rutrum urna lacinia non. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."
|
||||||
|
name: Michael Rose
|
||||||
|
email: 1ce71bc10b86565464b612093d89707e
|
||||||
|
url: 'https://mademistakes.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-11T19:03:24.929Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: '"How much wood would a woodchuck chuck if a woodchuck could chuck wood?"'
|
||||||
|
name: Jackalope
|
||||||
|
email: cba827e665ae179e1d1ae007a6c3c1ab
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-11T19:04:06.958Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: '"How much wood would a woodchuck chuck if a woodchuck could chuck wood?"'
|
||||||
|
name: Jackalope Duplicate
|
||||||
|
email: cba827e665ae179e1d1ae007a6c3c1ab
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-11T19:04:25.085Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: "Images can be added to a comment using Markdown like this\r\n\r\n```markdown\r\n\r\n```\r\n"
|
||||||
|
name: Michael Rose
|
||||||
|
email: 1ce71bc10b86565464b612093d89707e
|
||||||
|
url: 'https://mademistakes.com'
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-11T19:08:12.789Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: 'Wow, this is awesome'
|
||||||
|
name: kkangshawn
|
||||||
|
email: db92190b2ee6118786fd1f25dceb448c
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-21T23:49:06.270Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: Test
|
||||||
|
name: Test
|
||||||
|
email: b642b4217b34b1e8d3bd915fc65c4452
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-08-22T03:03:07.694Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: This is a test
|
||||||
|
name: TestName
|
||||||
|
email: 97dfebf4098c0f5c16bca61e2b76c373
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-09-02T03:23:18.756Z'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
message: just testing as well
|
||||||
|
name: js
|
||||||
|
email: f349d4bc6fa472971f68bcccc04337f9
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2016-09-19T23:49:09.452Z'
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
# example navigation
|
||||||
|
foo:
|
||||||
|
- title: "Parent Link 1"
|
||||||
|
url: /parent-1-page-url/
|
||||||
|
children:
|
||||||
|
- title: "Child Link 1"
|
||||||
|
url: /child-1-page-url/
|
||||||
|
- title: "Child Link 2"
|
||||||
|
url: /child-2-page-url/
|
||||||
|
- title: "Parent Link 2"
|
||||||
|
url: /parent-2-page-url/
|
||||||
|
children:
|
||||||
|
- title: "Child Link 1"
|
||||||
|
url: /child-1-page-url/
|
||||||
|
- title: "Child Link 2"
|
||||||
|
url: /child-2-page-url/
|
||||||
|
- title: "Child Link 3"
|
||||||
|
url: /child-3-page-url/
|
||||||
|
|
||||||
|
|
||||||
|
# main links links
|
||||||
|
main:
|
||||||
|
- title: "Quick-Start Guide"
|
||||||
|
url: /docs/quick-start-guide/
|
||||||
|
- title: "About"
|
||||||
|
url: /about/
|
||||||
|
- title: "Sample Posts"
|
||||||
|
url: /year-archive/
|
||||||
|
- title: "Sample Collections"
|
||||||
|
url: /collection-archive/
|
||||||
|
- title: "Terms & Privacy Policy"
|
||||||
|
url: /terms/
|
||||||
|
|
||||||
|
|
||||||
|
# documentation links
|
||||||
|
docs:
|
||||||
|
- title: Getting Started
|
||||||
|
children:
|
||||||
|
- title: "Quick-Start Guide"
|
||||||
|
url: /docs/quick-start-guide/
|
||||||
|
- title: "Structure"
|
||||||
|
url: /docs/structure/
|
||||||
|
- title: "Installation"
|
||||||
|
url: /docs/installation/
|
||||||
|
- title: "Upgrading"
|
||||||
|
url: /docs/upgrading/
|
||||||
|
- title: Customization
|
||||||
|
children:
|
||||||
|
- title: "Configuration"
|
||||||
|
url: /docs/configuration/
|
||||||
|
- title: "Overriding Theme Defaults"
|
||||||
|
url: /docs/overriding-theme-defaults/
|
||||||
|
- title: "Navigation"
|
||||||
|
url: /docs/navigation/
|
||||||
|
- title: "UI Text"
|
||||||
|
url: /docs/ui-text/
|
||||||
|
- title: "Authors"
|
||||||
|
url: /docs/authors/
|
||||||
|
- title: "Layouts"
|
||||||
|
url: /docs/layouts/
|
||||||
|
- title: Content
|
||||||
|
children:
|
||||||
|
- title: "Working with Posts"
|
||||||
|
url: /docs/posts/
|
||||||
|
- title: "Working with Pages"
|
||||||
|
url: /docs/pages/
|
||||||
|
- title: "Working with Collections"
|
||||||
|
url: /docs/collections/
|
||||||
|
- title: "Helpers"
|
||||||
|
url: /docs/helpers/
|
||||||
|
- title: "Utility Classes"
|
||||||
|
url: /docs/utility-classes/
|
||||||
|
- title: Extras
|
||||||
|
children:
|
||||||
|
- title: "Stylesheets"
|
||||||
|
url: /docs/stylesheets/
|
||||||
|
- title: "JavaScript"
|
||||||
|
url: /docs/javascript/
|
||||||
|
- title: Meta
|
||||||
|
children:
|
||||||
|
- title: "History"
|
||||||
|
url: /docs/history/
|
||||||
|
- title: "Contributing"
|
||||||
|
url: /docs/contributing/
|
||||||
|
- title: "Old 2.2 Docs"
|
||||||
|
url: /docs/docs-2-2/
|
||||||
|
- title: "License"
|
||||||
|
url: /docs/license/
|
||||||
|
- title: "Terms & Privacy Policy"
|
||||||
|
url: /terms/
|
||||||
|
|
||||||
|
# sidebar navigation list sample
|
||||||
|
sidebar-sample:
|
||||||
|
- title: "Parent Page A"
|
||||||
|
children:
|
||||||
|
- title: "Child Page A1"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page A2"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page A3"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page A4"
|
||||||
|
url: /
|
||||||
|
- title: "Parent Page B"
|
||||||
|
children:
|
||||||
|
- title: "Child Page B1"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page B2"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page B3"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page B4"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page B5"
|
||||||
|
url: /
|
||||||
|
- title: "Parent Page C"
|
||||||
|
children:
|
||||||
|
- title: "Child Page C1"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page C2"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page C3"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page C4"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page C5"
|
||||||
|
url: /
|
||||||
|
- title: "Parent Page D"
|
||||||
|
children:
|
||||||
|
- title: "Child Page D1"
|
||||||
|
url: /
|
||||||
|
- title: "Child Page D2"
|
||||||
|
url: /
|
||||||
@@ -0,0 +1,416 @@
|
|||||||
|
# User interface text and labels
|
||||||
|
|
||||||
|
# English (default)
|
||||||
|
# -----------------
|
||||||
|
en: &DEFAULT_EN
|
||||||
|
page : "Page"
|
||||||
|
pagination_previous : "Previous"
|
||||||
|
pagination_next : "Next"
|
||||||
|
breadcrumb_home_label : "Home"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "Toggle Menu"
|
||||||
|
toc_label : "On This Page"
|
||||||
|
ext_link_label : "Direct Link"
|
||||||
|
less_than : "less than"
|
||||||
|
minute_read : "minute read"
|
||||||
|
share_on_label : "Share on"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tags:"
|
||||||
|
categories_label : "Categories:"
|
||||||
|
date_label : "Updated:"
|
||||||
|
comments_label : "Leave a Comment"
|
||||||
|
comments_title : "Comments"
|
||||||
|
more_label : "Learn More"
|
||||||
|
related_label : "You May Also Enjoy"
|
||||||
|
follow_label : "Follow:"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "Website"
|
||||||
|
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:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-CA:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-GB:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-AU:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
|
||||||
|
# Spanish
|
||||||
|
# --------------
|
||||||
|
es: &DEFAULT_ES
|
||||||
|
page : "Página"
|
||||||
|
pagination_previous : "Anterior"
|
||||||
|
pagination_next : "Siguiente"
|
||||||
|
breadcrumb_home_label : "Inicio"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
|
toc_label : "Contenidos"
|
||||||
|
ext_link_label : "Enlace"
|
||||||
|
less_than : "menos de"
|
||||||
|
minute_read : "minuto de lectura"
|
||||||
|
share_on_label : "Compartir"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Etiquetas:"
|
||||||
|
categories_label : "Categorías:"
|
||||||
|
date_label : "Actualizado:"
|
||||||
|
comments_label : "Comentar"
|
||||||
|
comments_title :
|
||||||
|
more_label : "Ver más"
|
||||||
|
related_label : "Podrías ver también"
|
||||||
|
follow_label : "Seguir:"
|
||||||
|
feed_label : "Feed"
|
||||||
|
powered_by : "Powered by"
|
||||||
|
website_label : "Sitio web"
|
||||||
|
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:
|
||||||
|
<<: *DEFAULT_ES
|
||||||
|
es-CO:
|
||||||
|
<<: *DEFAULT_ES
|
||||||
|
|
||||||
|
# French
|
||||||
|
# -----------------
|
||||||
|
fr: &DEFAULT_FR
|
||||||
|
page : "Page"
|
||||||
|
pagination_previous : "Précédent"
|
||||||
|
pagination_next : "Suivant"
|
||||||
|
breadcrumb_home_label : "Accueil"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label :
|
||||||
|
toc_label : "Sur cette page"
|
||||||
|
ext_link_label : "Lien direct"
|
||||||
|
less_than : "moins de"
|
||||||
|
minute_read : "minute de lecture"
|
||||||
|
share_on_label : "Partager sur"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Tags :"
|
||||||
|
categories_label : "Catégories :"
|
||||||
|
date_label : "Mis à jour :"
|
||||||
|
comments_label : "Laisser un commentaire"
|
||||||
|
comments_title :
|
||||||
|
more_label : "Lire plus"
|
||||||
|
related_label : "Vous pourriez aimer aussi"
|
||||||
|
follow_label : "Contact"
|
||||||
|
feed_label : "Flux"
|
||||||
|
powered_by : "Propulsé par"
|
||||||
|
website_label : "Site"
|
||||||
|
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:
|
||||||
|
<<: *DEFAULT_FR
|
||||||
|
fr-BE:
|
||||||
|
<<: *DEFAULT_FR
|
||||||
|
fr-CH:
|
||||||
|
<<: *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
|
||||||
|
# --------------
|
||||||
@@ -0,0 +1,153 @@
|
|||||||
|
---
|
||||||
|
title: "Quick-Start Guide"
|
||||||
|
permalink: /docs/quick-start-guide/
|
||||||
|
excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages."
|
||||||
|
modified: 2016-11-03T10:01:43-04:00
|
||||||
|
redirect_from:
|
||||||
|
- /theme-setup/
|
||||||
|
---
|
||||||
|
|
||||||
|
Minimal Mistakes has been developed as a [Jekyll theme gem](http://jekyllrb.com/docs/themes/) for easier use. It is also 100% compatible with GitHub Pages --- just with a more involved installation process.
|
||||||
|
|
||||||
|
{% include toc %}
|
||||||
|
|
||||||
|
## Installing the Theme
|
||||||
|
|
||||||
|
If you're running Jekyll v3.3+ and self-hosting you can quickly install the theme as Ruby gem.
|
||||||
|
If you're hosting with GitHub Pages you'll have to use the old "repo fork" method or directly copy all of the theme files[^structure] into your site.
|
||||||
|
|
||||||
|
[^structure]: See [**Structure** page]({{ "/docs/structure/" | absolute_url }}) for a list of theme files and what they do.
|
||||||
|
|
||||||
|
**ProTip:** Be sure to remove `/docs` and `/test` if you forked Minimal Mistakes. These folders contain documentation and test pages for the theme and you probably don't littering up in your repo.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### Ruby Gem Method
|
||||||
|
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
### GitHub Pages Compatible Method
|
||||||
|
|
||||||
|
Fork the [Minimal Mistakes theme](https://github.com/mmistakes/minimal-mistakes/fork), then rename the repo to **USERNAME.github.io** --- replacing **USERNAME** with your GitHub username.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-theme-fork-repo.png' | absolute_url }}" alt="fork Minimal Mistakes">
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
**Note:** Your Jekyll site should be viewable immediately at <http://USERNAME.github.io>. If it's not, you can force a rebuild by **Customizing Your Site** (see below for more details).
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
If you're hosting several Jekyll based sites under the same GitHub username you will have to use Project Pages instead of User Pages. Essentially you rename the repo to something other than **USERNAME.github.io** and create a `gh-pages` branch off of `master`. For more details on how to set things up check [GitHub's documentation](https://help.github.com/articles/user-organization-and-project-pages/).
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-gh-pages.gif' | absolute_url }}" alt="creating a new branch on GitHub">
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Replace the contents of `Gemfile` found in the root of your Jekyll site with the following:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "github-pages", group: :jekyll_plugins
|
||||||
|
|
||||||
|
group :jekyll_plugins do
|
||||||
|
gem "jekyll-paginate"
|
||||||
|
gem "jekyll-sitemap"
|
||||||
|
gem "jekyll-gist"
|
||||||
|
gem "jekyll-feed"
|
||||||
|
gem "jemoji"
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run `bundle update` and verify that all gems install properly.
|
||||||
|
|
||||||
|
### Remove the Unnecessary
|
||||||
|
|
||||||
|
If you forked or downloaded the `minimal-mistakes-jekyll` repo you can safely remove the following folders and files:
|
||||||
|
|
||||||
|
- `.editorconfig`
|
||||||
|
- `.gitattributes`
|
||||||
|
- `.github`
|
||||||
|
- `/docs`
|
||||||
|
- `/test`
|
||||||
|
- `CHANGELOG.md`
|
||||||
|
- `minimal-mistakes-jekyll.gemspec`
|
||||||
|
- `README.md`
|
||||||
|
- `screenshot-layouts.png`
|
||||||
|
- `screenshot.png`
|
||||||
|
|
||||||
|
## Setup Your Site
|
||||||
|
|
||||||
|
Depending on the path you took installing Minimal Mistakes you'll setup things a little differently.
|
||||||
|
|
||||||
|
### Starting Fresh
|
||||||
|
|
||||||
|
Starting with an empty folder and `Gemfile` you'll need to copy or re-create this [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) file. For a full explanation of every setting be sure to read the [**Configuration**]({{ "/docs/configuration/" | absolute_url }}) section.
|
||||||
|
|
||||||
|
After taking care of Jekyll's configuration file, you'll need to create and edit the following data files.
|
||||||
|
|
||||||
|
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ "/docs/ui-text/" | absolute_url }})
|
||||||
|
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ "/docs/navigation/" | absolute_url }})
|
||||||
|
|
||||||
|
### Starting from `jekyll new`
|
||||||
|
|
||||||
|
Scaffolding out a site with the `jekyll new` command requires you to modify a few files that it creates.
|
||||||
|
|
||||||
|
Edit `_config.yml` and create `_data/ui-text.yml` and `_data/navigation.yml` same as above. Then:
|
||||||
|
|
||||||
|
- Replace `<site root>/index.md` with a modified [Minimal Mistakes `index.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/index.html). Be sure to enable pagination if using the [`home` layout]({{ "/docs/layouts/#home-page" | absolute_url }}) by adding the necessary lines to **_config.yml**.
|
||||||
|
- Change `layout: post` in `_posts/0000-00-00-welcome-to-jekyll.markdown` to `layout: single`.
|
||||||
|
- Remove `about.md`, or at the very least change `layout: page` to `layout: single` and remove references to `icon-github.html` (or [copy to your `_includes`](https://github.com/jekyll/minima/tree/master/_includes) if using it).
|
||||||
|
|
||||||
|
### Migrating to Gem Version
|
||||||
|
|
||||||
|
If you're migrating a site already using Minimal Mistakes and haven't customized any of the theme files things upgrading will be easier for you.
|
||||||
|
|
||||||
|
Start by removing `_includes`, `_layouts`, `_sass`, `assets` folders and all files within. You won't need these anymore as they're bundled with the theme gem.
|
||||||
|
|
||||||
|
If you customized any of these files leave them alone, and only remove the untouched ones. If done correctly your modified versions should [override](http://jekyllrb.com/docs/themes/#overriding-theme-defaults) the versions bundled with the theme and be used by Jekyll instead.
|
||||||
|
|
||||||
|
#### Update Gemfile
|
||||||
|
|
||||||
|
Replace `gem "github-pages` or `gem "jekyll"` with `gem "jekyll", "~> 3.3.0"`. You'll need the latest version of Jekyll[^update-jekyll] for Minimal Mistakes to work and load all of the theme's assets properly, this line forces Bundler to do that.
|
||||||
|
|
||||||
|
[^update-jekyll]: You could also run `bundle update jekyll` to update Jekyll.
|
||||||
|
|
||||||
|
Add the Minimal Mistakes theme gem:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
gem "minimal-mistakes-jekyll"
|
||||||
|
```
|
||||||
|
|
||||||
|
When finished your `Gemfile` should look something like this:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "jekyll", "~> 3.3.0"
|
||||||
|
gem "minimal-mistakes-jekyll"
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run `bundle update` and add `theme: minimal-mistakes-jekyll` to your `_config.yml`.
|
||||||
|
|
||||||
|
**v4 Breaking Change:** Paths for image headers, overlays, teasers, [galleries]({{ "/docs/helpers/#gallery" | absolute_url }}), and [feature rows]({{ "/docs/helpers/#feature-row" | absolute_url }}) have changed and now require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: /assets/images/filename.jpg`. The preferred location is now `/assets/images/` but can be placed elsewhere or external hosted. This all applies for image references in `_config.yml` and `author.yml` as well.
|
||||||
|
{: .notice--danger}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
That's it! If all goes well running `bundle exec jekyll serve` should spin-up your site.
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
---
|
||||||
|
title: "Structure"
|
||||||
|
permalink: /docs/structure/
|
||||||
|
excerpt: "How the theme is organized and what all of the files are for."
|
||||||
|
modified: 2016-10-06T22:39:43-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Nothing clever here :wink:. Layouts, data files, and includes are all placed in their default locations. Stylesheets and scripts in `assets`, and a few development related files in the project's root directory.
|
||||||
|
|
||||||
|
**Please note:** If you installed Minimal Mistakes via the Ruby Gem method, theme files like `_layouts`, `_includes`, `_sass`, and `/assets/` will be missing. This is normal as they are bundled with the [`minimal-mistakes-jekyll`](https://rubygems.org/gems/minimal-mistakes-jekyll) Ruby gem.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
```bash
|
||||||
|
minimal-mistakes
|
||||||
|
├── _data # data files for customizing the theme
|
||||||
|
| ├── navigations.yml # main navigation links
|
||||||
|
| └── ui-text.yml # text used throughout the theme's UI
|
||||||
|
├── _includes
|
||||||
|
| ├── analytics-providers # snippets for analytics (Google and custom)
|
||||||
|
| ├── comments-providers # snippets for comments (Disqus, Facebook, Google+, and custom)
|
||||||
|
| ├── footer # custom snippets to add to site footer
|
||||||
|
| ├── head # custom snippets to add to site head
|
||||||
|
| ├── base_path # site.url + site.baseurl shortcut
|
||||||
|
| ├── feature_row # feature row helper
|
||||||
|
| ├── gallery # image gallery helper
|
||||||
|
| ├── group-by-array # group by array helper for archives
|
||||||
|
| ├── nav_list # navigation list helper
|
||||||
|
| ├── toc # table of contents helper
|
||||||
|
| └── ...
|
||||||
|
├── _layouts
|
||||||
|
| ├── archive-taxonomy.html # tag/category archive for Jekyll Archives plugin
|
||||||
|
| ├── archive.html # archive listing documents in an array
|
||||||
|
| ├── compress.html # compresses HTML in pure Liquid
|
||||||
|
| ├── default.html # base for all other layouts
|
||||||
|
| ├── home.html # home page
|
||||||
|
| ├── single.html # single document (post/page/etc)
|
||||||
|
| └── splash.html # splash page
|
||||||
|
├── _sass # SCSS partials
|
||||||
|
├── assets
|
||||||
|
| ├── css
|
||||||
|
| | └── main.scss # main stylesheet, loads SCSS partials from _sass
|
||||||
|
| ├── fonts
|
||||||
|
| | └── fontawesome-webfont # Font Awesome webfonts
|
||||||
|
| ├── images # image assets for posts/pages/collections/etc.
|
||||||
|
| ├── js
|
||||||
|
| | ├── plugins # jQuery plugins
|
||||||
|
| | ├── vendor # vendor scripts
|
||||||
|
| | ├── _main.js # plugin settings and other scripts to load after jQuery
|
||||||
|
| | └── main.min.js # optimized and concatenated script file loaded before </body>
|
||||||
|
├── _config.yml # site configuration
|
||||||
|
├── Gemfile # gem file dependencies
|
||||||
|
├── index.html # paginated home page showing recent posts
|
||||||
|
└── package.json # NPM build scripts
|
||||||
|
```
|
||||||
@@ -0,0 +1,107 @@
|
|||||||
|
---
|
||||||
|
title: "Installation"
|
||||||
|
permalink: /docs/installation/
|
||||||
|
excerpt: "Instructions for installing the theme for new and existing Jekyll based sites."
|
||||||
|
modified: 2016-11-03T10:13:32-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
## Install the Theme
|
||||||
|
|
||||||
|
There are several ways to install the theme:
|
||||||
|
|
||||||
|
**1.** For a **new site**, install the `minimal-mistakes-jekyll` theme gem or fork the Minimal Mistakes repo on GitHub following the steps outlined in the [*Quick-Start Guide*]({{ "/docs/quick-start-guide/" | absolute_url }}).
|
||||||
|
|
||||||
|
**2.** For an **existing site** follow the **Ruby Gem Method** steps outlined in the [*Quick-Start Guide*]({{ "/docs/quick-start-guide/" | absolute_url }}). If you plan to host with GitHub Pages I suggest you fork and rename the theme's repo, then clone it locally by running `git clone https://github.com/USERNAME/REPONAME.git` --- replacing **USERNAME** and **REPONAME** with your own.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-github-copy-repo-url.jpg' | absolute_url }}" alt="copy GitHub repo URL">
|
||||||
|
<figcaption>Tap the copy to clipboard button (outlined in red above) to grab your GitHub repo's path.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
**3.** And for those who don't want to mess with Git, you can download the theme as a ZIP file to work with locally.
|
||||||
|
|
||||||
|
[<i class="fa fa-download"></i> Download Minimal Mistakes Theme](https://github.com/mmistakes/minimal-mistakes/archive/master.zip){: .btn .btn--success}
|
||||||
|
|
||||||
|
**ProTip:** Be sure to remove `/docs` and `/test` if you forked Minimal Mistakes. These folders contain documentation and test pages for the theme and you probably don't littering up in your repo.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
To move over any existing content you'll want to copy the contents of your `_posts` folder to the new site. Along with any pages, collections, data files, images, or other assets you may have.
|
||||||
|
|
||||||
|
Next you'll need to convert posts and pages to use the proper layouts and settings. In most cases you simply need to update `_config.yml` to your liking and set the correct `layout` in their YAML Front Matter.
|
||||||
|
|
||||||
|
[**Front Matter defaults**](https://jekyllrb.com/docs/configuration/#front-matter-defaults) are your friend and I encourage you to leverage them instead of setting a layout and other global options in each post/page's YAML Front Matter.
|
||||||
|
|
||||||
|
Posts can be configured to use the `single` layout --- with reading time, comments, social sharing links, and related posts enabled. Adding the following to `_config.yml` will set these defaults for all posts:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
read_time: true
|
||||||
|
comments: true
|
||||||
|
share: true
|
||||||
|
related: true
|
||||||
|
```
|
||||||
|
|
||||||
|
**Post/Page Settings**: Be sure to read through the "Working with..." documentation to learn about all the options available to you. The theme has been designed to be flexible --- with numerous settings for each.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## Install Dependencies
|
||||||
|
|
||||||
|
If this is your first time using Jekyll be sure to read through the [official documentation](https://jekyllrb.com/docs/home/) before jumping in. This guide assumes you have Ruby v2 installed and a basic understanding of how Jekyll works.
|
||||||
|
|
||||||
|
To keep your sanity and better manage dependencies I strongly urge you to [install Bundler](http://bundler.io/) with `gem install bundler` and use the following `Gemfile`:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
# Hello! This is where you manage which Jekyll version is used to run.
|
||||||
|
# When you want to use a different version, change it below, save the
|
||||||
|
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
||||||
|
#
|
||||||
|
# bundle exec jekyll serve
|
||||||
|
#
|
||||||
|
# This will help ensure the proper Jekyll version is running.
|
||||||
|
# Happy Jekylling!
|
||||||
|
|
||||||
|
# gem "github-pages", group: :jekyll_plugins
|
||||||
|
|
||||||
|
# To upgrade, run `bundle update`.
|
||||||
|
|
||||||
|
gem "jekyll", "~> 3.3.0"
|
||||||
|
gem "minimal-mistakes-jekyll"
|
||||||
|
|
||||||
|
# If you have any plugins, put them here!
|
||||||
|
group :jekyll_plugins do
|
||||||
|
gem "jekyll-paginate"
|
||||||
|
gem "jekyll-sitemap"
|
||||||
|
gem "jekyll-gist"
|
||||||
|
gem "jekyll-feed"
|
||||||
|
gem "jemoji"
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|
To maintain a local Jekyll environment in sync with GitHub Pages replace the `gem "jekyll"` line with `gem "github-pages", group: :jekyll_plugins` and run the following:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ bundle install
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** The [GitHub Pages gem](https://github.com/github/pages-gem) installs additional dependencies that may need to be added to your `Gemfile` if you decide to remove the `gem "github-pages"` eg. `jekyll-paginate`, `jekyll-sitemap`, `jekyll-feed`, etc.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-bundle-install.gif' | absolute_url }}" alt="bundle install in Terminal window">
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Depending on what gems you already have installed you may have to run `bundle update` to clear up any dependency issues. Bundler is usually pretty good at letting you know what gems need updating or have issues installing, to further investigate.
|
||||||
|
|
||||||
|
When using Bundler to manage gems you'll want to run Jekyll using `bundle exec jekyll serve` and `bundle exec jekyll build`.
|
||||||
|
|
||||||
|
Doing so executes the gem versions specified in `Gemfile.lock`. Sure you can test your luck with a naked `jekyll serve`, but I wouldn't suggest it. A lot of Jekyll errors originate from outdated or conflicting gems fighting with each other. So do yourself a favor and just use Bundler.
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
title: "Upgrading"
|
||||||
|
permalink: /docs/upgrading/
|
||||||
|
excerpt: "Instructions and suggestions for upgrading the theme."
|
||||||
|
modified: 2016-11-03T10:16:34-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
If you're using the Ruby Gem version of the theme upgrading is fairly painless.
|
||||||
|
|
||||||
|
Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem update minimal-mistakes-jekyll` if you're not.
|
||||||
|
|
||||||
|
## Use Git
|
||||||
|
|
||||||
|
If you want to get the most out of the Jekyll + GitHub Pages workflow, then you'll need to utilize Git. To pull down theme updates you must first ensure there's an upstream remote. If you forked the theme's repo then you're likely good to go.
|
||||||
|
|
||||||
|
To double check, run `git remote -v` and verify that you can fetch from `origin https://github.com/{{ site.repository }}.git`.
|
||||||
|
|
||||||
|
To add it you can do the following:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git remote add upstream https://github.com/{{ site.repository }}.git
|
||||||
|
```
|
||||||
|
|
||||||
|
### Pull Down Updates
|
||||||
|
|
||||||
|
Now you can pull any commits made to theme's `master` branch with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git pull upstream master
|
||||||
|
```
|
||||||
|
|
||||||
|
Depending on the amount of customizations you've made after forking, there's likely to be merge conflicts. Work through any conflicting files Git flags, staging the changes you wish to keep, and then commit them.
|
||||||
|
|
||||||
|
## Update Files Manually
|
||||||
|
|
||||||
|
Another way of dealing with updates is [downloading the theme](https://github.com/{{ site.repository }}/archive/master.zip) --- replacing your layouts, includes, and assets with the newer ones manually. To be sure that you don't miss any changes it's probably a good idea to review the theme's [commit history](https://github.com/{{ site.repository }}/commits/master) to see what's changed since.
|
||||||
|
|
||||||
|
Here's a quick checklist of the important folders/files you'll want to be mindful of:
|
||||||
|
|
||||||
|
| Name | |
|
||||||
|
| ---- | --- |
|
||||||
|
| `_layouts` | Replace all. Apply edits if you customized any layouts. |
|
||||||
|
| `_includes` | Replace all. Apply edits if you customized any includes. |
|
||||||
|
| `assets` | Replace all. Apply edits if you customized stylesheets or scripts. |
|
||||||
|
| `_sass` | Replace all. Apply edits if you customized Sass partials. |
|
||||||
|
| `_data/navigation.yml` | Safe to keep. Verify that there were no major structural changes or additions. |
|
||||||
|
| `_data/ui-text.yml` | Safe to keep. Verify that there were no major structural changes or additions. |
|
||||||
|
| `_config.yml` | Safe to keep. Verify that there were no major structural changes or additions. |
|
||||||
@@ -0,0 +1,623 @@
|
|||||||
|
---
|
||||||
|
title: "Configuration"
|
||||||
|
permalink: /docs/configuration/
|
||||||
|
excerpt: "Settings for configuring and customizing the theme."
|
||||||
|
modified: 2016-11-29T08:44:22-05:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base.
|
||||||
|
|
||||||
|
**Note:** for technical reasons, `_config.yml` is NOT reloaded automatically when used with `jekyll serve`. If you make any changes to this file, please restart the server process for them to be applied.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
Take a moment to look over the configuration file included with the theme. Comments have been added to provide examples and default values for most settings. Detailed explanations of each can be found below.
|
||||||
|
|
||||||
|
## Site Settings
|
||||||
|
|
||||||
|
### Theme
|
||||||
|
|
||||||
|
If you're using the Ruby gem version of the theme you'll need this line to activate it:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
theme: minimal-mistakes-jekyll
|
||||||
|
```
|
||||||
|
|
||||||
|
### Site Locale
|
||||||
|
|
||||||
|
`site.locale` is used to declare the primary language for each web page within the site.
|
||||||
|
|
||||||
|
*Example:* `locale: "en-US"` sets the `lang` attribute for the site to the *United States* flavor of English, while `en-GB` would be for the `United Kingdom` style of English. Country codes are optional and the shorter variation `locale: "en"` is also acceptable. To find your language and country codes check this [reference table](https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx).
|
||||||
|
|
||||||
|
Properly setting the locale is important for associating localized text found in the [**UI Text**]({{ "/docs/ui-text/" | absolute_url }}) data file. An improper match will cause parts of the UI to disappear (eg. button labels, section headings, etc).
|
||||||
|
|
||||||
|
**Note:** The theme comes with localized text in English (`en`, `en-US`, `en-GB`). If you change `locale` in `_config.yml` to something else, most of the UI text will go blank. Be sure to add the corresponding locale key and translated text to `_data/ui-text.yml` to avoid this.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Site Title
|
||||||
|
|
||||||
|
The name of your site. Is used throughout the theme in places like the site masthead and `<title>` tags.
|
||||||
|
|
||||||
|
*Example:* `title: "My Awesome Site"`
|
||||||
|
|
||||||
|
You also have the option of customizing the separation character used in SEO-friendly page titles.
|
||||||
|
|
||||||
|
*Example:* `title_separator: "|"` would produce page titles like `Sample Page | My Awesome Site`.
|
||||||
|
|
||||||
|
**Note:** Long site titles have been known to break the masthead layout. Avoid adding a long "tagline" to the title prevent this from happening eg. `My Awesome Site is the Best Because I Say So".
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Site Name
|
||||||
|
|
||||||
|
Used to assign a site author. Don't worry, you can override the site author with different ones on specific posts, pages, or collection documents.
|
||||||
|
|
||||||
|
*Example:* `name: "Michael Rose"`.
|
||||||
|
|
||||||
|
**ProTip:** If you want to get crafty with your YAML you can use [anchors](http://www.yaml.org/spec/1.2/spec.html#id2785586) to reuse values. For example `foo: &var "My String"` allows you to reuse `"My String"` elsewhere in `_config.yml` like so... `bar: *var`. You'll see a few examples of this in the provided Jekyll config.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### Site Description
|
||||||
|
|
||||||
|
Fairly obvious. `site.description` describes the site. Used predominantly in meta descriptions for improving SEO.
|
||||||
|
|
||||||
|
*Example:* `description: "A flexible Jekyll theme for your blog or site with a minimalist aesthetic."`
|
||||||
|
|
||||||
|
### Site URL
|
||||||
|
|
||||||
|
The base hostname and protocol for your site. If you're hosting with GitHub Pages this will be something like `url: "https://github.io.mmistakes"` or `url: "https://mademistakes.com"` if you have a custom domain name.
|
||||||
|
|
||||||
|
GitHub Pages now [forces `https://` for new sites](https://help.github.com/articles/securing-your-github-pages-site-with-https/) so be mindful of that when setting your URL to avoid mixed-content warnings.
|
||||||
|
|
||||||
|
**Note:** Jekyll 3.3 overrides this value with `url: http://localhost:4000` when running `jekyll serve` locally in development. If you want to avoid this behavior set `JEKYLL_ENV=production` to [force the environment](http://jekyllrb.com/docs/configuration/#specifying-a-jekyll-environment-at-build-time) to production.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Site Base URL
|
||||||
|
|
||||||
|
This little option causes all kinds of confusion in the Jekyll community. If you're not hosting your site as a GitHub Pages Project or in a subfolder (eg: `/blog`), then don't mess with it.
|
||||||
|
|
||||||
|
In the case of the Minimal Mistakes demo site it's hosted on GitHub at <https://mmistakes.github.io/minimal-mistakes>. To correctly set this base path I'd use `url: "https://mmistakes.github.io"` and `baseurl: "/minimal-mistakes"`.
|
||||||
|
|
||||||
|
For more information on how to properly use `site.url` and `site.baseurl` as intended by the Jekyll maintainers, check [Parker Moore's post on the subject](https://byparker.com/blog/2014/clearing-up-confusion-around-baseurl/).
|
||||||
|
|
||||||
|
**Note:** When using `baseurl` remember to include it as part of your path when testing your site locally. Values of `url: ` and `baseurl: "/blog"` would make your local site visible at `http://localhost:4000/blog` and not `http://localhost:4000`.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Site Repository
|
||||||
|
|
||||||
|
Add your repository name with organization to your site's configuration file, `_config.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
repository: "username/repo-name"
|
||||||
|
```
|
||||||
|
|
||||||
|
"NWO" stands for "name with owner." It is GitHub lingo for the username of the owner of the repository plus a forward slash plus the name of the repository, e.g. '**mmistakes/minimal-mistakes**', where '**mmistakes**' is the owner and '**minimal-mistakes**' is the repository name.
|
||||||
|
|
||||||
|
Your `site.github.*` fields should fill in like normal. If you run Jekyll with the --verbose flag, you should be able to see all the API calls made.
|
||||||
|
|
||||||
|
If you don't set `repository` correctly you may see the following error when trying to `serve` or `build` your Jekyll site:
|
||||||
|
|
||||||
|
**Liquid Exceptions:** No repo name found. Specify using `PAGES_REPO_NWO` environment variables, `repository` in your configuration, or set up `origin` git remote pointing to your github.com repository.
|
||||||
|
{: .notice--danger}
|
||||||
|
|
||||||
|
For more information on how `site.github` data can be used with Jekyll check out [`github-metadata`'s documentation](https://github.com/jekyll/github-metadata).
|
||||||
|
|
||||||
|
### Site Default Teaser Image
|
||||||
|
|
||||||
|
To assign a fallback teaser image used in the "**Related Posts**" module, place a graphic in the `/assets/images/` directory and add the filename to `_config.yml` like so:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
teaser: /assets/images/500x300.png
|
||||||
|
```
|
||||||
|
|
||||||
|
This image can be overridden at anytime by applying the following to a document's YAML Front Matter.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
header:
|
||||||
|
teaser: /assets/images/my-awesome-post-teaser.jpg
|
||||||
|
```
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-teaser-images-example.jpg' | absolute_url }}" alt="teaser image example">
|
||||||
|
<figcaption>Example of teaser images found in the related posts module.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
### Breadcrumb Navigation (Beta)
|
||||||
|
|
||||||
|
Enable breadcrumb links to help visitors better navigate deep sites. Because of the fragile method of implementing them they don't always produce accurate links reliably. For best results:
|
||||||
|
|
||||||
|
1. Use a category based permalink structure e.g. `permalink: /:categories/:title/`
|
||||||
|
2. Manually create pages for each category or use a plugin like [jekyll-archives][jekyll-archives] to auto-generate them. If these pages don't exist breadcrumb links to them will be broken.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
```yaml
|
||||||
|
breadcrumbs: true # disabled by default
|
||||||
|
```
|
||||||
|
|
||||||
|
Breadcrumb start link text and separator character can both be changed in the [UI Text data file]({{ "/docs/ui-text/" | absolute_url }}).
|
||||||
|
|
||||||
|
### Reading Time
|
||||||
|
|
||||||
|
Enable estimated reading time snippets with `read_time: true` in YAML Front Matter. `200` has been set as the default words per minute value --- which can be changed by adjusting `words_per_minutes: ` in `_config.yml`.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Instead of adding `read_time: true` to each post, apply as a default in `_config.yml` like so:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
read_time: true
|
||||||
|
```
|
||||||
|
|
||||||
|
To disable reading time for a post, add `read_time: false` its YAML Front Matter to override what was set in `_config.yml`.
|
||||||
|
|
||||||
|
### Comments
|
||||||
|
|
||||||
|
[**Disqus**](https://disqus.com/), [**Discourse**](https://www.discourse.org/), [**Facebook**](https://developers.facebook.com/docs/plugins/comments), **Google+**, and static-based commenting via [**Staticman**](https://staticman.net/) are built into the theme. First set the comment provider you'd like to use:
|
||||||
|
|
||||||
|
| Name | Comment Provider |
|
||||||
|
| ---- | ---------------- |
|
||||||
|
| **disqus** | Disqus |
|
||||||
|
| **discourse** | Discourse |
|
||||||
|
| **facebook** | Facebook Comments |
|
||||||
|
| **google-plus** | Google+ Comments |
|
||||||
|
| **staticman** | Staticman |
|
||||||
|
| **custom** | Other |
|
||||||
|
|
||||||
|
Then add `comments: true` to each document you want comments visible on.
|
||||||
|
|
||||||
|
Instead of adding YAML Front Matter to each document, apply as a default in `_config.yml`. To enable comments for all posts:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
comments: true
|
||||||
|
```
|
||||||
|
|
||||||
|
If you add `comments: false` to a post's YAML Front Matter it will override the default and disable comments for just that post.
|
||||||
|
|
||||||
|
##### Disqus
|
||||||
|
|
||||||
|
To use Disqus you'll need to create an account and [shortname](https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-). Once you have both update `_config.yml` to:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
comments:
|
||||||
|
provider: "disqus"
|
||||||
|
disqus:
|
||||||
|
shortname: "your-disqus-shortname"
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Discourse
|
||||||
|
|
||||||
|
For guidance on how to set up Discourse for embedding comments from a topic on a post page, [consult this guide](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963).
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
comments:
|
||||||
|
provider : "discourse"
|
||||||
|
discourse:
|
||||||
|
server : # meta.discourse.org
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Facebook Comments
|
||||||
|
|
||||||
|
To enable Facebook Comments choose how many comments you'd like visible per post and the color scheme of the widget.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
comments:
|
||||||
|
provider : "facebook"
|
||||||
|
facebook:
|
||||||
|
appid : # optional
|
||||||
|
num_posts : # 5 (default)
|
||||||
|
colorscheme : # "light" (default), "dark"
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Static-Based Comments via Staticman
|
||||||
|
|
||||||
|
Transform user comments into `_data` files that live inside of your GitHub repository by enabling Staticman.
|
||||||
|
|
||||||
|
###### Add Staticman as a Collaborator
|
||||||
|
|
||||||
|
1. Allow Staticman push access to your GitHub repository by clicking on **Settings**, then the **Collaborators** tab and adding `staticmanapp` as a collaborator.
|
||||||
|
2. To accept the pending invitation visit: `https://api.staticman.net/v1/connect/{your GitHub username}/{your repository name}`. Consult the Staticman "[Get Started](https://staticman.net/get-started)" guide for more info.
|
||||||
|
|
||||||
|
###### Configure Staticman
|
||||||
|
|
||||||
|
Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"`, `branch`, and `path`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration).
|
||||||
|
|
||||||
|
**Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
comments:
|
||||||
|
provider: "staticman"
|
||||||
|
staticman:
|
||||||
|
allowedFields : ['name', 'email', 'url', 'message']
|
||||||
|
branch : # "master", "gh-pages"
|
||||||
|
commitMessage : "New comment."
|
||||||
|
filename : comment-{@timestamp}
|
||||||
|
format : "yml"
|
||||||
|
moderation : true
|
||||||
|
path : "_data/comments/{options.slug}"
|
||||||
|
requiredFields : ['name', 'email', 'message']
|
||||||
|
transforms:
|
||||||
|
email : "md5"
|
||||||
|
generatedFields:
|
||||||
|
date:
|
||||||
|
type : "date"
|
||||||
|
options:
|
||||||
|
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
||||||
|
```
|
||||||
|
|
||||||
|
###### Comment Moderation
|
||||||
|
|
||||||
|
By default comment moderation is enabled in `_config.yml`. As new comments are submitted Staticman will send a pull request. Merging these in will approve the comment, close the issue, and automatically rebuild your site (if hosted on GitHub Pages).
|
||||||
|
|
||||||
|
To skip this moderation step simply set `moderation: false`.
|
||||||
|
|
||||||
|
**ProTip:** Create a GitHub webhook that sends a `POST` request to the following payload URL `https://api.staticman.net/v1/webhook` and triggers a "Pull request" event to delete Staticman branches on merge.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
##### Other Comment Providers
|
||||||
|
|
||||||
|
To use another provider not included with the theme set `provider: "custom"` then add their embed code to `_includes/comments-providers/custom.html`.
|
||||||
|
|
||||||
|
### Custom Feed URL
|
||||||
|
|
||||||
|
By default the theme links to `feed.xml` generated in the root of your site by the **jekyll-feed** plugin. To link to an externally hosted feed update `atom_feed` in `_config.yml` like so:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
atom_feed:
|
||||||
|
path: "http://feeds.feedburner.com/youFeedname"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** By default the site feed is linked in two locations: inside the [`<head>` element]({{ gh_repo }}/master/_includes/head.html) and at the bottom of every page in the [site footer](https://github.com/{{ site.repository }}/master/_includes/footer.html).
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### SEO, Social Sharing, and Analytics Settings
|
||||||
|
|
||||||
|
All optional, but a good idea to take the time setting up to improve SEO and links shared from the site.
|
||||||
|
|
||||||
|
#### Google Search Console
|
||||||
|
|
||||||
|
Formerly known as [Google Webmaster Tools](https://www.google.com/webmasters/tools/), add your [verification code](https://support.google.com/analytics/answer/1142414?hl=en) like so: `google_site_verification: "yourVerificationCode"`.
|
||||||
|
|
||||||
|
**Note:** You likely won't have to do this if you verify site ownership through **Google Analytics** instead.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
#### Bing Webmaster Tools
|
||||||
|
|
||||||
|
There are several ways to [verify site ownership](https://www.bing.com/webmaster/help/how-to-verify-ownership-of-your-site-afcfefc6) --- the easiest adding an authentication code to your config file.
|
||||||
|
|
||||||
|
Copy and paste the string inside of `content`:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<meta name="msvalidate.01" content="0FC3FD70512616B052E755A56F8952D" />
|
||||||
|
```
|
||||||
|
|
||||||
|
Into `_config.yml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
bing_site_verification: "0FC3FD70512616B052E755A56F8952D"
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Alexa
|
||||||
|
|
||||||
|
To [claim your site](http://www.alexa.com/siteowners/claim) with Alexa add the provided verification ID `alexa_site_verification: "yourVerificationID"`.
|
||||||
|
|
||||||
|
#### Yandex
|
||||||
|
|
||||||
|
To verify site ownership copy and paste the string inside of `name`:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<meta name='yandex-verification' content='2132801JL' />
|
||||||
|
```
|
||||||
|
|
||||||
|
Into `_config.yml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
yandex_site_verification: "2132801JL"
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Twitter Cards and Facebook Open Graph
|
||||||
|
|
||||||
|
To improve the appearance of links shared from your site to social networks like Twitter and Facebook be sure to configure the following.
|
||||||
|
|
||||||
|
##### Site Twitter Username
|
||||||
|
|
||||||
|
Twitter username for the site. For pages that have custom author Twitter accounts assigned in their YAML Front Matter or data file, they will be attributed as a **creator** in the Twitter Card.
|
||||||
|
|
||||||
|
For example if my site's Twitter account is `@mmistakes-theme` I would add the following to `_config.yml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
twitter:
|
||||||
|
username: "mmistakes-theme"
|
||||||
|
```
|
||||||
|
|
||||||
|
And if I assign `@mmistakes` as an author account it will appear in the Twitter Card along with `@mmistakes-theme`, attributed as a creator of the page being shared.
|
||||||
|
|
||||||
|
**Note**: You need to [apply for Twitter Cards](https://dev.twitter.com/docs/cards) and validate they're working on your site before they will begin showing up.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
##### Facebook Open Graph
|
||||||
|
|
||||||
|
If you have a Facebook ID or publisher page add them:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
facebook:
|
||||||
|
app_id: # A Facebook app ID
|
||||||
|
publisher: # A Facebook page URL or ID of the publishing entity
|
||||||
|
```
|
||||||
|
|
||||||
|
While not part a part of Open Graph, you can also add your Facebook username for use in the sidebar and footer.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
facebook:
|
||||||
|
username: "michaelrose" # https://www.facebook.com/michaelrose
|
||||||
|
```
|
||||||
|
|
||||||
|
**ProTip:** To debug Open Graph data use [this tool](https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fmademistakes.com) to test your pages. If content changes aren't reflected you will probably have to hit the **Fetch new scrape information** button to refresh.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
##### Open Graph Default Image
|
||||||
|
|
||||||
|
For pages that don't have a `header.image` assigned in their YAML Front Matter, `site.og_image` will be used as a fallback. Use your logo, icon, avatar or something else that is meaningful. Just make sure it is place in the `/assets/images/` folder, a minimum size of 120px by 120px, and less than 1MB in file size.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
og_image: /assets/images/site-logo.png
|
||||||
|
```
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-twitter-card-summary-image.jpg' | absolute_url }}" alt="Twitter Card summary example">
|
||||||
|
<figcaption>Example of a image placed in a Summary Card.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Documents who have a `header.image` assigned in their YAML Front Matter will appear like this when shared on Twitter and Facebook.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-twitter-card-summary-large.jpg' | absolute_url }}" alt="page shared on Twitter">
|
||||||
|
<figcaption>Shared page on Twitter with header image assigned.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/facebook-share-example.jpg' | absolute_url }}" alt="page shared on Facebook">
|
||||||
|
<figcaption>Shared page on Facebook with header image assigned.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
##### Include your social profile in search results
|
||||||
|
|
||||||
|
Use markup on your official website to add your [social profile information](https://developers.google.com/structured-data/customize/social-profiles#adding_structured_markup_to_your_site) to the Google Knowledge panel in some searches. Knowledge panels can prominently display your social profile information.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
social:
|
||||||
|
type: # Person or Organization (defaults to Person)
|
||||||
|
name: # If the user or organization name differs from the site's name
|
||||||
|
links:
|
||||||
|
- "https://twitter.com/yourTwitter"
|
||||||
|
- "https://facebook.com/yourFacebook"
|
||||||
|
- "https://instagram.com/yourProfile"
|
||||||
|
- "https://www.linkedin.com/in/yourprofile"
|
||||||
|
- "https://plus.google.com/your_profile"
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Analytics
|
||||||
|
|
||||||
|
Analytics is disabled by default. To enable globally select one of the following:
|
||||||
|
|
||||||
|
| Name | Analytics Provider |
|
||||||
|
| ---- | ------------------ |
|
||||||
|
| **google** | [Google Standard Analytics](https://www.google.com/analytics/) |
|
||||||
|
| **google-universal** | [Google Universal Analytics](https://www.google.com/analytics/) |
|
||||||
|
| **custom** | Other analytics providers |
|
||||||
|
|
||||||
|
For Google Analytics add your Tracking Code:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
analytics:
|
||||||
|
provider: "google-universal"
|
||||||
|
tracking_id: "UA-1234567-8"
|
||||||
|
```
|
||||||
|
|
||||||
|
To use another provider not included with the theme set `provider: "custom"` then add their embed code to `_includes/analytics-providers/custom.html`.
|
||||||
|
|
||||||
|
## Site Author
|
||||||
|
|
||||||
|
Used as the defaults for defining what appears in the author sidebar.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Note:** For sites with multiple authors these values can be overridden post by post with custom YAML Front Matter and a data file. For more information on how that works see below.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
author:
|
||||||
|
name : "Your Name"
|
||||||
|
avatar : "/assets/images/bio-photo.jpg"
|
||||||
|
bio : "My awesome biography constrained to a sentence or two goes here."
|
||||||
|
email : # optional
|
||||||
|
uri : "http://your-site.com"
|
||||||
|
```
|
||||||
|
|
||||||
|
Social media links are all optional, include the ones you want visible. In most cases you just need to add the username. If you're unsure double check `_includes/author-profile.html` to see how the URL is constructed.
|
||||||
|
|
||||||
|
To add social media links not included with the theme or customize the author sidebar further, read the full [layout documentation]({{ "/docs/layouts/#author-profile" | absolute_url }}).
|
||||||
|
|
||||||
|
## Reading Files
|
||||||
|
|
||||||
|
Nothing out of the ordinary here. `include` and `exclude` may be the only things you need to alter.
|
||||||
|
|
||||||
|
## Conversion and Markdown Processing
|
||||||
|
|
||||||
|
Again nothing out of the ordinary here as the theme adheres to the defaults used by GitHub Pages. [**Kramdown**](http://kramdown.gettalong.org/) for Markdown conversion, [**Rouge**](http://rouge.jneen.net/) syntax highlighting, and incremental building disabled. Change them if you need to.
|
||||||
|
|
||||||
|
## Front Matter Defaults
|
||||||
|
|
||||||
|
To save yourself time setting [Front Matter Defaults](https://jekyllrb.com/docs/configuration/#front-matter-defaults) for posts, pages, and collections is the way to go. Sure you can assign layouts and toggle settings like **reading time**, **comments**, and **social sharing** in each file, but that's not ideal.
|
||||||
|
|
||||||
|
Using the `default` key in `_config.yml` you could set the layout and enable author profiles, reading time, comments, social sharing, and related posts for all posts --- in one shot.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
read_time: true
|
||||||
|
comments: true
|
||||||
|
share: true
|
||||||
|
related: true
|
||||||
|
```
|
||||||
|
|
||||||
|
Pages Front Matter defaults can be scoped like this:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _pages
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: pages
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
```
|
||||||
|
|
||||||
|
And collections like this:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _foo
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: foo
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
```
|
||||||
|
|
||||||
|
And of course any default value can be overridden by settings in a post, page, or collection file. All you need to do is specify the settings in the YAML Front Matter. For more examples be sure to check out the demo site's [`_config.yml`](https://github.com/{{ site.repository }}/gh-pages/_config.yml).
|
||||||
|
|
||||||
|
## Outputting
|
||||||
|
|
||||||
|
The default permalink style used by the theme is `permalink: /:categories/:title/`. If you have a post named `2016-01-01-my-post.md` with `categories: foo` in the YAML Front Matter, Jekyll will generate `_site/foo/my-post/index.html`.
|
||||||
|
|
||||||
|
**Note:** If you plan on enabling breadcrumb links --- including category names in permalinks is a big part of how those are created.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Paginate
|
||||||
|
|
||||||
|
If [using pagination](https://github.com/jekyll/jekyll-paginate) on the homepage you can change the amount of posts shown with:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
paginate: 5
|
||||||
|
```
|
||||||
|
|
||||||
|
You'll also need to include some Liquid and HTML to properly use the paginator, which you can find in the **Layouts** section under [Home Page]({{ "/docs/layouts/#home-page" | absolute_url }}).
|
||||||
|
|
||||||
|
**Please note:** [Jekyll's pagination](http://jekyllrb.com/docs/pagination/) may have unexpected results when used on pages other than the home page eg. `<site domain>/blog/index.html`.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### Timezone
|
||||||
|
|
||||||
|
This sets the timezone environment variable, which Ruby uses to handle time and date creation and manipulation. Any entry from the [IANA Time Zone Database](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is valid. The default is the local time zone, as set by your operating system.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
timezone: America/New_York
|
||||||
|
```
|
||||||
|
|
||||||
|
## Plugins
|
||||||
|
|
||||||
|
When hosting with GitHub Pages a small [set of gems](https://pages.github.com/versions/) have been whitelisted for use. The theme uses a few of them which can be found under `gems`. Additional settings and configurations are documented in the links below.
|
||||||
|
|
||||||
|
| Plugin | Description |
|
||||||
|
| ------ | ----------- |
|
||||||
|
| [jekyll-paginate][jekyll-paginate] | Pagination Generator for Jekyll. |
|
||||||
|
| [jekyll-sitemap][jekyll-sitemap] |Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site. |
|
||||||
|
| [jekyll-gist][jekyll-gist] | Liquid tag for displaying GitHub Gists in Jekyll sites. |
|
||||||
|
| [jekyll-feed][jekyll-feed] | A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts. |
|
||||||
|
| [jemoji][jemoji] | GitHub-flavored emoji plugin for Jekyll. |
|
||||||
|
|
||||||
|
[jekyll-paginate]: https://github.com/jekyll/jekyll-paginate
|
||||||
|
[jekyll-sitemap]: https://github.com/jekyll/jekyll-sitemap
|
||||||
|
[jekyll-gist]: https://github.com/jekyll/jekyll-gist
|
||||||
|
[jekyll-feed]: https://github.com/jekyll/jekyll-feed
|
||||||
|
[jemoji]: https://github.com/jekyll/jemoji
|
||||||
|
|
||||||
|
If you're hosting elsewhere then you don't really have to worry about what is whitelisted as you are free to include whatever [Jekyll plugins](https://jekyllrb.com/docs/plugins/) you desire.
|
||||||
|
|
||||||
|
## Archive Settings
|
||||||
|
|
||||||
|
The theme ships with support for taxonomy (category and tag) pages. GitHub Pages hosted sites need to use a *Liquid only* approach while those hosted elsewhere can use plugins like [**jekyll-archives**][jekyll-archives] to generate these pages automatically.
|
||||||
|
|
||||||
|
[jekyll-archives]: https://github.com/jekyll/jekyll-archives
|
||||||
|
|
||||||
|
The default `type` is set to use Liquid.
|
||||||
|
|
||||||
|
**Note:** `category_archive` and `tag_archive` were previously named `categories` and `tags`. Names were changed to avoid possible conflicts with `site.categories` and `site.tags`.
|
||||||
|
{: .notice--danger}
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
category_archive:
|
||||||
|
type: liquid
|
||||||
|
path: /categories/
|
||||||
|
tag_archive:
|
||||||
|
type: liquid
|
||||||
|
path: /tags/
|
||||||
|
```
|
||||||
|
|
||||||
|
Which would create category and tag links in the breadcrumbs and page meta like: `/categories/#foo` and `/tags/#foo`.
|
||||||
|
|
||||||
|
**Note:** for these links to resolve properly, category and tag index pages need to exist at [`/categories/index.html`](https://github.com/{{ site.repository }}/blob/master/docs/_pages/category-archive.html) and [`/tags/index.html`](https://github.com/{{ site.repository }}/blob/master/docs/_pages/tag-archive.html). The necessary Liquid code to build these pages can be taken from the demo site.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
If you have the luxury of using Jekyll Plugins then [**jekyll-archives**][jekyll-archives] will make your life much easier as category and tag pages are created for you.
|
||||||
|
|
||||||
|
Change `type` to `jekyll-archives` and apply the following [configurations](https://github.com/jekyll/jekyll-archives/blob/master/docs/configuration.md):
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
category_archive:
|
||||||
|
type: jekyll-archives
|
||||||
|
path: /categories/
|
||||||
|
tag_archive:
|
||||||
|
type: jekyll-archives
|
||||||
|
path: /tags/
|
||||||
|
jekyll-archives:
|
||||||
|
enabled:
|
||||||
|
- categories
|
||||||
|
- tags
|
||||||
|
layouts:
|
||||||
|
category: archive-taxonomy
|
||||||
|
tag: archive-taxonomy
|
||||||
|
permalinks:
|
||||||
|
category: /categories/:name/
|
||||||
|
tag: /tags/:name/
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** The `archive-taxonomy` layout used by jekyll-archives is provided with the theme and can be found in the `_layouts` folder.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## HTML Compression
|
||||||
|
|
||||||
|
If you care at all about performance (and really who doesn't) compressing the HTML files generated by Jekyll is a good thing to do.
|
||||||
|
|
||||||
|
If you're hosting with GitHub Pages there aren't many options afforded to you for optimizing the HTML Jekyll generates. Thankfully there is some Liquid wizardry you can use to strip whitespace and comments to reduce file size.
|
||||||
|
|
||||||
|
There's a variety of configurations and caveats to using the `compress` layout, so be sure to read through the [documentation](http://jch.penibelst.de/) if you decide to make change the defaults set in the theme's `_config.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
compress_html:
|
||||||
|
clippings: all
|
||||||
|
ignore:
|
||||||
|
envs: development # disable compression in dev environment
|
||||||
|
```
|
||||||
|
|
||||||
|
**Caution:** Inline JavaScript comments can cause problems with `compress.html`, so be sure to `/* comment this way */` and avoid `// these sorts of comments`.
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
title: "Overriding Theme Defaults"
|
||||||
|
permalink: /docs/overriding-theme-defaults/
|
||||||
|
excerpt: "Instructions on how to customize the theme's default set of layouts, includes, and stylesheets when using the Ruby Gem version."
|
||||||
|
modified: 2016-11-03T10:49:48-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
When installing the theme as a Ruby Gem its layouts, includes, stylesheets, and other assets are all bundled in the `gem`. Meaning they're not easily visible in your project.
|
||||||
|
|
||||||
|
Each of these files can be modified, but you'll need to copy the default version into your project first. For example, if you wanted to modify the default [`single` layout](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/single.html), you'd start by copying it to `_layouts/single.html`.
|
||||||
|
|
||||||
|
**ProTip**: To locate theme files, run `bundle show minimal-mistakes-jekyll`. Then copy the files you want to override from the returned path, to the appropriate folder in your project.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
Jekyll will use the files in your project first before falling back to the default versions of the theme. It exhibits this behavior with files in the following folders:
|
||||||
|
|
||||||
|
```
|
||||||
|
/assets
|
||||||
|
/_layouts
|
||||||
|
/_includes
|
||||||
|
/_sass
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information on customizing the theme's [stylesheets]({{ "/docs/stylesheets/" | absolute_url }}) and [JavaScript]({{ "/docs/javascript/" | absolute_url }}), see the appropriate pages.
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
---
|
||||||
|
title: "Navigation"
|
||||||
|
permalink: /docs/navigation/
|
||||||
|
excerpt: "Instructions on how to customize the main navigation and enabling breadcrumb links."
|
||||||
|
modified: 2016-11-03T10:50:03-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
## Masthead
|
||||||
|
|
||||||
|
The masthead links use a "priority plus" design pattern. Meaning, show as many navigation items that will fit horizontally with a toggle to reveal the rest.
|
||||||
|
|
||||||
|
To define these links add titles and URLs under the `main` key in `_data/navigation.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
main:
|
||||||
|
- title: "Quick-Start Guide"
|
||||||
|
url: /docs/quick-start-guide/
|
||||||
|
- title: "Posts"
|
||||||
|
url: /year-archive/
|
||||||
|
- title: "Categories"
|
||||||
|
url: /categories/
|
||||||
|
- title: "Tags"
|
||||||
|
url: /tags/
|
||||||
|
- title: "Pages"
|
||||||
|
url: /page-archive/
|
||||||
|
- title: "Collections"
|
||||||
|
url: /collection-archive/
|
||||||
|
- title: "External Link"
|
||||||
|
url: https://google.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Which will give you a responsive masthead similar to this:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**ProTip:** Put the most important links first so they're always visible and not hidden behind the **menu toggle**.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## Breadcrumbs (Beta)
|
||||||
|
|
||||||
|
Enable breadcrumb links to help visitors better navigate deep sites. Because of the fragile method of implementing them they don't always produce accurate links reliably. For best results:
|
||||||
|
|
||||||
|
1. Use a category based permalink structure e.g. `permalink: /:categories/:title/`
|
||||||
|
2. Manually create pages for each category or use a plugin like [jekyll-archives](https://github.com/jekyll/jekyll-archives) to auto-generate them. If these pages don't exist breadcrumb links to them will be broken.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
```yaml
|
||||||
|
breadcrumbs: true # disabled by default
|
||||||
|
```
|
||||||
|
|
||||||
|
Breadcrumb start link text and separator character can both be changed in `_data/ui-text.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
breadcrumb_home_label : "Home"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
```
|
||||||
|
|
||||||
|
For breadcrumbs that resemble something like `Start > Blog > My Awesome Post` you'd apply these settings:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
breadcrumb_home_label : "Start"
|
||||||
|
breadcrumb_separator : ">"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Custom Sidebar Navigation Menu
|
||||||
|
|
||||||
|
See the [**sidebars** documentation]({{ "/docs/layouts/#custom-sidebar-navigation-menu" | absolute_url }}) for information on setting up a custom navigation menu.
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: "UI Text"
|
||||||
|
permalink: /docs/ui-text/
|
||||||
|
excerpt: "Text for customizing various user interface elements found in the theme."
|
||||||
|
modified: 2016-11-03T10:52:31-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Text for various UI elements, `_layouts`, and `_includes` have all been grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing things a bit easier.
|
||||||
|
|
||||||
|
Currently the English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) are translated to the following languages:
|
||||||
|
|
||||||
|
- Brazilian Portuguese (Português brasileiro)
|
||||||
|
- Chinese
|
||||||
|
- French (Français)
|
||||||
|
- German (Deutsch)
|
||||||
|
- Italian (Italiano)
|
||||||
|
- Spanish (Español)
|
||||||
|
- Turkish (Türkçe)
|
||||||
|
|
||||||
|
If you're are interested in localizing them into other languages feel free to submit a pull request and I will be happy to look it over.
|
||||||
|
|
||||||
|
[^yaml-anchors]: `en-US`, and `en-GB` use [YAML anchors](http://www.yaml.org/spec/1.2/spec.html#id2785586) to reference the values in `en` as to not repeat them.
|
||||||
|
|
||||||
|
Many of the label based keys like `meta_label`, `categories_label`, `tags_label`, `share_on_label`, and `follow_label` can be left blank if you'd like to omit them from view. It really depends on you and if you want an even more minimal look to your site.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Note:** The theme comes with localized text in English (`en`, `en-US`, `en-GB`). If you change `locale` in `_config.yml` to something else, most of the UI text will go blank. Be sure to add the corresponding locale key and translated text to `_data/ui-text.yml` to avoid this.
|
||||||
|
{: .notice--warning}
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: "Authors"
|
||||||
|
permalink: /docs/authors/
|
||||||
|
excerpt: "Instructions and settings for working with multiple site authors."
|
||||||
|
modified: 2016-11-03T10:55:15-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Sites that may have content authored from various individuals can be accommodated by using [data files](https://jekyllrb.com/docs/datafiles/).
|
||||||
|
|
||||||
|
To assign an author to a post or page that is different from the site author specified in `_config.yml`:
|
||||||
|
|
||||||
|
**Step 1.** Create `_data/authors.yml` and add authors using the following format. Any variables found under `author:` in `_config.yml` can be used (e.g. `name`, `avatar`, `uri`, social media profiles, etc.).
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# /_data/authors.yml
|
||||||
|
|
||||||
|
Billy Rick:
|
||||||
|
name: "Billy Rick"
|
||||||
|
uri: "http://thewhip.com"
|
||||||
|
email: "billy@rick.com"
|
||||||
|
bio: "What do you want, jewels? I am a very extravagant man."
|
||||||
|
avatar: "/assets/images/bio-photo-2.jpg"
|
||||||
|
twitter: "extravagantman"
|
||||||
|
|
||||||
|
Cornelius Fiddlebone:
|
||||||
|
name: "Cornelius Fiddlebone"
|
||||||
|
email: "cornelius@thewhip.com"
|
||||||
|
bio: "I ordered what?"
|
||||||
|
avatar: "/assets/images/bio-photo.jpg"
|
||||||
|
twitter: "rhymeswithsackit"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Step 2.** Assign one of the authors in `authors.yml` to a post or page you wish to override the `site.author` with.
|
||||||
|
|
||||||
|
Example: To assign `Billy Rick` as an author for a post the following YAML Front Matter would be applied:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
author: Billy Rick
|
||||||
|
```
|
||||||
@@ -0,0 +1,577 @@
|
|||||||
|
---
|
||||||
|
title: "Layouts"
|
||||||
|
permalink: /docs/layouts/
|
||||||
|
excerpt: "Descriptions and samples of all layouts included with the theme and how to best use them."
|
||||||
|
single_layout_gallery:
|
||||||
|
- image_path: /assets/images/mm-layout-single-header.png
|
||||||
|
alt: "single layout with header example"
|
||||||
|
- image_path: /assets/images/mm-layout-single-meta.png
|
||||||
|
alt: "single layout with comments and related posts"
|
||||||
|
modified: 2016-12-12T15:20:20-05:00
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include toc icon="columns" title="Included Layouts" %}
|
||||||
|
|
||||||
|
The bread and butter of any theme. Below you'll find the layouts included with Minimal Mistakes, what they look like and the type of content they've been built for.
|
||||||
|
|
||||||
|
## Default Layout
|
||||||
|
|
||||||
|
The base layout all other layouts inherit from. There's not much to this layout apart from pulling in several `_includes`:
|
||||||
|
|
||||||
|
* `<head>` elements
|
||||||
|
* masthead navigation links
|
||||||
|
* {% raw %}`{{ content }}`{% endraw %}
|
||||||
|
* page footer
|
||||||
|
* scripts
|
||||||
|
|
||||||
|
**Note:** You won't ever assign this layout directly to a post or page. Instead all other layouts will build off of it by setting `layout: default` in their YAML Front Matter.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Layout Based and User-Defined Classes
|
||||||
|
|
||||||
|
Class names corresponding to each layout are automatically added to the `<body>` element eg. `<body class="layout--single">`.
|
||||||
|
|
||||||
|
| layout | class name |
|
||||||
|
| ---------------- | --------------------------- |
|
||||||
|
| archive | `.layout--archive` |
|
||||||
|
| archive-taxonomy | `.layout--archive-taxonomy` |
|
||||||
|
| single | `.layout--single` |
|
||||||
|
| splash | `.layout--splash` |
|
||||||
|
| home | `.layout--home` |
|
||||||
|
|
||||||
|
Using YAML Front Matter you can also assign custom classes to target with CSS or JavaScript. Perfect for "art directed" posts or adding custom styles to specific pages.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
layout: splash
|
||||||
|
classes:
|
||||||
|
- landing
|
||||||
|
- dark-theme
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Outputs:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<body class="layout--splash landing dark-theme">
|
||||||
|
```
|
||||||
|
|
||||||
|
## Compress Layout
|
||||||
|
|
||||||
|
A Jekyll layout that compresses HTML in pure Liquid. To enable add `layout: compress` to `_layouts/default.html`.
|
||||||
|
|
||||||
|
**Note:** Has been known to mangle markup and break JavaScript... especially if inline `// comments` are present. For this reason it has been disabled by default.
|
||||||
|
{: .notice--danger}
|
||||||
|
|
||||||
|
* [Documentation](http://jch.penibelst.de/)
|
||||||
|
|
||||||
|
## Single Layout
|
||||||
|
|
||||||
|
The layout you'll likely use the most --- sidebar and main content combo.
|
||||||
|
|
||||||
|
**Includes:**
|
||||||
|
|
||||||
|
* Optional header image with caption
|
||||||
|
* Optional header overlay (solid color/image) + text and optional "call to action" button
|
||||||
|
* Optional social sharing links module
|
||||||
|
* Optional comments module
|
||||||
|
* Optional related posts module
|
||||||
|
|
||||||
|
{% include gallery id="single_layout_gallery" caption="Image header and meta info examples for `single` layout" %}
|
||||||
|
|
||||||
|
Assign with `layout: single`, or better yet apply as a [Front Matter default]({{ "/docs/configuration/#front-matter-defaults" | absolute_url }}) in `_config.yml`.
|
||||||
|
|
||||||
|
## Archive Layout
|
||||||
|
|
||||||
|
Essentially the same as `single` with markup adjustments and some modules removed.
|
||||||
|
|
||||||
|
**Includes:**
|
||||||
|
|
||||||
|
* Optional header image with caption
|
||||||
|
* Optional header overlay (solid color/image) + text and optional "call to action" button
|
||||||
|
* List and grid views
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-layout-archive.png' | absolute_url }}" alt="archive layout example">
|
||||||
|
<figcaption>List view example.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Below are sample archive pages you can easily drop into your project, taking care to rename `permalink`, `title`, or the filename to fit your site. Each is 100% compatible with GitHub Pages.
|
||||||
|
|
||||||
|
* [All Posts Grouped by Category -- List View][posts-categories]
|
||||||
|
* [All Posts Grouped by Tags -- List View][posts-tags]
|
||||||
|
* [All Posts Grouped by Year -- List View][posts-year]
|
||||||
|
* [All Posts Grouped by Collection -- List View][posts-collection]
|
||||||
|
* [Portfolio Collection -- Grid View][portfolio-collection]
|
||||||
|
|
||||||
|
[posts-categories]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/category-archive.html
|
||||||
|
[posts-tags]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/tag-archive.html
|
||||||
|
[posts-year]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/year-archive.html
|
||||||
|
[posts-collection]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/collection-archive.html
|
||||||
|
[portfolio-collection]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/portfolio-archive.html
|
||||||
|
|
||||||
|
Post and page excerpts are auto-generated by Jekyll which grabs the first paragraph of text. To override this text with something more specific use the following YAML Front Matter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
excerpt: "A unique line of text to describe this post that will display in an archive listing and meta description with SEO benefits."
|
||||||
|
```
|
||||||
|
|
||||||
|
### Grid View
|
||||||
|
|
||||||
|
Adding `type=grid` to the `archive-single` helper will display archive posts in a 4 column grid. For example to create an archive displaying all documents in the portfolio collection:
|
||||||
|
|
||||||
|
**Step 1:** Create a portfolio archive page (eg. `_pages/portfolio-archive.html`) with the following YAML Front Matter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
title: "Portfolio"
|
||||||
|
permalink: /portfolio/
|
||||||
|
author_profile: false
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
**Step 2:** Loop over all documents in the portfolio collection and output in a grid:
|
||||||
|
|
||||||
|
```html
|
||||||
|
{% raw %}<div class="grid__wrapper">
|
||||||
|
{% for post in site.portfolio %}
|
||||||
|
{% include archive-single.html type="grid" %}
|
||||||
|
{% endfor %}{% endraw %}
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
To produce something like this:
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-archive-grid-view-example.jpg' | absolute_url }}" alt="archive grid view example">
|
||||||
|
<figcaption>Grid view example.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
**Note:** More information on using this `_include` can be found under [**Helpers**]({{ "/docs/helpers/" | absolute_url }}).
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### Taxonomy Archive
|
||||||
|
|
||||||
|
If you have the luxury of using Jekyll plugins the creation of category and tag archives is greatly simplified. Enable support for the [`jekyll-archives`](https://github.com/jekyll/jekyll-archives) plugin with a few `_config.yml` settings as noted in the [**Configuration**]({{ "/docs/configuration/#archive-settings" | absolute_url }}) section.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Home Page
|
||||||
|
|
||||||
|
A derivative archive page layout to be used as a simple home page. It is built to show a paginated list of recent posts based off of the [pagination settings]({{ "/docs/configuration/#paginate" | absolute_url }}) in `_config.yml`.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-home-post-pagination-example.jpg' | absolute_url }}" alt="paginated home page example">
|
||||||
|
<figcaption>Example of a paginated home page showing 5 recent posts.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
To use create `index.html` at the root of your project and add the following YAML Front Matter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
layout: home
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Then configure pagination in `_config.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
paginate: 5 # amount of posts to show
|
||||||
|
paginate_path: /page:num/
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** Jekyll can only paginate a single `index.html` file. If you'd like to paginate more pages (e.g. category indexes) you'll need the help of a custom plugin. For more pagination related settings check the [**Configuration**]({{ "/docs/configuration/#paginate" | absolute_url }}) section.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## Splash Page Layout
|
||||||
|
|
||||||
|
For full-width landing pages that need a little something extra add `layout: splash` to the YAML Front Matter.
|
||||||
|
|
||||||
|
**Includes:**
|
||||||
|
|
||||||
|
* Optional header image with caption
|
||||||
|
* Optional header overlay (solid color/image) + text and optional "call to action" button
|
||||||
|
* Feature blocks (`left`, `center`, and `right` alignment options)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Feature blocks can be assigned and aligned to the `left`, `right`, or `center` with a sprinkling of YAML. For full details on how to use the `feature_row` helper check the [**Content**]({{ "/docs/helpers/" | absolute_url }}) section or review a [sample splash page](https://github.com/{{ site.repository }}/blob/master/docs/_pages/splash-page.md).
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Headers
|
||||||
|
|
||||||
|
To add some visual punch to a post or page, a large full-width header image can be included.
|
||||||
|
|
||||||
|
Be sure to resize your header images. `~1280px` is a good width if you aren't [responsively serving up images](http://alistapart.com/article/responsive-images-in-practice). Through the magic of CSS they will scale up or down to fill the container. If you go with something too small it will look like garbage when upscaled, and something too large will hurt performance.
|
||||||
|
|
||||||
|
**Please Note:** Paths for image headers, overlays, teasers, [galleries]({{ "/docs/helpers/#gallery" | absolute_url }}), and [feature rows]({{ "/docs/helpers/#feature-row" | absolute_url }}) have changed and require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: /assets/images/filename.jpg`. The preferred location is now `/assets/images/`, but can be placed elsewhere or external hosted. This all applies for image references in `_config.yml` and `author.yml` as well.
|
||||||
|
{: .notice--danger}
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Place your images in the `/assets/images/` folder and add the following YAML Front Matter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
header:
|
||||||
|
image: /assets/images/image-filename.jpg
|
||||||
|
```
|
||||||
|
|
||||||
|
For externally hosted images include the full image path instead of just the filename:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
header:
|
||||||
|
image: http://some-site.com/assets/images/image.jpg
|
||||||
|
```
|
||||||
|
|
||||||
|
To include a caption or attribution for the image:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
header:
|
||||||
|
image: /assets/images/unsplash-image-1.jpg
|
||||||
|
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||||
|
```
|
||||||
|
|
||||||
|
**ProTip:** Captions written in Markdown are supported, so feel free to add links, or style text. Just be sure to wrap it in quotes.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### Header Overlay
|
||||||
|
|
||||||
|
To overlay text on top of a header image you have a few more options:
|
||||||
|
|
||||||
|
| Name | Description | Default |
|
||||||
|
| ---- | ----------- | ------- |
|
||||||
|
| **overlay_image** | Header image you'd like to overlay. Same rules as `header.image` from above. | |
|
||||||
|
| **overlay_filter** | Color/opacity to overlay on top of the header image eg: `0.5` or `rgba(255, 0, 0, 0.5)`. |
|
||||||
|
| **excerpt** | Auto-generated page excerpt is added to the overlay text or can be overridden. | |
|
||||||
|
| **cta_label** | Call to action button text label. | `more_label` in UI Text data file |
|
||||||
|
| **cta_url** | Call to action button URL. | |
|
||||||
|
|
||||||
|
With this YAML Front Matter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
|
||||||
|
header:
|
||||||
|
overlay_image: /assets/images/unsplash-image-1.jpg
|
||||||
|
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||||
|
cta_label: "More Info"
|
||||||
|
cta_url: "https://unsplash.com"
|
||||||
|
```
|
||||||
|
|
||||||
|
You'd get a header image overlaid with text and a call to action button like this:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
You also have the option of specifying a solid background-color to use instead of an image.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
```yaml
|
||||||
|
excerpt: "This post should display a **header with a solid background color**, if the theme supports it."
|
||||||
|
header:
|
||||||
|
overlay_color: "#333"
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also specifying the opacity (between `0` and `1`) of a black overlay like so:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
```yaml
|
||||||
|
excerpt: "This post should [...]"
|
||||||
|
header:
|
||||||
|
overlay_image: /assets/images/unsplash-image-1.jpg
|
||||||
|
overlay_filter: 0.5 # same as adding an opacity of 0.5 to a black background
|
||||||
|
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||||
|
cta_label: "More Info"
|
||||||
|
cta_url: "https://unsplash.com"
|
||||||
|
```
|
||||||
|
|
||||||
|
Or if you want to do more fancy things, go full rgba:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
```yaml
|
||||||
|
excerpt: "This post should [...]"
|
||||||
|
header:
|
||||||
|
overlay_image: /assets/images/unsplash-image-1.jpg
|
||||||
|
overlay_filter: rgba(255, 0, 0, 0.5)
|
||||||
|
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||||
|
cta_label: "More Info"
|
||||||
|
cta_url: "https://unsplash.com"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Sidebars
|
||||||
|
|
||||||
|
The space to the left of a page's main content is blank by default, but has the ability to show an author profile (name, short biography, social media links), custom content, or both.
|
||||||
|
|
||||||
|
### Author Profile
|
||||||
|
|
||||||
|
Add `author_profile: true` to a post or page's YAML Front Matter.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Better yet, enable it with Front Matter Defaults set in `_config.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
author_profile: true
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** To disable the author sidebar profile for a specific post or page, add `author_profile: false` to the YAML Front Matter instead.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
The theme comes pre-built with a selection of links for the most common social media networks. These are all optional and can be [assigned in `_config.yml`]({{ "/docs/configuration/" | absolute_url }}).
|
||||||
|
|
||||||
|
To add more links you'll need to crack open [`_includes/author-profile-custom-links.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) and add the appropriate `<li>` markup shown below.
|
||||||
|
|
||||||
|
**Please note:** Links added here will appear after the ones in [`_includes/author-profile.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile.html). If you'd like to change the order of appearance you'll need to edit that file directly.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
#### Social network link example
|
||||||
|
|
||||||
|
```html
|
||||||
|
<li>
|
||||||
|
<a href="https://whatever-social-network.com/username">
|
||||||
|
<i class="fa fa-fw" aria-hidden="true"></i> Awesome Social Network
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
```
|
||||||
|
|
||||||
|
To add a new link you'll need three things:
|
||||||
|
|
||||||
|
1. Destination URL
|
||||||
|
2. [Font Awesome icon](http://fontawesome.io/icons/) (`fa-` class)
|
||||||
|
3. Label for the link
|
||||||
|
|
||||||
|
It's up to you if you want to wrap it in a `{% raw %}{% if %} ... {% endif %}{% endraw %}`conditional and add a variable to `_config.yml`. If you don't plan to change it then hard-coding the string is perfectly acceptable.
|
||||||
|
|
||||||
|
Let's run through how you'd add a new link that points to a Reddit profile. Starting with the three things from above:
|
||||||
|
|
||||||
|
1. `https://www.reddit.com/user/username`
|
||||||
|
2. [`fa-reddit`](http://fontawesome.io/icon/reddit/)
|
||||||
|
3. `Reddit`
|
||||||
|
|
||||||
|
And plug them into the appropriate locations:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<li>
|
||||||
|
<a href="[1]">
|
||||||
|
<i class="fa fa-fw [2]" aria-hidden="true"></i> [3]
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
```
|
||||||
|
|
||||||
|
To end up with:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<li>
|
||||||
|
<a href="https://www.reddit.com/user/username">
|
||||||
|
<i class="fa fa-fw fa-reddit" aria-hidden="true"></i> Reddit
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
To add a touch of color to the default black (`#000`) icon a few more steps are necessary.
|
||||||
|
|
||||||
|
Start by copying [`_utilities.scss`](https://github.com/mmistakes/minimal-mistakes/blob/master/_sass/_utilities.scss) `<site root>/_sass`. Open it up to the icon section (it's near the bottom) and nest a new class beneath `.social-icons` that matches the one used to declare the Font Awesome icon. In our case `.fa-reddit`.
|
||||||
|
|
||||||
|
Simply add a `color` declaration and the corresponding hex code.
|
||||||
|
|
||||||
|
```scss
|
||||||
|
.social-icons {
|
||||||
|
|
||||||
|
.fa-reddit {
|
||||||
|
color: #ff4500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**ProTip:** For bonus points you can add it as a Sass `$variable` that you set in [`_variables.scss`](https://github.com/mmistakes/minimal-mistakes/blob/master/_sass/_variables.scss) like the other ["brand" colors](http://brandcolors.net/). You'll need to add this file to `/_sass/` as well if you're using the Ruby Gem version of the theme.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
**Please please please** don't submit [pull requests]({{ "/docs/contributing/" | absolute_url }}) adding in support for "missing" social media links. I'm trying to keep things down to the minimum (hence the theme's name) and have no interest in merging such PRs :expressionless:.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
### Custom Sidebar Content
|
||||||
|
|
||||||
|
Blocks of content can be added by using the following under `sidebar`:
|
||||||
|
|
||||||
|
| Name | Description |
|
||||||
|
| ---- | ----------- |
|
||||||
|
| **title** | Title or heading. |
|
||||||
|
| **image** | Image path placed in `/images/` folder or an external URL. |
|
||||||
|
| **image_alt** | Alternate description for image. |
|
||||||
|
| **text** | Text. Markdown is allowed. |
|
||||||
|
|
||||||
|
Multiple blocks can also be added by following the example below:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
sidebar:
|
||||||
|
- title: "Title"
|
||||||
|
image: http://placehold.it/350x250
|
||||||
|
image_alt: "image"
|
||||||
|
text: "Some text here."
|
||||||
|
- title: "Another Title"
|
||||||
|
text: "More text here."
|
||||||
|
```
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-custom-sidebar-example.jpg' | absolute_url }}" alt="custom sidebar content example">
|
||||||
|
<figcaption>Example of custom sidebar content added as YAML Front Matter.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
**Note:** Custom sidebar content added to a post or page's YAML Front Matter will appear below the author profile if enabled with `author_profile: true`.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
### Custom Sidebar Navigation Menu
|
||||||
|
|
||||||
|
To create a sidebar menu[^sidebar-menu] similar to the one found in the theme's documentation pages you'll need to modify a `_data` file and some YAML Front Matter.
|
||||||
|
|
||||||
|
[^sidebar-menu]: Sidebar menu supports 1 level of nested links.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-custom-sidebar-nav.jpg' | absolute_url }}" alt="sidebar navigation example">
|
||||||
|
<figcaption>Custom sidebar navigation menu example.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
To start, add a new key to `_data/navigation.yml`. This will be referenced later in via YAML Front Matter so keep it short and memorable. In the case of the theme's documentation menu I used `docs`.
|
||||||
|
|
||||||
|
**Sample sidebar menu links:**
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
docs:
|
||||||
|
- title: Getting Started
|
||||||
|
children:
|
||||||
|
- title: "Quick-Start Guide"
|
||||||
|
url: /docs/quick-start-guide/
|
||||||
|
- title: "Structure"
|
||||||
|
url: /docs/structure/
|
||||||
|
- title: "Installation"
|
||||||
|
url: /docs/installation/
|
||||||
|
- title: "Upgrading"
|
||||||
|
url: /docs/upgrading/
|
||||||
|
|
||||||
|
- title: Customization
|
||||||
|
children:
|
||||||
|
- title: "Configuration"
|
||||||
|
url: /docs/configuration/
|
||||||
|
- title: "Navigation"
|
||||||
|
url: /docs/navigation/
|
||||||
|
- title: "UI Text"
|
||||||
|
url: /docs/ui-text/
|
||||||
|
- title: "Authors"
|
||||||
|
url: /docs/authors/
|
||||||
|
- title: "Layouts"
|
||||||
|
url: /docs/layouts/
|
||||||
|
|
||||||
|
- title: Content
|
||||||
|
children:
|
||||||
|
- title: "Working with Posts"
|
||||||
|
url: /docs/posts/
|
||||||
|
- title: "Working with Pages"
|
||||||
|
url: /docs/pages/
|
||||||
|
- title: "Working with Collections"
|
||||||
|
url: /docs/collections/
|
||||||
|
- title: "Helpers"
|
||||||
|
url: /docs/helpers/
|
||||||
|
- title: "Utility Classes"
|
||||||
|
url: /docs/utility-classes/
|
||||||
|
|
||||||
|
- title: Extras
|
||||||
|
children:
|
||||||
|
- title: "Stylesheets"
|
||||||
|
url: /docs/stylesheets/
|
||||||
|
- title: "JavaScript"
|
||||||
|
url: /docs/javascript/
|
||||||
|
```
|
||||||
|
|
||||||
|
Now you can pull these links into any page by adding the following YAML Front Matter.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
sidebar:
|
||||||
|
nav: "docs"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** `nav: "docs"` references the `docs` key in `_data/navigation.yml` so make sure they match.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
If you're adding a sidebar navigation menu to several pages the use of Front Matter Defaults is a better option. You can define them in `_config.yml` to avoid adding it to every page or post.
|
||||||
|
|
||||||
|
**Sample sidebar nav default:**
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _docs
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: docs
|
||||||
|
values:
|
||||||
|
sidebar:
|
||||||
|
nav: "docs"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Social Sharing Links
|
||||||
|
|
||||||
|
The `single` layout has an option to enable social links at the bottom of posts for sharing on Twitter, Facebook, Google+, and LinkedIn. Similar to the links found in the author sidebar, the theme ships with defaults for the most common social networks.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
To enable these links add `share: true` to a post or page's YAML Front Matter or use a [default](https://jekyllrb.com/docs/configuration/#front-matter-defaults) in your `_config.yml` to apply more globally.
|
||||||
|
|
||||||
|
If you'd like to add, remove, or change the order of these default links you can do so by editing [`_includes/social-share.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/social-share.html).
|
||||||
|
|
||||||
|
Let's say you wanted to replace the Google+ button with a Reddit one. Simply replace the HTML with the following:
|
||||||
|
|
||||||
|
```html
|
||||||
|
{% raw %}<a href="https://www.reddit.com/submit?url={{ page.url | absolute_url }}&title={{ page.title }}" class="btn" title="{{ site.data.ui-text[site.locale].share_on_label }} Reddit"><i class="fa fa-fw fa-reddit" aria-hidden="true"></i><span> Reddit</span></a>{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|
The important parts to change are:
|
||||||
|
|
||||||
|
1. Share point URL *eg. `https://www.reddit.com/submit?url=`
|
||||||
|
2. Link `title`
|
||||||
|
3. [Font Awesome icon](http://fontawesome.io/icons/) (`fa-` class)
|
||||||
|
4. Link label
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
To change the color of the button use one of the built in [utility classes]({{ "/docs/utility-classes/#buttons" | absolute_url }}). Or you can create a new button class to match whatever color you want.
|
||||||
|
|
||||||
|
Under the `$social` color map in `assets/_scss/_buttons.scss` simply add a name (this will be appened to `btn--`) that matches the new button class. In our case `reddit` ~> `.btn--reddit`.
|
||||||
|
|
||||||
|
```scss
|
||||||
|
$social:
|
||||||
|
(facebook, $facebook-color),
|
||||||
|
(twitter, $twitter-color),
|
||||||
|
(google-plus, $google-plus-color),
|
||||||
|
(linkedin, $linkedin-color);
|
||||||
|
(reddit, #ff4500;)
|
||||||
|
```
|
||||||
|
|
||||||
|
**ProTip:** For bonus points you can add it as a Sass `$variable` that you set in `_variables.scss` like the other ["brand" colors](http://brandcolors.net/).
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
Add the new `.btn--reddit` class to the `<a>` element from earlier, [compile `main.css`]({{ "/docs/stylesheets/" | absolute_url }}) and away you go.
|
||||||
|
|
||||||
|
```html
|
||||||
|
{% raw %}<a href="https://www.reddit.com/submit?url={{ page.url | absolute_url }}&title={{ page.title }}" class="btn btn--reddit" title="{{ site.data.ui-text[site.locale].share_on_label }} Reddit"><i class="fa fa-fw fa-reddit" aria-hidden="true"></i><span> Reddit</span></a>{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: "Working with Posts"
|
||||||
|
permalink: /docs/posts/
|
||||||
|
excerpt: "Suggestions and Front Matter defaults for working with posts."
|
||||||
|
modified: 2016-11-03T11:12:40-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Posts are stored in the `_posts` directory and named according to the `YEAR-MONTH-DAY-title.MARKUP` format as per [the usual](https://jekyllrb.com/docs/posts/).
|
||||||
|
|
||||||
|
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. For example, the following are examples of valid post filenames:
|
||||||
|
|
||||||
|
```
|
||||||
|
2016-07-20-writing-jekyll-posts.md
|
||||||
|
2015-01-03-static-site-generators.markdown
|
||||||
|
```
|
||||||
|
|
||||||
|
**Recommended Front Matter Defaults:**
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _posts
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: posts
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
read_time: true
|
||||||
|
comments: true
|
||||||
|
share: true
|
||||||
|
related: true
|
||||||
|
```
|
||||||
|
|
||||||
|
Adding the above to `_config.yml` will assign the `single` layout and enable: *author profile*, *reading time*, *comments*, [*social sharing links*]({{ "/docs/layouts/#social-sharing-links" | absolute_url }}), and *related posts*, for all posts.
|
||||||
|
|
||||||
|
**ProTip:** Remember to write unique `excerpt` descriptions for each post for improved SEO and archive listings.
|
||||||
|
{: .notice--info}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: "Working with Pages"
|
||||||
|
permalink: /docs/pages/
|
||||||
|
excerpt: "Suggestions and Front Matter defaults for working with pages."
|
||||||
|
modified: 2016-11-03T11:13:12-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
To better organize all of your pages you can centralize them into a single location similar to posts and collections.
|
||||||
|
|
||||||
|
**Step 1:** Start by placing pages (`.md` or `.html` files) into a `_pages` directory. Meaningfully naming files should be the goal. Avoid patterns like `/about/index.md` as it makes distinguishing between multiple `index.md` files harder.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sample-project
|
||||||
|
└── _pages/
|
||||||
|
├── 404.md # custom 404 page
|
||||||
|
├── about.md # about page
|
||||||
|
└── contact.md # contact page
|
||||||
|
```
|
||||||
|
|
||||||
|
**Step 2:** Include pages to be sure Jekyll "sees" and processes the files inside of `_pages`. Add `include: ["_pages"]` to `_config.yml`.
|
||||||
|
|
||||||
|
**Step 3:** Assign permalink overrides in the YAML Front Matter of each.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
| filename | permalink |
|
||||||
|
| -------- | --------- |
|
||||||
|
| _pages/about.md | `permalink: /about/` |
|
||||||
|
| _pages/home.md | `permalink: /` |
|
||||||
|
| _pages/contact.md | `permalink: /contact/` |
|
||||||
|
|
||||||
|
**Recommended Front Matter Defaults:**
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _pages
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: pages
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: true
|
||||||
|
```
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: "Working with Collections"
|
||||||
|
permalink: /docs/collections/
|
||||||
|
excerpt: "Suggestions and Front Matter defaults for working with collections."
|
||||||
|
modified: 2016-11-03T11:13:38-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Collections like posts and pages work as you'd expect. If you're new to them be sure to read [Jekyll's documentation](https://jekyllrb.com/docs/collections/).
|
||||||
|
|
||||||
|
The theme has been built with collections in mind and you will find [several examples]({{ "/collection-archive/" | absolute_url }}) on the demo site ([portfolio]({{ "/portfolio/" | absolute_url }}), [recipes]({{ "/recipes/" | absolute_url }}), pets).
|
||||||
|
|
||||||
|
**Collections in the Wild:** This set of documentation is also [built as a collection](https://github.com/{{ site.repository }}/blob/master/docs/_docs/) if you're looking for a fully fleshed out example to inspect.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
A popular use case for collections is to build a portfolio section as part of one's personal site. Let's quickly walk through the steps to do that.
|
||||||
|
|
||||||
|
**Step 1:** Configure the portfolio collection by adding the following to `_config.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
collections:
|
||||||
|
portfolio:
|
||||||
|
output: true
|
||||||
|
permalink: /:collection/:path/
|
||||||
|
```
|
||||||
|
|
||||||
|
These settings essentially say output `index.html` files for each portfolio document in `_portfolio` at `_site/portfolio/<document-filename>/`.
|
||||||
|
|
||||||
|
Just like posts and pages you'll probably want to set some defaults for the Front Matter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
# _portfolio
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: portfolio
|
||||||
|
values:
|
||||||
|
layout: single
|
||||||
|
author_profile: false
|
||||||
|
share: true
|
||||||
|
```
|
||||||
|
|
||||||
|
And then create portfolio content like [`_portfolio/foo-bar-website.md`](https://github.com/{{ site.repository }}/blob/master/docs/_portfolio/foo-bar-website.md), to end up with something like this.
|
||||||
|
|
||||||
|

|
||||||
@@ -0,0 +1,283 @@
|
|||||||
|
---
|
||||||
|
title: "Helpers"
|
||||||
|
permalink: /docs/helpers/
|
||||||
|
excerpt: "Jekyll `_includes` and other helpers to use as shortcuts for creating archives, galleries, table of contents, and more."
|
||||||
|
gallery:
|
||||||
|
- url: /assets/images/unsplash-gallery-image-1.jpg
|
||||||
|
image_path: /assets/images/unsplash-gallery-image-1-th.jpg
|
||||||
|
alt: "placeholder image 1"
|
||||||
|
title: "Image 1 title caption"
|
||||||
|
- url: /assets/images/unsplash-gallery-image-2.jpg
|
||||||
|
image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||||
|
alt: "placeholder image 2"
|
||||||
|
title: "Image 2 title caption"
|
||||||
|
- url: /assets/images/unsplash-gallery-image-3.jpg
|
||||||
|
image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||||
|
alt: "placeholder image 3"
|
||||||
|
title: "Image 3 title caption"
|
||||||
|
feature_row:
|
||||||
|
- image_path: /assets/images/unsplash-gallery-image-1-th.jpg
|
||||||
|
alt: "placeholder image 1"
|
||||||
|
title: "Placeholder 1"
|
||||||
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||||
|
alt: "placeholder image 2"
|
||||||
|
title: "Placeholder 2"
|
||||||
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
url: "#test-link"
|
||||||
|
btn_label: "Read More"
|
||||||
|
btn_class: "btn--inverse"
|
||||||
|
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||||
|
title: "Placeholder 3"
|
||||||
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
modified: 2016-11-15T12:11:48-05:00
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include toc icon="gears" title="Helpers" %}
|
||||||
|
|
||||||
|
You can think of these Jekyll helpers as little shortcuts. Since GitHub Pages doesn't allow most plugins --- [custom tags](https://jekyllrb.com/docs/plugins/#tags) are out. Instead the theme leverages [**includes**](https://jekyllrb.com/docs/templates/#includes) to do something similar.
|
||||||
|
|
||||||
|
## Base Path
|
||||||
|
|
||||||
|
**Deprecated**. Use `absolute_url` filter instead.
|
||||||
|
|
||||||
|
Instead of repeating `{% raw %}{{ site.url }}{{ site.baseurl }}{% endraw %}` over and over again to create absolute URLs, you can use `{% raw %}{{ base_path }}{% endraw %}` instead. Simply add `{% raw %}{% include base_path %}{% endraw %}` to layouts, posts, pages, collections, or other includes and you're good to go.
|
||||||
|
|
||||||
|
**ProTip:** It's a good practice to use absolute URL paths for assets (especially post images) so they correctly resolve in the site's XML feeds. Example: `{% raw %}{{ "/assets/images/filename.jpg" | absolute_url }}{% endraw %}` ~> `https://yourdoamin.com/assets/images/filename.jpg`
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## Group by Array
|
||||||
|
|
||||||
|
[Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array) by Max White.
|
||||||
|
|
||||||
|
A liquid include file for Jekyll that allows an object to be grouped by an array.
|
||||||
|
|
||||||
|
The Liquid based taxonomy archives found amongst the demo pages rely on this helper.
|
||||||
|
|
||||||
|
| Description | | |
|
||||||
|
| ----------- | ------------------------ | --------------------------- |
|
||||||
|
| All posts grouped by category | [Source][category-array] | [Demo][category-array-demo] |
|
||||||
|
| All posts grouped by tags | [Source][tag-array] | [Demo][tag-array-demo] |
|
||||||
|
|
||||||
|
[category-array]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/category-archive.html
|
||||||
|
[category-array-demo]: {{ "/categories/" | absolute_url }}
|
||||||
|
[tag-array]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/tag-archive.html
|
||||||
|
[tag-array-demo]: {{ "/tags/" | absolute_url }}
|
||||||
|
|
||||||
|
## Figure
|
||||||
|
|
||||||
|
Generate a `<figure>` element with a single image and caption.
|
||||||
|
|
||||||
|
| Include Parameter | Required | Description |
|
||||||
|
| ---- | -------- | ----------- |
|
||||||
|
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. |
|
||||||
|
| **alt** | Optional | Alternate text for image. |
|
||||||
|
| **caption** | Optional | Figure caption text. Markdown is allowed. |
|
||||||
|
|
||||||
|
Using the `figure` include like so:
|
||||||
|
|
||||||
|
```liquid
|
||||||
|
{% raw %}{% include figure image_path="/assets/images/unsplash-image-10.jpg" alt="this is a placeholder image" caption="This is a figure caption." %}{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|
Will output the following:
|
||||||
|
|
||||||
|
{% include figure image_path="/assets/images/unsplash-image-10.jpg" alt="this is a placeholder image" caption="This is a figure caption." %}
|
||||||
|
|
||||||
|
```html
|
||||||
|
<figure>
|
||||||
|
<img src="/assets/images/unsplash-image-10.jpg" alt="this is a placeholder image">
|
||||||
|
<figcaption>This is a figure caption.</figcaption>
|
||||||
|
</figure>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Gallery
|
||||||
|
|
||||||
|
Generate a `<figure>` element with optional caption of arrays with two or more images.
|
||||||
|
|
||||||
|
To place a gallery add the necessary YAML Front Matter.
|
||||||
|
|
||||||
|
| Name | Required | Description |
|
||||||
|
| ---- | -------- | ----------- |
|
||||||
|
| **url** | Optional | URL to link gallery image to (eg. a larger detail image). |
|
||||||
|
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. |
|
||||||
|
| **alt** | Optional | Alternate text for image. |
|
||||||
|
| **title** | Optional | Title text for image. Will display as a caption in a Magnific Popup overlay when linked to a larger image with `url`. |
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
gallery:
|
||||||
|
- url: /assets/images/unsplash-gallery-image-1.jpg
|
||||||
|
image_path: /assets/images/unsplash-gallery-image-1-th.jpg
|
||||||
|
alt: "placeholder image 1"
|
||||||
|
title: "Image 1 title caption"
|
||||||
|
- url: /assets/images/unsplash-gallery-image-2.jpg
|
||||||
|
image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||||
|
alt: "placeholder image 2"
|
||||||
|
title: "Image 2 title caption"
|
||||||
|
- url: /assets/images/unsplash-gallery-image-3.jpg
|
||||||
|
image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||||
|
alt: "placeholder image 3"
|
||||||
|
title: "Image 3 title caption"
|
||||||
|
```
|
||||||
|
|
||||||
|
And then drop-in the gallery include in the body where you'd like it to appear.
|
||||||
|
|
||||||
|
| Include Parameter | Required | Description | Default |
|
||||||
|
| ----------------- | -------- | ----------- | ------- |
|
||||||
|
| **id** | Optional | To add multiple galleries to a document uniquely name them in the YAML Front Matter and reference in `{% raw %}{% include gallery id="gallery_id" %}{% endraw %}` | `gallery` |
|
||||||
|
| **class** | Optional | Use to add a `class` attribute to the surrounding `<figure>` element for additional styling needs. | |
|
||||||
|
| **caption** | Optional | Gallery caption description. Markdown is allowed. | |
|
||||||
|
|
||||||
|
```liquid
|
||||||
|
{% raw %}{% include gallery caption="This is a sample gallery with **Markdown support**." %}{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Gallery example with caption:**
|
||||||
|
|
||||||
|
{% include gallery caption="This is a sample gallery with **Markdown support**." %}
|
||||||
|
|
||||||
|
**More Gallery Goodness:** A few more examples and [source code](https://github.com/{{ site.repository }}/blob/master/docs/_posts/2010-09-09-post-gallery.md) can be seen in [this sample gallery post]({{ "" | absolute_url }}{% post_url 2010-09-09-post-gallery %}).
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## Feature Row
|
||||||
|
|
||||||
|
Designed to compliment the [`splash`]({{ "/docs/layouts/#splash-page-layout" | absolute_url }}) page layout as a way of arranging and aligning "feature blocks" containing text or image.
|
||||||
|
|
||||||
|
To add a feature row containing three content blocks with text and image, add the following YAML Front Matter
|
||||||
|
|
||||||
|
| Name | Required | Description | Default |
|
||||||
|
| ---- | ----------- | ----------- | ------- |
|
||||||
|
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | |
|
||||||
|
| **alt** | Optional | Alternate text for image. | |
|
||||||
|
| **title** | Optional | Content block title. | |
|
||||||
|
| **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | |
|
||||||
|
| **url** | Optional | URL that the button should link to. | |
|
||||||
|
| **btn_label** | Optional | Button text label. | `more_label` in UI Text data file. |
|
||||||
|
| **btn_class** | Optional | Button style. See [utility classes]({{ "/docs/utility-classes/#buttons" | absolute_url }}) for options. | `btn` |
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
feature_row:
|
||||||
|
- image_path: /assets/images/unsplash-gallery-image-1-th.jpg
|
||||||
|
alt: "placeholder image 1"
|
||||||
|
title: "Placeholder 1"
|
||||||
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
- image_path: /assets/images/unsplash-gallery-image-2-th.jpg
|
||||||
|
alt: "placeholder image 2"
|
||||||
|
title: "Placeholder 2"
|
||||||
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
url: "#test-link"
|
||||||
|
btn_label: "Read More"
|
||||||
|
btn_class: "btn--inverse"
|
||||||
|
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
|
||||||
|
title: "Placeholder 3"
|
||||||
|
excerpt: "This is some sample content that goes here with **Markdown** formatting."
|
||||||
|
```
|
||||||
|
|
||||||
|
And then drop-in the feature row include in the body where you'd like it to appear.
|
||||||
|
|
||||||
|
| Include Parameter | Required | Description | Default |
|
||||||
|
| ----------------- | -------- | ----------- | ------- |
|
||||||
|
| **id** | Optional | To add multiple rows to a document uniquely name them in the YAML Front Matter and reference in `{% raw %}{% include feature_row id="row2" %}{% endraw %}` | `feature_row` |
|
||||||
|
| **type** | Optional | Alignment of the featured blocks in the row. Options include: `left`, `center`, or `right` aligned. | |
|
||||||
|
|
||||||
|
```liquid
|
||||||
|
{% raw %}{% include feature_row %}{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|
{% include feature_row %}
|
||||||
|
|
||||||
|
**More Feature Row Goodness:** A [few more examples]({{ "/splash-page/" | absolute_url }}) and [source code](https://github.com/{{ site.repository }}/blob/master/docs/_pages/splash-page.md) can be seen in the demo site.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
|
||||||
|
To include an [auto-generated table of contents](http://kramdown.rubyforge.org/converter/html.html#toc) for posts and pages, add the following helper before any actual content in your post or page.
|
||||||
|
|
||||||
|
```liquid
|
||||||
|
{% raw %}{% include toc %}{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
| Parameter | Required | Description | Default |
|
||||||
|
| --------- | -------- | ----------- | ------- |
|
||||||
|
| **title** | Optional | Table of contents title. | `toc_label` in UI Text data file. |
|
||||||
|
| **icon** | Optional | Table of contents icon (shows before the title). | [Font Awesome](https://fortawesome.github.io/Font-Awesome/icons/) <i class="fa fa-file-text"></i> **file-text** icon. Any other FA icon can be used instead. |
|
||||||
|
|
||||||
|
**TOC example with custom title and icon**
|
||||||
|
|
||||||
|
```liquid
|
||||||
|
{% raw %}{% include toc icon="gears" title="My Table of Contents" %}{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Navigation List
|
||||||
|
|
||||||
|
Include an unordered list of links to be used as sidebar navigation with the `nav_list` helper.
|
||||||
|
|
||||||
|
**1.** Start by adding a set of titles and URLs to `_data/navigation.yml` in the same way the [`main` navigation]({{ "/docs/navigation/" | absolute_url }}) is built.
|
||||||
|
|
||||||
|
`foo` navigation example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# _data/navigation.yml
|
||||||
|
foo:
|
||||||
|
- title: "Link 1 Title"
|
||||||
|
url: /link-1-page-url/
|
||||||
|
|
||||||
|
- title: "Link 2 Title"
|
||||||
|
url: http://external-link.com
|
||||||
|
|
||||||
|
- title: "Link 3 Title"
|
||||||
|
url: /link-3-page-url/
|
||||||
|
|
||||||
|
- title: "Link 4 Title"
|
||||||
|
url: /link-4-page-url/
|
||||||
|
```
|
||||||
|
|
||||||
|
For a navigation list that has child pages you'd structure the YAML like this:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# _data/navigation.yml
|
||||||
|
foo:
|
||||||
|
- title: "Parent Link 1"
|
||||||
|
url: /parent-1-page-url/
|
||||||
|
children:
|
||||||
|
- title: "Child Link 1"
|
||||||
|
url: /child-1-page-url/
|
||||||
|
- title: "Child Link 2"
|
||||||
|
url: /child-2-page-url/
|
||||||
|
|
||||||
|
- title: "Parent Link 2"
|
||||||
|
url: /parent-2-page-url/
|
||||||
|
children:
|
||||||
|
- title: "Child Link 1"
|
||||||
|
url: /child-1-page-url/
|
||||||
|
- title: "Child Link 2"
|
||||||
|
url: /child-2-page-url/
|
||||||
|
- title: "Child Link 3"
|
||||||
|
url: /child-3-page-url/
|
||||||
|
```
|
||||||
|
|
||||||
|
**2:** On the page(s) you'd like the `foo` sidebar nav add the following YAML Front Matter, referencing the same key name.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
sidebar:
|
||||||
|
nav: "foo"
|
||||||
|
```
|
||||||
|
|
||||||
|
**ProTip:** If you're applying the same navigation list to several pages setting it as a [Front Matter default](https://jekyllrb.com/docs/configuration/#front-matter-defaults) is the better option.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
The theme's documentation is built with the `nav_list` helper so if you'd like an example to dissect take a look at `navigation.yml`, `_config.yml` and `_doc` collection in the [`/docs/`] folder(https://github.com/{{ site.repository }}/tree/master/docs/) of this repo.
|
||||||
|
|
||||||
|
To add a navigation list to a post or page's main content instead of the sidebar use the include this way:
|
||||||
|
|
||||||
|
```liquid
|
||||||
|
{% raw %}{% include nav_list nav="foo" %}{% endraw %}
|
||||||
|
```
|
||||||
|
|
||||||
|
{% include nav_list nav="foo" %}
|
||||||
|
|
||||||
|
| Parameter | Required | Description |
|
||||||
|
| --------- | -------- | ----------- |
|
||||||
|
| items | **Required** | Name of the links array found in `_data/navigation.yml`. |
|
||||||
@@ -0,0 +1,175 @@
|
|||||||
|
---
|
||||||
|
title: "Utility Classes"
|
||||||
|
permalink: /docs/utility-classes/
|
||||||
|
excerpt: "CSS classes for aligning text/image, styling buttons and notices, and more."
|
||||||
|
modified: 2016-11-03T11:32:25-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include toc icon="gears" title="Utility Classes" %}
|
||||||
|
|
||||||
|
Using the Kramdown Markdown renderer with Jekyll allows you to add [block](http://kramdown.gettalong.org/quickref.html#block-attributes) and [inline attributes](http://kramdown.gettalong.org/quickref.html#inline-attributes). This is nice if you want to add custom styling to text and image, and still write in Markdown.
|
||||||
|
|
||||||
|
**Jekyll 3:** Kramdown is the default for `jekyll new` sites and those hosted on GitHub Pages. Not using Kramdonw? That's OK. The following classes are still available when used with standard HTML.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
## Text Alignment
|
||||||
|
|
||||||
|
Align text blocks with the following classes.
|
||||||
|
|
||||||
|
Left aligned text `.text-left`
|
||||||
|
{: .text-left}
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
Left aligned text
|
||||||
|
{: .text-left}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Center aligned text. `.text-center`
|
||||||
|
{: .text-center}
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
Center aligned text.
|
||||||
|
{: .text-center}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Right aligned text. `.text-right`
|
||||||
|
{: .text-right}
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
Right aligned text.
|
||||||
|
{: .text-right}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Justified text.** `.text-justify` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel eleifend odio, eu elementum purus. In hac habitasse platea dictumst. Fusce sed sapien eleifend, sollicitudin neque non, faucibus est. Proin tempus nisi eu arcu facilisis, eget venenatis eros consequat.
|
||||||
|
{: .text-justify}
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
Justified text.
|
||||||
|
{: .text-justify}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
No wrap text. `.text-nowrap`
|
||||||
|
{: .text-nowrap}
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
No wrap text.
|
||||||
|
{: .text-nowrap}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Image Alignment
|
||||||
|
|
||||||
|
Position images with the following classes.
|
||||||
|
|
||||||
|
{: .align-center}
|
||||||
|
|
||||||
|
The image above happens to be **centered**.
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
{: .align-center}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
{: .align-left} The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is **left aligned**. There should be plenty of room above, below, and to the right of the image. Just look at him there --- Hey guy! Way to rock that left side. I don't care what the right aligned image says, you look great. Don't let anyone else tell you differently.
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
{: .align-left}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
{: .align-right}
|
||||||
|
|
||||||
|
And now we're going to shift things to the **right align**. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there --- Hey guy! Way to rock that right side. I don't care what the left aligned image says, you look great. Don't let anyone else tell you differently.
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
{: .align-right}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
{: .full}
|
||||||
|
|
||||||
|
The image above should extend outside of the parent container on right.
|
||||||
|
|
||||||
|
```markdown
|
||||||
|

|
||||||
|
{: .full}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Buttons
|
||||||
|
|
||||||
|
Make any link standout more when applying the `.btn` class.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<a href="#" class="btn">Link Text</a>
|
||||||
|
```
|
||||||
|
|
||||||
|
| Button Type | Example | Class | Kramdown |
|
||||||
|
| ------ | ------- | ----- | ------- |
|
||||||
|
| Default | [Text](#link){: .btn} | `.btn` | `[Text](#link){: .btn}` |
|
||||||
|
| Success | [Text](#link){: .btn .btn--success} | `.btn .btn--success` | `[Text](#link){: .btn .btn--success}` |
|
||||||
|
| Warning | [Text](#link){: .btn .btn--warning} | `.btn .btn--warning` | `[Text](#link){: .btn .btn--warning}` |
|
||||||
|
| Danger | [Text](#link){: .btn .btn--danger} | `.btn .btn--danger` | `[Text](#link){: .btn .btn--danger}` |
|
||||||
|
| Info | [Text](#link){: .btn .btn--info} | `.btn .btn--info` | `[Text](#link){: .btn .btn--info}` |
|
||||||
|
| Inverse | [Text](#link){: .btn .btn--inverse} | `.btn .btn--inverse` | `[Text](#link){: .btn .btn--inverse}` |
|
||||||
|
| Light Outline | [Text](#link){: .btn .btn--light-outline} | `.btn .btn--light-outline` | `[Text](#link){: .btn .btn--light-outline}` |
|
||||||
|
|
||||||
|
| Button Size | Example | Class | Kramdown |
|
||||||
|
| ----------- | ------- | ----- | -------- |
|
||||||
|
| X-Large | [X-Large Button](#){: .btn .btn--x-large} | `.btn .btn--x-large` | `[Text](#link){: .btn .btn--x-large}` |
|
||||||
|
| Large | [Large Button](#){: .btn .btn--large} | `.btn .btn--large` | `[Text](#link){: .btn .btn--large}` |
|
||||||
|
| Default | [Default Button](#){: .btn} | `.btn` | `[Text](#link){: .btn}` |
|
||||||
|
| Small | [Small Button](#){: .btn .btn--small} | `.btn .btn--small` | `[Text](#link){: .btn .btn--small}` |
|
||||||
|
|
||||||
|
## Notices
|
||||||
|
|
||||||
|
Call attention to a block of text.
|
||||||
|
|
||||||
|
| Notice Type | Class |
|
||||||
|
| ----------- | ----- |
|
||||||
|
| Default | `.notice` |
|
||||||
|
| Primary | `.notice--primary` |
|
||||||
|
| Info | `.notice--info` |
|
||||||
|
| Warning | `.notice--warning` |
|
||||||
|
| Success | `.notice--success` |
|
||||||
|
| Danger | `.notice--danger` |
|
||||||
|
|
||||||
|
**Watch out!** This paragraph of text has been emphasized with the `{: .notice}` class.
|
||||||
|
{: .notice}
|
||||||
|
|
||||||
|
**Watch out!** This paragraph of text has been emphasized with the `{: .notice--primary}` class.
|
||||||
|
{: .notice--primary}
|
||||||
|
|
||||||
|
**Watch out!** This paragraph of text has been emphasized with the `{: .notice--info}` class.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
**Watch out!** This paragraph of text has been emphasized with the `{: .notice--warning}` class.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
**Watch out!** This paragraph of text has been emphasized with the `{: .notice--success}` class.
|
||||||
|
{: .notice--success}
|
||||||
|
|
||||||
|
**Watch out!** This paragraph of text has been emphasized with the `{: .notice--danger}` class.
|
||||||
|
{: .notice--danger}
|
||||||
|
|
||||||
|
{% capture notice-text %}
|
||||||
|
You can also add the `.notice` class to a `<div>` element.
|
||||||
|
|
||||||
|
* Bullet point 1
|
||||||
|
* Bullet point 2
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
<div class="notice--info">
|
||||||
|
<h4>Notice Headline:</h4>
|
||||||
|
{{ notice-text | markdownify }}
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
---
|
||||||
|
title: "Stylesheets"
|
||||||
|
permalink: /docs/stylesheets/
|
||||||
|
excerpt: "Instructions for customizing and building the theme's stylesheets."
|
||||||
|
modified: 2016-11-03T11:34:42-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
The theme's `assets/css/main.css` file is built from several SCSS partials located in [`_sass/`](https://github.com/mmistakes/minimal-mistakes/tree/master/_sass) and is structured as follows:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
minimal mistakes
|
||||||
|
├── _sass
|
||||||
|
| ├── vendor # vendor SCSS partials
|
||||||
|
| | ├── breakpoint # media query mixins
|
||||||
|
| | ├── font-awesome # Font Awesome icons
|
||||||
|
| | ├── magnific-popup # Magnific Popup lightbox
|
||||||
|
| | └── susy # Susy grid system
|
||||||
|
| ├── _animations.scss # animations
|
||||||
|
| ├── _archive.scss # archives (list, grid, feature views)
|
||||||
|
| ├── _base.scss # base HTML elements
|
||||||
|
| ├── _buttons.scss # buttons
|
||||||
|
| ├── _footer.scss # footer
|
||||||
|
| ├── _masthead.scss # masthead
|
||||||
|
| ├── _mixins.scss # mixins (em function, clearfix)
|
||||||
|
| ├── _navigation.scss # nav links (breadcrumb, priority+, toc, pagination, etc.)
|
||||||
|
| ├── _notices.scss # notices
|
||||||
|
| ├── _page.scss # pages
|
||||||
|
| ├── _print.scss # print styles
|
||||||
|
| ├── _reset.scss # reset
|
||||||
|
| ├── _sidebar.scss # sidebar
|
||||||
|
| ├── _syntax.scss # syntax highlighting
|
||||||
|
| ├── _tables.scss # tables
|
||||||
|
| ├── _utilities.scss # utility classes (text/image alignment)
|
||||||
|
| └── _variables.scss # theme defaults (fonts, colors, etc.)
|
||||||
|
├── assets
|
||||||
|
| ├── css
|
||||||
|
| | └── main.scss # main stylesheet, loads SCSS partials in _sass
|
||||||
|
```
|
||||||
|
|
||||||
|
## Customizing
|
||||||
|
|
||||||
|
The variables and settings found in [`_sass/_variables.scss`](https://github.com/mmistakes/minimal-mistakes/blob/master/_sass/_variables.scss) can be used to modify the following aspects of the theme:
|
||||||
|
|
||||||
|
### Paragraph Indention
|
||||||
|
|
||||||
|
To mimic the look of type set in a printed book or manuscript you may want to enable paragraph indention. When `$paragraph-indent` is set to `true` indents are added to each sibling and the margin below each paragraph is removed.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-paragraph-indent-example.jpg' | absolute_url }}" alt="indented paragraph example">
|
||||||
|
<figcaption>Example of indented paragraphs.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
The size of the indent can also be customized by changing the value of `$indent-var`.
|
||||||
|
|
||||||
|
### Font Stacks
|
||||||
|
|
||||||
|
By default the theme uses [system fonts](https://medium.com/designing-medium/system-shock-6b1dc6d6596f#.rb81vgn7i) for all of the font stacks (serif, sans-serif, and monospace). This is done in part to provide a clean base for you to build off of and to improve performance since we aren't loading any custom webfonts[^font-awesome] by default.
|
||||||
|
|
||||||
|
```scss
|
||||||
|
/* system typefaces */
|
||||||
|
$serif : Georgia, Times, serif;
|
||||||
|
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
||||||
|
$monospace : Monaco, Consolas, "Lucida Console", monospace;
|
||||||
|
```
|
||||||
|
|
||||||
|
[^font-awesome]: Apart from [Font Awesome](https://fortawesome.github.io/Font-Awesome/) icon webfonts.
|
||||||
|
|
||||||
|
Sans-serif fonts have been used for most of the type, with serifs reserved for captions. If you wish to change this you'll need to poke around the various `SCSS` partials and modify `font-family` declarations.
|
||||||
|
|
||||||
|
**ProTip:** To use webfonts from services like [Adobe TypeKit](https://typekit.com/) or [Google Fonts](https://www.google.com/fonts) simply update the font stacks and then add their scripts to `_includes/head/custom.html`.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
#### Typography from Older Versions
|
||||||
|
|
||||||
|
Not a fan of the refreshed typography of the theme and want to revert back an older version? Easy enough.
|
||||||
|
|
||||||
|
**1.** Add this Google Fonts script to [`_includes/head/custom.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/head/custom.html):
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700|PT+Serif:400,700,400italic" rel="stylesheet" type="text/css">
|
||||||
|
```
|
||||||
|
|
||||||
|
**2.** Update the following variables in `/_sass/_variables.scss`:
|
||||||
|
|
||||||
|
```scss
|
||||||
|
$serif : "PT Serif", Georgia, Times, serif;
|
||||||
|
$sans-serif-narrow : "PT Sans Narrow", $sans-serif;
|
||||||
|
|
||||||
|
$global-font-family : $serif;
|
||||||
|
$header-font-family : $sans-serif-narrow;
|
||||||
|
```
|
||||||
|
|
||||||
|
### Type Scale
|
||||||
|
|
||||||
|
Wherever possible type scale variables have been used instead of writing out fixed sizes. This makes updating much easier by changing values in one file, `_variables.scss`.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```scss
|
||||||
|
.page__lead {
|
||||||
|
font-family: $global-font-family;
|
||||||
|
font-size: $type-size-4;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Type sizes are set in ems to proportional scale as the screen size changes. Large headlines that look great on desktop monitors will shrink ever so slightly as to not be too big on mobile devices. To adjust this hierarchy simply edit the default values:
|
||||||
|
|
||||||
|
```scss
|
||||||
|
/* type scale */
|
||||||
|
$type-size-1 : 2.441em; // ~39.056px
|
||||||
|
$type-size-2 : 1.953em; // ~31.248px
|
||||||
|
$type-size-3 : 1.563em; // ~25.008px
|
||||||
|
$type-size-4 : 1.25em; // ~20px
|
||||||
|
$type-size-5 : 1em; // ~16px
|
||||||
|
$type-size-6 : 0.75em; // ~12px
|
||||||
|
$type-size-7 : 0.6875em; // ~11px
|
||||||
|
$type-size-8 : 0.625em; // ~10px
|
||||||
|
```
|
||||||
|
|
||||||
|
### Colors
|
||||||
|
|
||||||
|
Change the mood of your site by altering a few color variables. `$body-color`, `$background-color`, `$text-color`, `$link-color`, and `$masthead-link-color` will have the most affect when changed.
|
||||||
|
|
||||||
|
### Breakpoints and Grid Stuff
|
||||||
|
|
||||||
|
Probably won't need to touch these, but they're there if you need to. Width variables are used with the [`@include breakpoint()`](http://breakpoint-sass.com/) mixin to adapt the design of certain elements.
|
||||||
|
|
||||||
|
And `$susy` is used for setting [the grid](http://susy.oddbird.net/) the theme uses. Uncommenting the lines under `debug` can be useful if you want to show the columns when adjusting the layout.
|
||||||
|
|
||||||
|
<figure>
|
||||||
|
<img src="{{ '/assets/images/mm-susy-grid-overlay.jpg' | absolute_url }}" alt="Susy grid overlay for debugging">
|
||||||
|
<figcaption>Susy grid debug overlay enabled.</figcaption>
|
||||||
|
</figure>
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
title: "JavaScript"
|
||||||
|
permalink: /docs/javascript/
|
||||||
|
excerpt: "Instructions for customizing and building the theme's scripts."
|
||||||
|
modified: 2016-11-03T11:35:42-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
The theme's [`assets/js/main.min.js`] script is built from several vendor, jQuery plugins, and other scripts found in [`assets/js/`](https://github.com/mmistakes/minimal-mistakes/tree/master/assets/js).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
minimal mistakes
|
||||||
|
├── assets
|
||||||
|
| ├── js
|
||||||
|
| | ├── plugins
|
||||||
|
| | | ├── jquery.fitvids.js # fluid width video embeds
|
||||||
|
| | | ├── jquery.greedy-navigation.js # priority plus navigation
|
||||||
|
| | | ├── jquery.magnific-popup.js # responsive lightbox
|
||||||
|
| | | ├── jquery.smooth-scroll.min.js # make same-page links scroll smoothly
|
||||||
|
| | | └── stickyfill.min.js # `position: sticky` polyfill
|
||||||
|
| | ├── vendor
|
||||||
|
| | | └── jquery
|
||||||
|
| | | └── jquery-1.12.1.min.js
|
||||||
|
| | ├── _main.js # jQuery plugin settings and other scripts
|
||||||
|
| | └── main.min.js # concatenated and minified scripts
|
||||||
|
```
|
||||||
|
|
||||||
|
## Customizing
|
||||||
|
|
||||||
|
To modify or add your own scripts include them in [`assets/js/_main.js`](https://github.com/mmistakes/minimal-mistakes/blob/master/assets/js/_main.js) and then rebuild using `npm run build:js`. See below for more details.
|
||||||
|
|
||||||
|
If you add additional scripts to `assets/js/plugins/` and would like them concatenated with the others, be sure to update the `uglify` script in [`package.json`](https://github.com/mmistakes/minimal-mistakes/blob/master/package.json). Same goes for scripts that you remove.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Build Process
|
||||||
|
|
||||||
|
In an effort to reduce dependencies a set of [**npm scripts**](https://css-tricks.com/why-npm-scripts/) are used to build `main.min.js` instead of task runners like [Gulp](http://gulpjs.com/) or [Grunt](http://gruntjs.com/). If those tools are more your style then by all means use them instead :wink:.
|
||||||
|
|
||||||
|
To get started:
|
||||||
|
|
||||||
|
1. Install [Node.js](http://nodejs.org/).
|
||||||
|
2. `cd` to the root of your project.
|
||||||
|
3. Install all of the dependencies by running `npm install`.
|
||||||
|
|
||||||
|
**Note:** If you upgraded from a previous version of the theme be sure you copied over [`package.json`](https://github.com/{{ site.repository }}/blob/master/package.json) prior to running `npm install`.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
If all goes well, running `npm run build:js` will compress/concatenate `_main.js` and all plugin scripts into `main.min.js`.
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user