Compare commits

...
993 Commits
Author SHA1 Message Date
Michael Rose 1ab092bcd4 Release 4.11.1 💎 2018-03-20 17:30:07 -04:00
Michael Rose 9bc97aee23 Test external URL 2018-03-20 16:16:50 -04:00
Michael Rose d9bf5025f3 Use relative_url filter 2018-03-20 16:16:42 -04:00
Michael Rose 4d4531d19f Replace absolute_url with relative_url 2018-03-20 16:01:21 -04:00
Michael Rose a76c16ee23 Harmonize class names 2018-03-20 15:38:24 -04:00
Michael Rose 19a943eec1 Fix permalinks 2018-03-20 15:34:17 -04:00
Michael Rose 483184d566 Add new layouts 2018-03-20 15:34:10 -04:00
Michael Rose cc81736778 Replace hard coded archive pages with layouts 2018-03-20 15:09:40 -04:00
Michael Rose 4cfbd7a5aa Document new layouts 2018-03-20 15:06:41 -04:00
Michael Rose a8d3b4b613 Use collection layout 2018-03-20 14:47:23 -04:00
Michael Rose 31b20a6ad0 Add wide modifier to archive layout 2018-03-20 14:47:13 -04:00
Michael Rose ba5d25c419 Replace hard coded archive pages with new layouts 2018-03-20 14:39:40 -04:00
Michael Rose ffef5a93de Clear floats 2018-03-20 14:39:15 -04:00
Michael Rose 467a748815 Configure entries layout list or grid
Switch between list or grid view by adding `entries_layout` to YAML Front Matter.
2018-03-20 14:38:55 -04:00
Michael Rose d6605146ac Add posts, categories, category, tags, tag, and collection layouts
Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
2018-03-20 12:45:28 -04:00
Michael Rose 2463b55c4c Add id to page title 2018-03-20 12:38:54 -04:00
Michael Rose 5e60d2d3c5 Fix search excerpts that run together 2018-03-20 11:48:30 -04:00
Michael Rose c8226a32a6 Replace absolute_url with relative_url
Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
2018-03-20 11:35:36 -04:00
Michael Rose fbb7356d74 Remove space 2018-03-14 12:56:53 -04:00
Michael Rose 25c4bb37ec Remove space 2018-03-14 12:56:02 -04:00
Michael Rose bac26e96b2 Add default theme and remote_theme values to _config.yml 2018-03-14 12:54:15 -04:00
Michael Rose b274ada35c Update version 2018-03-12 19:38:21 -04:00
Michael Rose 7239604922 Release 4.10.1 💎 2018-03-12 19:32:55 -04:00
Michael Rose 6997319c47 Update CHANGELOG and history 2018-03-12 19:29:00 -04:00
Michael Rose e7095c49d9 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-03-12 19:27:51 -04:00
Matías E. Fernández 79d0b75683 Add support for Google Analytics with global site tag (gtag.js) (#1563)
For documentation see https://developers.google.com/analytics/devguides/collection/gtagjs/
and https://support.google.com/analytics/answer/7538414.
2018-03-12 19:27:42 -04:00
Michael Rose eebf6f4b3c Add missing German translations 2018-03-12 19:25:49 -04:00
Tobias L. Maier 39bf00055a Add more translations for de (#1577)
* Add more translations for de

* Fix Typo
2018-03-12 19:23:17 -04:00
Christian Oliff 04716862b0 Update Font Awesome JS to 5.0.8 (#1561)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-03-12 19:22:30 -04:00
Staticman df1e07e3fc New comment (#1574) 2018-03-11 08:55:41 -04:00
Staticman 1db41bc1f6 New comment (#1572) 2018-03-10 09:27:36 -05:00
Staticman bf8b42be17 New comment (#1573) 2018-03-10 09:26:19 -05:00
Michael Rose f52d91a6aa Update CHANGELOG and history 2018-03-09 15:20:25 -05:00
Michael Rose 0be9facfad Revert "Place options before Jekyll command"
This reverts commit 4a7b7a67dd.
2018-03-09 15:14:35 -05:00
Michael Rose 4a7b7a67dd Place options before Jekyll command 2018-03-09 15:12:36 -05:00
Michael Rose fa50bbbe39 Add source and destination paths to build script 2018-03-09 15:11:37 -05:00
Michael Rose 279cd603c3 Fix typo 2018-03-09 15:06:29 -05:00
Michael Rose 973f1fcf98 Fix _config.yml path in build script 2018-03-09 15:04:28 -05:00
Michael Rose 416364471f Set /docs Gemfile 2018-03-09 15:00:29 -05:00
Michael Rose d0473d202a Edit Travis CI build script 2018-03-09 14:56:41 -05:00
Michael Rose 4a03354667 Activate Algolia search on documenation site 2018-03-09 14:52:47 -05:00
Michael Rose 588a044986 Convert EOL sequence to LF 2018-03-06 16:12:46 -05:00
Michael Rose 279770bb5e Update CHANGELOG and history 2018-03-01 11:32:18 -05:00
Christian Oliff b99592bad0 Update Font Awesome JS to 5.0.7 (#1555) 2018-03-01 11:30:19 -05:00
arturamaj a362e3b309 polish language code fix (#1550) 2018-02-24 14:36:57 -05:00
Staticman 4a466b1465 New comment (#1548) 2018-02-23 15:17:31 -05:00
Staticman 95226ac727 New comment (#1542) 2018-02-21 16:08:26 -05:00
Staticman c3ab58f99c New comment (#1541) 2018-02-21 16:05:54 -05:00
Michael Rose 7692a98fce Fix formatting 2018-02-21 08:01:07 -05:00
Christian Oliff 923019e7de update to jquery 3.3.1 (#1540) 2018-02-21 07:41:28 -05:00
Christian Oliff abfefd920d https link to realfavicongenerator.net (#1539) 2018-02-21 07:41:00 -05:00
Michael Rose 1493db8fdf Remove apostrophe 2018-02-19 08:13:24 -05:00
Michael Rose f878aa943b Add link to jekyll-algolia's documentation 2018-02-19 08:10:26 -05:00
Michael Rose 73d82964a2 Update jQuery to v3.3.1
Close #1491
2018-02-16 15:19:01 -05:00
Michael Rose 356c1eb093 Focus Algolia search input 2018-02-16 15:12:57 -05:00
Michael Rose d720398c24 Update CHANGELOG and history 2018-02-16 14:40:56 -05:00
Michael Rose f4b72fef3e Update Algolia search demo URL 2018-02-16 14:37:47 -05:00
Michael Rose ba9079041b Release 4.10.0 💎 2018-02-16 14:27:49 -05:00
Michael Rose 1ec7954277 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-02-16 14:24:21 -05:00
Michael Rose b0ee45b4de Update default layout override 2018-02-16 14:24:17 -05:00
Michael Rose acdd3443de Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Michael Rose 8f483ae906 Fix gem name 2018-02-06 15:59:31 -05:00
Michael Rose c415ed0bed Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-02-06 15:57:49 -05:00
Michael Rose a2cde2c7f9 Update badges 2018-02-06 15:57:44 -05:00
Michael Rose 19ace79114 Update .gitattributes 2018-02-06 15:25:37 -05:00
Michael Rose af7c8a136a Revert "Rename LICENSE.txt to LICENSE"
This reverts commit e2d0b00902.
2018-02-06 15:22:12 -05:00
Michael Rose e2d0b00902 Rename LICENSE.txt to LICENSE 2018-02-06 15:19:59 -05:00
Michael Rose 4462d77420 Update linguist-vendored globs 2018-02-06 14:46:11 -05:00
Michael Rose 2598fbd6d4 Update linguist-vendored globs 2018-02-06 13:56:14 -05:00
Michael Rose 9d994f621b Remove apostrophe 2018-02-05 14:47:09 -05:00
Michael Rose b9d9dc11bf Release 4.9.1 💎 2018-02-05 14:41:43 -05:00
Michael Rose b600046247 Add space 2018-02-05 14:37:13 -05:00
Michael Rose b59d53e34b Add sample wide pages and update documentation 2018-02-05 14:34:32 -05:00
Peter Ahrens ba4a07d771 Giving the people what they want: A new, wider "wide" class for the "single" layout. (#1516)
Add `wide` variant to single layout
2018-02-05 14:23:44 -05:00
Michael Rose ecf22d2d38 Fix grammar 2018-02-01 14:46:27 -05:00
Michael Rose be68ed4259 Fix merge conflicts 2018-02-01 14:35:27 -05:00
Michael Rose ed533591d0 Update CHANGELOG and history 2018-02-01 14:31:51 -05:00
Michael Rose 264bc75963 Update CHANGELOG and history 2018-02-01 07:32:26 -05:00
Christian Oliff d98808385f Update Font Awesome to latest version (#1513)
Update Font Awesome to latest version
2018-02-01 07:31:18 -05:00
Tom f711708abe Rectify German UI text (#1511) 2018-02-01 07:30:19 -05:00
Andrea 3598e8ebf2 Fix docs. Change Isaac Newton with Albert Einstein (#1508) 2018-01-30 20:28:44 -05:00
Michael Rose 1c0f19158d Replace | with HTML entity when used as title separator
ref: #760, #1506
2018-01-29 20:38:47 -05:00
Michael Rose 63e2226054 Update stale.yml 2018-01-26 08:26:07 -05:00
Michael Rose fd2cc8ea53 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-01-23 19:57:47 -05:00
Michael Rose 46ad2cf4d4 Remove ignore file 2018-01-23 19:57:44 -05:00
Michael Rose 344d52f4c6 Fix border bottom for Gist line numbers 2018-01-23 15:59:12 -05:00
Michael Rose 6efa23ebd9 Update CHANGELOG and history 2018-01-18 10:26:43 -05:00
googlr 61bad6d0aa fix a typo in 04-upgrading.md (#1487) 2018-01-18 10:25:33 -05:00
Michael Rose 4f54154ee5 Update CHANGELOG and history 2018-01-17 14:38:20 -05:00
Michael Rose cd8fd82587 Remove extra spaces after : 2018-01-17 14:36:43 -05:00
d00616 6fee80f754 Fix jsonify name in seo.html application/ld+json script (#1485) 2018-01-17 14:35:50 -05:00
Michael Rose 176f972418 Update CHANGELOG and history 2018-01-17 14:21:28 -05:00
Michael Rose d90a3d521a Add archive feature row test page 2018-01-17 14:14:01 -05:00
Michael Rose ed840e9809 Add archive feature row test page 2018-01-17 12:54:28 -05:00
Michael Rose a86af6d6dc Adjust feature row styling when used on an archive layout 2018-01-17 12:54:11 -05:00
Michael Rose 97387fa59a Remove misleading underline hover state
Implies the feature item's title and image are clickable, when in fact they aren't links.
2018-01-17 12:53:33 -05:00
Michael Rose 0ec52b57ce Replace toc include with toc: true 2018-01-17 12:48:33 -05:00
Michael Rose 637d113179 Remove base_path include from pages 2018-01-17 12:48:19 -05:00
Michael Rose fb9f13c624 Reduce font-size of page meta in list/grid items 2018-01-17 12:44:21 -05:00
Michael Rose 3b65f1de8d Underline archive item titles 2018-01-17 12:35:45 -05:00
Michael Rose 474ed73228 Update issue template 2018-01-17 11:50:08 -05:00
Michael Rose cf9ac441bb Fix author sidebar icon colors for dark skins
Fixes #1482
2018-01-16 17:40:30 -05:00
Michael Rose b6ff1e5ce0 Update CHANGELOG and history 2018-01-16 08:10:10 -05:00
Michael Rose aa960cc57c Add new translations to Russian locale 2018-01-16 08:10:02 -05:00
Dmitry Khraponov a56161cc78 add new traslations (#1477) 2018-01-16 08:08:25 -05:00
Michael Rose 952a099313 Add Danish translations for new search strings 2018-01-15 16:31:10 -05:00
Michael Rose f64b5f14d3 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# Conflicts:
#	docs/_docs/18-history.md
2018-01-15 16:30:32 -05:00
Michael Rose 6993b9aac8 Update CHANGELOG and history 2018-01-15 16:23:36 -05:00
Lars Olesen ba7e8e16c3 Added Danish Translations for new search strings (#1472) 2018-01-15 16:22:21 -05:00
Michael Rose b75b33ed1a Update CHANGELOG and history 2018-01-12 20:43:46 -05:00
Michael Rose 5de9991999 Fix syntax highlighting line number inconsistency
Globally enabling Rouge block line numbers in Kramdown _config.yml settings should be styled consistently with `{% highlight linenos %}` Jekyll tag.

Fixes #1467
2018-01-12 20:42:25 -05:00
Michael Rose 1be03e6335 Update CHANGELOG and history 2018-01-10 11:46:54 -05:00
Michael Rose 527d187e82 Replace hardcoded 10 with actual button width 2018-01-10 11:45:35 -05:00
Michael Rose 8d5429bcc0 Add Lunr license 2018-01-10 11:22:41 -05:00
Michael Rose ca779e74cb Update CHANGELOG and history 2018-01-10 11:17:57 -05:00
Michael Rose 046d93d05b Add copyright and version back 2018-01-10 11:17:50 -05:00
Michael Rose f349dff2ee Minify lunr.js 2018-01-10 11:14:59 -05:00
Michael Rose e305cc79f1 Replace Vimeo video with working one 2018-01-09 14:28:43 -05:00
Michael Rose 6b66bbe914 Replace Vimeo video with working one 2018-01-09 14:26:38 -05:00
Michael Rose d200fb509d Change TOC icon 2018-01-09 14:23:22 -05:00
Michael Rose 7d48f1cae1 Remove remote-theme from plugins and whitelist array
remote-theme gem is a dependency of GitHub Pages and doesn't need to be assigned in the `_config.yml` anymore.
2018-01-09 14:19:09 -05:00
Michael Rose c24aae3fad Fix typo 2018-01-09 14:17:40 -05:00
Michael Rose 3c3634fe2c Use master branch version of remote theme 2018-01-09 14:02:04 -05:00
Michael Rose 20e1c5953a Update CHANGELOG and history 2018-01-09 14:01:36 -05:00
Michael Rose 51544d5c62 SEO and author fixes (#1456)
* Fix canonical URL
* Fix next/previous page paths
* Group meta types together
* Fix twitter:creator conditional
* Allow `author` to accept an object or string
* Reduce white-space
* Add "website" as default `og:type`
* Add `article:modified_time`
* Show `article:modified_time` on `article` only

Fixes #289
2018-01-09 13:58:35 -05:00
Michael Rose 8fc3692e21 Update CHANGELOG and history 2018-01-09 13:57:11 -05:00
Michael Rose 7de9152d0f Change /test navigation links 2018-01-09 13:56:19 -05:00
Michael Rose 614b6bdf92 Improve greedy navigation's layout when JavaScript is disabled 2018-01-09 13:56:09 -05:00
Michael Rose a8d7bf2237 Add Solarized light syntax highlighting color variables 2018-01-09 09:59:49 -05:00
Michael Rose 2691067e17 Updage CHANGELOG and history 2018-01-08 20:19:39 -05:00
Michael Rose 58b0f45c59 Remove remote_theme gem 2018-01-08 20:16:57 -05:00
Michael Rose 49d09c6c5b Add instructions on how to downgrade 2018-01-08 20:11:05 -05:00
Michael Rose bbf3cbc5fd Add links to installation instructions 2018-01-08 12:10:46 -05:00
Michael Rose e8d9b18d17 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-01-08 11:15:31 -05:00
Michael Rose 1976b564e8 Test SEO and author fixes 2018-01-08 11:15:27 -05:00
Michael Rose 9634bb84fb Simplify year archive Liquid 2018-01-05 20:47:34 -05:00
Michael Rose 6e0ef33ec7 Add table of contents 2018-01-05 08:53:03 -05:00
Michael Rose cab1e50f50 Add Base16 syntax highlighting color examples 2018-01-05 08:51:42 -05:00
Michael Rose 7bc9e5a47b Change language 2018-01-05 08:36:25 -05:00
Michael Rose 8a8235f8d7 Fix grammar 2018-01-05 08:35:30 -05:00
Michael Rose b865158151 Update them upgrade instructions 2018-01-05 08:33:35 -05:00
Michael Rose 32a2e9d104 Update Prettier ignore 2018-01-05 08:12:25 -05:00
Michael Rose eaf50acea6 Release 4.9.0 💎 2018-01-04 22:52:11 -05:00
Michael Rose 267d2c96a0 Reduce white-space to trim down filesize 2018-01-04 20:52:01 -05:00
Michael Rose 1c0f31d563 Update CHANGELOG and history 2018-01-04 20:47:04 -05:00
Michael Rose 3f469f268f Improve syntax highlighting styles (#1450)
* Cleanup syntax highlighting styles
* Replace hardcoded color values with [base16](http://chriskempson.com/projects/base16/) Sass variables
* Harmonize padding between GFM code blocks and `{% highlight %}` code blocks
*  Improve readability of line numbers
* Add longer code block example to test double digit line numbers
* Adjust code block colors for specific skins
2018-01-04 20:46:10 -05:00
Michael Rose 94d753378a Add Prettier ignore file
Stop prettier from messing with Markdown files.
2018-01-04 20:44:17 -05:00
Michael Rose 569181c267 Remove / from {% link %} tag 2018-01-04 20:43:51 -05:00
Michael Rose 7a0f4dc87c Fix grammar 2018-01-04 20:33:19 -05:00
Michael Rose 8604294de8 Update CHANGELOG and history 2018-01-04 20:30:15 -05:00
Michael Rose e10501aaa4 Document how to index post/collections entire content with search_full_content 2018-01-04 20:30:07 -05:00
Nick Garlis 3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00
Michael Rose 76b02a8c15 Update CHANGELOG and history 2018-01-04 14:29:58 -05:00
Michael Rose 3e922ddf58 Upgrade Font Awesome to version 5 (#1446)
Upgrade Font Awesome to version 5 (SVG with JavaScript)

Close #1396
2018-01-04 14:27:27 -05:00
Michael Rose e3858f80e4 Remove brackets 2018-01-03 19:12:51 -05:00
Michael Rose 20ec5789f5 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Only load Lunr languages that exist in theme
2018-01-03 19:11:05 -05:00
Michael Rose 70ad1c2d8c Only load Lunr languages that exist in theme
ref: https://github.com/mmistakes/minimal-mistakes/pull/1445#issuecomment-355153434
2018-01-03 19:10:58 -05:00
Michael Rose 13ca7629b0 Only load Lunr languages that exist in theme
ref https://github.com/mmistakes/minimal-mistakes/pull/1445#issuecomment-355153434
2018-01-03 19:02:14 -05:00
Michael Rose 27d6774b25 Update CHANGELOG and history 2018-01-03 14:21:47 -05:00
Michael Rose e2b50a355f Fix stuck sidebar when resizing viewport
Close #1447
2018-01-03 14:20:41 -05:00
Michael Rose 0db0f31953 Update CHANGELOG and history 2018-01-03 12:48:06 -05:00
Michael Rose bd3e078ab8 Translate search_placeholder_text and results_found to Greek 2018-01-03 12:46:08 -05:00
Nick Garlis 6fe3b9cd1c Add lunr-gr.js and fix lunr-en.js (#1445)
* Remove Lunr trimmer & bring back colons
* Add Greek Stemmer
* Translate `search_placeholder_text` and `results_found` to Greek
2018-01-03 12:44:37 -05:00
Michael Rose 14d3ed2f7b Update CHANGELOG and history 2018-01-03 10:12:49 -05:00
Michael Rose 61e2a1aa47 Round top right corner of code block icon 2018-01-03 10:11:39 -05:00
Michael Rose f9f97d72e6 Reduce visual weight of code blocks
Flatten shadow and remove borders relying on background color to highlight code.
2018-01-03 10:11:10 -05:00
Michael Rose a9e0482077 Update CHANGELOG and history 2018-01-03 09:53:15 -05:00
Michael Rose 3c5e913aaf Fix line number width in code blocks
Code blocks with short line widths can cause `td.gutter` width to stretch, adding in undesired white space.

Declaring widths on the table's columns fixes #1437

Add `{% highlight linenos %}` examples to test and demo sites.
2018-01-03 09:45:21 -05:00
Michael Rose eafdd4efc4 Fix heading 2018-01-03 08:42:25 -05:00
Michael Rose a736697d88 Update Font Awesome link 2018-01-03 08:40:36 -05:00
Michael Rose c40ce370fa Update Greedy Navigation source link 2018-01-03 08:39:38 -05:00
Michael Rose fff5d1f60b Update GitHub Pages installation instructions 2018-01-03 08:38:08 -05:00
Michael Rose b4f8096e37 Update copyright date 2018-01-03 08:25:51 -05:00
Michael Rose b51661e098 Add back instructions for replacing the Jekyll gem with github-pages when testing locally. 2018-01-02 16:28:43 -05:00
Michael Rose c5ebfac0e6 Update CHANGELOG and history 2018-01-02 16:15:27 -05:00
MV10 d95cfbc58e Remote plugin reference unnecessary for GitHub Pages (#1439) 2018-01-02 16:13:07 -05:00
Michael Rose c69bf6ca8f Update CHANGELOG and history 2018-01-02 16:12:49 -05:00
Darren Hart 7bf2b58ede v2: Introduce show_overlay_excerpt and document (#1436)
Make excerpts optional in header overlay

Some posts and some header images don't lend themselves well to
displaying the excerpt in the overlay. Make this optional by
introducting a new boolean variable:

`page.header.show_overlay_excerpt`

Set it to implicitly default to `true` so existing users are unaffected by
testing explicitly for "!= false".

This can be enabled globally for a site by changing the default to `false`
in the local _config.yml, or per page by specifying the value in front
matter.

Document show_overlay_excerpt variable

* Add show_overlay_excerpt variable to the Header Overlay field documentation table.

Close #1429
2018-01-02 16:08:37 -05:00
Staticman a94478da59 New comment (#1431) 2018-01-02 15:23:25 -05:00
Michael Rose df61273db7 Release 4.8.1 💎 2017-12-28 14:10:48 -05:00
Michael Rose a7b4e964e7 Update CHANGELOG and history 2017-12-28 14:00:13 -05:00
Nick Garlis 7e6a46c447 Update Lunr (#1419)
* Update Lunr to 2.1.5
* Remove colons from query string

Fixes #1419
2017-12-28 13:56:10 -05:00
Michael Rose 6839069b9b Update CHANGELOG and history 2017-12-28 13:54:06 -05:00
Michael Rose 457a96a07c Add Japanese localized UI text strings 2017-12-28 13:53:59 -05:00
Sankichi 186a98a4c5 Add Japanese translation of ui-text (#1411) 2017-12-28 13:50:53 -05:00
Michael Rose 6399e8c9ea Update CHANGELOG and history 2017-12-28 13:49:59 -05:00
Harry Kalantzis dbdd741898 Fixed broken link to Staticman's page (#1422) 2017-12-28 13:48:41 -05:00
Staticman 1607632c44 New comment (#1421) 2017-12-27 15:38:59 -05:00
Staticman 5edab731e5 New comment (#1420) 2017-12-27 15:35:30 -05:00
Michael Rose e68f2c1601 Add build command
Fixes #1415
2017-12-22 08:07:29 -05:00
Staticman 2651c0c27d New comment (#1399) 2017-12-12 15:46:33 -05:00
Staticman 9002a8ff5d New comment (#1398) 2017-12-12 15:42:27 -05:00
Staticman eb3efc28d5 New comment (#1397) 2017-12-12 15:35:45 -05:00
Michael Rose d83e922b96 Use theme files on latest master 2017-12-11 12:42:49 -05:00
Michael Rose d7c365efa8 Update CHANGELOG and history 2017-12-11 12:41:33 -05:00
Michael Rose 1ad02b9022 Add author.name 2017-12-11 12:41:27 -05:00
Michael Rose 979ef26ac6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-12-11 12:37:42 -05:00
Andrew Newhouse 9ca57649c1 Feature: Adding linkback functionality Author avatar & Name (#1386)
* adding linkback funct to author avatar & nm

* rm author_class; change linkback var to home; updating config docs
2017-12-11 12:37:10 -05:00
Michael Rose 3d7ea760a2 Update copyright 2017-12-11 09:26:37 -05:00
Staticman 5490b6f46a New comment (#1392) 2017-12-09 12:52:04 -05:00
Michael Rose 11d67b6fa1 Move zh-HK fix under Bug Fixes in CHANGELOG 2017-12-07 19:10:30 -05:00
Michael Rose 4668761456 Remove beta note 2017-12-07 19:06:53 -05:00
Michael Rose c2a4381d61 Add AdSense back to demo site 2017-12-07 18:14:30 -05:00
Michael Rose af74703d2e Remove default layout 2017-12-07 18:09:56 -05:00
Michael Rose 8667ed6916 Reference latest version of the theme 2017-12-07 15:08:38 -05:00
Michael Rose b834035abb Revert "Specify latest commit for remote_theme usage"
This reverts commit 881337707c.
2017-12-07 11:00:29 -05:00
Michael Rose 881337707c Specify latest commit for remote_theme usage
Testing if this will force Jekyll Remote Theme to use latest `_layouts`.
2017-12-07 10:58:06 -05:00
Michael Rose c2d9791a9b Release 4.8.0 💎 2017-12-07 10:28:54 -05:00
Michael Rose 0609e16b19 Fix open-ended dependency warnings 2017-12-07 10:27:45 -05:00
Michael Rose 1ba85c51b0 Update CHANGELOG and history 2017-12-07 09:16:25 -05:00
Michael Rose 77c40093a4 Point zh-hk to Traditional Chinese 2017-12-07 09:16:07 -05:00
Erick Guan c30b2fc60b Point zh-hk to Traditional Chinese (#1389) 2017-12-07 09:15:01 -05:00
Michael Rose b100809c1e Update CHANGELOG and history 2017-12-07 09:06:43 -05:00
Erick Guan ba37d523d3 Update gems (#1388) 2017-12-07 09:05:38 -05:00
Michael Rose 7eb00bbd61 Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose 973520759c Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-12-04 14:49:26 -05:00
Michael Rose 6101e81d55 Update CHANGELOG and history 2017-12-04 14:49:21 -05:00
Christian Oliff 8d918dadc4 correct capitalization of WordPress (#1381) 2017-12-04 14:48:31 -05:00
Michael Rose 33ad934f17 Update CHANGELOG and history 2017-12-04 14:48:13 -05:00
Michael Rose 87731836ee Remove extra spaces 2017-12-04 14:45:57 -05:00
Maaz Syed Adeeb 634d2884a2 Tooltips for masthead links (#1380) 2017-12-04 14:44:39 -05:00
Staticman cd896b15d8 New comment (#1378) 2017-12-01 06:52:57 -05:00
Brandon e9137e591b Capitalised the name "tracy tram" > "Tracy Tram" (#1375)
Simple grammar mistake. Yes, i took the time to read this haha
2017-11-30 14:34:52 -05:00
Michael Rose 79a8beb61b Add search index excluded post to demo site 2017-11-28 09:31:50 -05:00
Michael Rose 7b3ddfefdf Simplify search: true conditionals
Replace `unless` tags with `where_exp` to test if `search: false`.
2017-11-28 09:30:33 -05:00
Michael Rose 1fcda6f988 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-28 08:43:45 -05:00
Michael Rose 5d022e03d0 Document how to exclude pages/posts from search index
ref #1369
2017-11-28 08:43:32 -05:00
Nick Garlis 599712ed58 Add option to search in specific collections (#1369) 2017-11-28 08:40:12 -05:00
Michael Rose a9cad4f066 Add search index excluded post
Post to test `search: false`
2017-11-28 08:38:07 -05:00
Michael Rose a612808f2a Update CHANGELOG and history 2017-11-27 12:39:24 -05:00
Michael Rose ed7c12b20b Fix button class 2017-11-27 12:37:48 -05:00
Stelios Gavras 75b2d514c2 fix button classs (#1368) 2017-11-27 12:36:15 -05:00
Michael Rose 01c5700acd Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-27 12:14:36 -05:00
Michael Rose 409d9691b0 Update CHANGELOG and history 2017-11-27 12:14:30 -05:00
Michael Rose cb5d8d4ee0 Add notes disabling analytics and comments in development
To enable analytics or comments while testing/building locally set Jekyll's environment variable to `production`, `JEKYLL_ENV=production`.

On Windows use `set JEKYLL_ENV=production`.
2017-11-27 12:14:23 -05:00
Maaz Syed Adeeb 1b3cc608bb Remove comments in dev environment (#1363) 2017-11-27 12:12:22 -05:00
Maaz Syed Adeeb 7c2273f23d Remove analytics in dev environment (#1362) 2017-11-27 12:11:32 -05:00
Michael Rose 02c109d24f Fix notices 2017-11-27 12:06:42 -05:00
Michael Rose da72581be3 Update CHANGELOG and history 2017-11-27 11:46:23 -05:00
Michael Rose 187c3c38a2 Rename Naver verification to naver_site_verification
Replace hyphens with underscores to be consistent with other site variable names.
2017-11-27 11:46:10 -05:00
Michael Rose 28e2885a68 Remove Alexa.com verification
Alexa "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature has been retired.

Close #1350
2017-11-27 11:38:26 -05:00
Michael Rose 281c1288c2 Remove Alexa.com verification
Alexa "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature has been retired.

Close #1350
2017-11-27 11:37:33 -05:00
Michael Rose c4d14f68f6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-20 15:17:38 -05:00
Michael Rose 7f6efbb744 Update CHANGELOG and history 2017-11-20 15:17:35 -05:00
DannieBGoode 696d589fdd Update social-share.html (#1357) 2017-11-20 15:16:09 -05:00
Michael Rose cb75bc8aed Update CHANGELOG and history 2017-11-20 15:05:49 -05:00
Michael Rose f94bc7fbe8 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-20 15:04:24 -05:00
Louis Matthijssen 0841d49653 Fix lunar-en.js layout (#1356)
Without layout set to null a HTML template will be rendered around the
JavaScript, causing an error while loading the file in the browser.
2017-11-20 15:03:51 -05:00
Michael Rose 21a4da0e47 Update CHANGELOG and history 2017-11-20 15:02:16 -05:00
Nick Garlis fa3647172d 🔧 mistake in excerpt (#1354) 2017-11-20 15:00:07 -05:00
Christian Oliff df2e2c23b3 https links (wikipedia and stackoverflow) (#1360) 2017-11-19 20:34:14 -05:00
Michael Rose 931eedaefa Release 4.7.1 💎 2017-11-15 15:57:07 -05:00
Michael Rose f39b15a362 Refine search styling 2017-11-15 15:50:51 -05:00
Michael Rose 19f6d32745 Replace hardcoded text with strings stored in _data file 2017-11-15 15:50:29 -05:00
Michael Rose 7e8700df75 Add search page link to masthead 2017-11-15 15:04:32 -05:00
Michael Rose 2a5cda62b1 Add search layout documentation 2017-11-15 15:03:04 -05:00
Nick Garlis cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00
Michael Rose 7978376df0 Fix typo in class name 2017-11-15 09:51:50 -05:00
Michael Rose 1ca7a00d37 Add beta note about jekyll-remote-theme 2017-11-15 09:50:15 -05:00
Michael Rose a4fceb8ac1 Update CHANGELOG and history 2017-11-13 18:53:58 -05:00
Michael Rose b291021c2a Force rebuild 2017-11-13 18:42:49 -05:00
Michael Rose 423ba0a18f Fix broken SCSS partial links 2017-11-13 18:38:36 -05:00
Michael Rose 079b3718cb Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-13 08:09:47 -05:00
Michael Rose f8bb3422ba Update CHANGELOG and history 2017-11-13 08:09:43 -05:00
Christian Oliff ea5d8fc0b2 HTTPS links to github, gitblab and bitbucket and add www to facebook (#1349)
GitHub, Gitlab and Bitbucket are all always served over HTTPS.
Facebook links always have www.
2017-11-13 08:08:27 -05:00
Michael Rose 4196f59c8e Fix capitalization of WordPress 2017-11-13 08:08:04 -05:00
Christian Oliff c4e1cd2e75 capitalization fix for WordPress (#1348) 2017-11-13 08:07:12 -05:00
Michael Rose b6fd84ede1 Update CHANGELOG and history 2017-11-12 17:23:13 -05:00
Michael Rose 5eefba1bf0 Add note about Wordpress to Staticman comment migration tool in documentation
Close #1346
2017-11-12 17:23:04 -05:00
Christian Oliff 95a8c96ce0 https link to browsehappy.com (#1343) 2017-11-12 17:07:49 -05:00
Christian Oliff 4a24be73b8 https link to jekyllrb.com (#1342) 2017-11-12 17:07:33 -05:00
Michael Rose 6ca184b453 Add remote_theme configuration to documentation 2017-11-10 11:26:37 -05:00
Michael Rose a96df5197d Change number of skins to 9 2017-11-10 11:23:45 -05:00
Michael Rose 6d9db31ef0 Update installation documentation
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites.

ref: https://github.com/mmistakes/minimal-mistakes/issues/1339
2017-11-10 11:20:38 -05:00
Michael Rose 4172237709 Update installation documenation 2017-11-07 20:50:25 -05:00
Michael Rose c36d305fa9 Update CHANGELOG and history 2017-11-07 20:13:20 -05:00
Michael Rose 41250e7f35 Use jekyll-remote-theme for /docs site 2017-11-07 20:13:04 -05:00
Michael Rose cba9e9fbfd Bump version to 4.7.0 2017-11-06 20:31:12 -05:00
Michael Rose e09753fa0a Release 4.7.0 💎 2017-11-06 20:22:30 -05:00
Michael Rose b4a38ce912 Update skin count 2017-11-06 16:27:22 -05:00
Michael Rose 3bc95b0343 Resize teaser images 2017-11-06 16:25:07 -05:00
Michael Rose 257cc4a7c4 Add plum skin to README 2017-11-06 16:22:51 -05:00
Michael Rose 47f537b40d Add plum skin 2017-11-06 16:20:33 -05:00
Michael Rose d535c5d5f6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-06 16:01:28 -05:00
Michael Rose c050f1322d Fix indenting 2017-11-06 16:01:23 -05:00
Michael Rose d4d716efa3 Add placeholder to table 2017-11-06 14:07:04 -05:00
Michael Rose 50166ce705 Update CHANGELOG and history 2017-11-06 12:31:24 -05:00
Michael Rose d6be62720d Fix Google Plus author link 2017-11-06 12:31:17 -05:00
sumibi-yakitori cf9a908697 no message (#1319) 2017-11-06 12:29:24 -05:00
Michael Rose b111ec17a9 Update README 2017-11-06 12:28:06 -05:00
Michael Rose 9e1a8ec45b Update CHANGELOG, history, and README 2017-11-06 12:21:03 -05:00
Michael Rose fc852d3d47 Add neon skin 2017-11-06 12:18:47 -05:00
Michael Rose 7ab03b7192 Update CHANGELOG and history 2017-11-06 11:31:29 -05:00
Vladimir Jimenez d980884d59 Update jekyll-toc with heading classes fix (#1337) 2017-11-06 11:27:51 -05:00
Michael Rose 061103112e Update CHANGELOG and history 2017-11-06 11:26:40 -05:00
Pradhyo Bijja e05159c290 Aqua skin (#1336)
* Add new skin and update docs

* Better screenshots for aqua skin
2017-11-06 11:24:00 -05:00
Michael Rose 9529319d78 Update CHANGELOG and history 2017-11-05 10:14:46 -05:00
Michael Rose 5f3f142c45 Fix author profile link texts (#1328) 2017-11-05 10:13:31 -05:00
Louis Matthijssen d9a5efc666 Fix author profile link texts (#1328) 2017-11-05 10:10:57 -05:00
jaybe@jekyll 61a6ac509a Wording update of ProTip (#1330) 2017-11-02 21:18:18 -04:00
Michael Rose 869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00
Michael Rose 8cc4e0bf48 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# Conflicts:
#	docs/_docs/18-history.md
2017-10-20 15:56:55 -04:00
Michael Rose 7afdd57c8a Adjust syntax highlighted code blocks padding
Rouge 2 adds `<div class="highlight"></div>` to markup which can introducing styling defects like extra padding.
2017-10-20 15:54:43 -04:00
Michael Rose 866fb17d9e Toggle table of contents via front matter (#1310)
* Add jekyll-toc include
* Reduce whitespace generated by comments
* Add table of contents include to `single` layout
* Replace `toc` include with jekyll-toc enabled YAML Front Matter
* Update README
* Update table of contents documentation
  - Revise `toc` helper include to mention that it will be deprecated in the next major version.
  - Add documentation to `single` layout explaining how to enable table of contents on those pages.
* Update CHANGELOG and history
* Update LICENSE

Close #1222
2017-10-20 14:54:06 -04:00
Michael Rose 4b2487722c Avoid closing "Status: Under Consideration" labeled issues 2017-10-19 16:31:07 -04:00
Michael Rose d464128e65 Update licenses (#1305)
* Update license to credit 3rd party code and assets

* Add Jekyll Group-By-Array license credit
2017-10-16 16:05:39 -04:00
Michael Rose f306f11b3f Update README 2017-10-16 15:24:45 -04:00
Michael Rose 181b90e1fb Update languages with localized UI text strings 2017-10-16 12:46:30 -04:00
Michael Rose fc8ca433c5 Add Polish localized UI text strings
Ref: #1304
2017-10-16 12:43:44 -04:00
Marcin Pietraszek 52f245152d Polish locale (#1304) 2017-10-16 12:39:46 -04:00
Michael Rose 9af1e8d548 Replace fieldset elements with div.form-group
Move Staticman v2 comment logic above v1 as it will be deprecated soon.
2017-10-05 09:56:54 -04:00
Michael Rose 838c9b4788 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-10-04 16:36:42 -04:00
Michael Rose 8974732330 Add Staticman v2 form scripts 2017-10-04 16:36:24 -04:00
Michael Rose 66db4b92b9 Update CHANGELOG and history 2017-10-04 16:33:10 -04:00
Michael Rose fce0c55f2b Add instructions for configuring Staticman v2 comments 2017-10-04 16:32:11 -04:00
Michael Rose ab09e1bb43 Add support for Staticman v2 endpoint and reCAPTCHA
Ref: #803
2017-10-04 16:04:24 -04:00
Staticman cfbec6b90f New comment (#1294) 2017-10-04 14:25:58 -04:00
Michael Rose ac929052dd Add include for Staticman v2 form script 2017-10-04 14:24:06 -04:00
Michael Rose 6030450ac1 Fix improperly named staticman.yml file 2017-10-04 14:17:46 -04:00
Michael Rose 7fed4e8eb7 Merge branch 'staticman-v2' 2017-10-04 14:16:08 -04:00
Michael Rose 5ed73b3f16 Add support for Staticman v2 endpoint and reCAPTCHA on /docs
Ref: #803
2017-10-04 14:14:25 -04:00
Michael Rose bf2ac18bcd Adjust line breaks 2017-10-04 12:21:22 -04:00
Michael Rose 93119a084a Add Naver Webmaster Tools documentation 2017-10-04 11:33:45 -04:00
Michael Rose 705c93a08c Align : 2017-10-04 11:18:09 -04:00
Michael Rose 0761cac562 Add naver-site-verification to /docs 2017-10-04 11:17:45 -04:00
YoungSeon.Ahn 05dafce68f Add naver-site-verification to SEO (#1286)
* Add naver-site-verification to SEO

* Add 2 space indent
2017-10-04 11:16:08 -04:00
Michael Rose aeebfaa87c Improve accessibility of navigation menu button
Add `type` and label text.

Fixes #1099
2017-10-04 11:10:41 -04:00
Michael Rose 3282387b42 Update CHANGELOG and history 2017-10-04 08:07:30 -04:00
Tony Ho 8d637e0ae3 Update font stack documentation (#1292)
ref: #1289
2017-10-04 07:58:19 -04:00
Michael Rose e122e155cc Update stale.yml 2017-10-03 13:53:19 -04:00
Michael Rose ea985a06ec Fix system font rendering in Chrome on macOS/OS X 2017-10-03 08:31:53 -04:00
Michael Rose 3b15297045 Update CHANGELOG and history 2017-10-03 08:31:42 -04:00
Tony Ho ab6c416e7e Fix system font rendering in Chrome on macOS/OS X (#1290)
Use `BlinkMacSystemFont` instead of private font name.

Closes #1289
2017-10-03 08:29:33 -04:00
Staticman 9d9e5b7a97 New comment. (#1283) 2017-10-02 16:14:46 -04:00
Staticman 2996f08852 New comment. (#1282) 2017-09-28 14:35:31 -04:00
Staticman 902f26edb8 New comment. (#1281) 2017-09-28 14:27:23 -04:00
Michael Rose 2ae600eb19 Fix param name from pt-BR locale 2017-09-28 14:17:12 -04:00
Lucas Caton 370c422a4d Fix param name from pt-BR locale (#1279) 2017-09-28 14:16:07 -04:00
Michael Rose 1f5a89fb9d Update CHANGELOG and history 2017-09-27 12:47:16 -04:00
Michael Rose f3fbe28e75 Update translation strings in /docs 2017-09-27 12:47:07 -04:00
Lucas Caton 4736eb1da0 Add missing Brazilian Portuguese text strings translations (#1278) 2017-09-27 12:44:32 -04:00
Pierry A. Pereira cf604ec33b Improve translation in pt-br
There are some issues in the brazilian portuguese translation:

```  
less_than                  : "meno que" 
```

the word "meno" doesn't exist in the language, the correct translation is "menos"

```
  minute_read                : "minuto(s) de leitura" 
```

once we can one or more minutes of reading, the plural of the word "minuto" is optional, so we can use "(s)" after the word "minuto" to reflect this

```
 related_label              : "Talvez você goste também" 
```

this change is for better reading, the previous translation is not good

I changed the capitalization of the subsequent words for lowercase to have default capitalization in all translations.
2017-09-25 18:43:04 -04:00
Michael Rose cc2d8ea71d Update link to Staticman configuration file documentation 2017-09-25 09:22:33 -04:00
Michael Rose a5ca35337b Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-09-25 09:19:59 -04:00
Michael Rose 3dde1cc729 Add note about Staticman GitHub compatibility
Staticman only works with GitHub hosted repositories. This enhancement to the theme's documentation makes that clear.

Close #1273
2017-09-25 09:19:55 -04:00
Michael Rose ea6740a5da Update stale bot message 2017-09-23 22:21:06 -04:00
Michael Rose 33316e3d25 Change format of folders/files 2017-09-21 16:24:27 -04:00
Michael Rose 6112dba29e Clarify theme gem migration documentation
Include asset folders that should be removed when migrating from a "forked theme".

Close #1268
2017-09-21 16:19:24 -04:00
Michael Rose fbfc2f9eef Update CHANGELOG and history 2017-09-20 15:58:48 -04:00
Michael Rose a3c6a6191f Add alt description to avatar image 2017-09-20 15:57:39 -04:00
Lars Olesen d81af1f103 Add alt description to avatar image
Use author's name as `alt` description  in comment avatar image.
2017-09-20 15:56:08 -04:00
Staticman e194bc0c7e New comment. (#1250) 2017-09-14 11:35:23 -04:00
Staticman c0cd6d0058 New comment. (#1249) 2017-09-14 11:31:24 -04:00
Michael Rose 2b366ab4e1 Use archive page screenshots instead of post 2017-09-12 15:39:16 -04:00
Michael Rose 37aad5d476 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-09-12 15:36:49 -04:00
Michael Rose b8afafb3a2 Update README
- Edit notable features
- Add skin screenshots
2017-09-12 15:36:44 -04:00
Michael Rose 6beaf7099c Update stale.yml 2017-09-12 15:23:13 -04:00
Michael Rose 8dcd353e90 Release 4.6.0 💎 2017-09-12 14:59:06 -04:00
Michael Rose d5505d2b6f Reference GitHub comment 2017-09-12 13:03:37 -04:00
Michael Rose 84b21b06b7 Update CHANGELOG and history 2017-09-12 13:02:23 -04:00
Michael Rose c19db78c5c Update scripts in /docs/assets/js 2017-09-12 13:02:16 -04:00
Michael Rose 58b8cf8416 Add pre to version 2017-09-12 13:01:45 -04:00
Michael Rose 1570e85fb1 Update Magnific Popup to v1.1.0 2017-09-12 12:54:17 -04:00
Michael Rose 7845654225 Update jQuery Smooth Scroll to v2.2.0 2017-09-12 12:48:59 -04:00
Michael Rose 38c2bdbfd8 Update jQuery
Theme targets IE9+ allowing for using the newer/smaller version
2017-09-12 12:42:52 -04:00
Michael Rose 8fc9bccda8 Allow <head> and footer scripts to be changed via config (#1241)
* Allow `<head>` and footer scripts to be changed via config
* Update JavaScript documentation

Close #1238
2017-09-12 12:27:36 -04:00
Michael Rose 93c4fbc4b9 Color "skins" (#1242)
* Add YIQ Color Contrast mixin
* Remove text underline from `.btn` links
* Move YIQ variables
* Simplify button classes using YIQ color contrast mixin
  - DRY up button CSS using Sass list and YIQ color contrast mixin.
  - Move `color` and `background-color` to new `btn--primary` class instead of assinging on the default class. Removes the need to override them.
* Add `.btn--primary` to buttons that just had `.btn`
* Apply changes to `/docs`
* Add `.btn--primary` class
* Update CHANGELOG and history
* Add sample form
* Abstract colors away into Sass variables for easier themeing
* Add "dark" skin
* Replace hardcoded color with SCSS variable
* Invert Font Awesome icons' colors in author sidebar and footer
* Add Sass changes to `/docs`
* Use primary button type instead of inverse
* Add missing `!default` on `$muted-text-color`
* Add `contrast` and `sunrise` skin colors
* Add `dirt` skin color
* Add `air` skin color option
* Add `mint` skin color
* Add `btn--primary` class to Submit Comment button
* Set skin to `default`
* Document skin color options
* Add note about skin SCSS import

Close #1208
2017-09-12 12:01:43 -04:00
Michael Rose d67aa113c8 Update stale.yml 2017-09-12 10:35:25 -04:00
Michael Rose 1a2a953dfb Configure Probot: Stale 2017-09-12 09:41:26 -04:00
Michael Rose 338df4eb50 Fix history 2017-09-12 08:44:36 -04:00
Michael Rose e0e0fdee4c Add enhancements to Unreleased 2017-09-12 08:41:44 -04:00
Ohad Schneider a369b0dc75 Convert some links from HTTP to HTTPS (#1234) 2017-09-12 08:30:03 -04:00
Michael Rose 0883904f95 Update CHANGELOG and history 2017-09-11 12:14:24 -04:00
Tony Ho 1cc8461f27 Rename gems key to plugins (#1239)
`gems` key in `_config.yml` was deprecated in Jekyll 3.5 and changed to `plugins`.

ref: https://github.com/jekyll/jekyll/pull/5130
2017-09-11 12:12:28 -04:00
Michael Rose 46c172e041 Update CHANGELOG and history 2017-09-11 12:11:53 -04:00
Ohad Schneider 611cecc51a Test strict front matter (#1236) 2017-09-11 12:10:09 -04:00
Michael Rose b5e1eeb007 Add link to #1213 2017-09-06 15:19:49 -04:00
Michael Rose dc47f82af2 Bump 💎 to 4.5.2 2017-09-06 15:14:15 -04:00
Michael Rose f94cbe0296 Rename file 2017-09-06 15:07:02 -04:00
Michael Rose f9132d8998 Truncate archive item titles' that overflow with an ellipsis
Fixes #1213
2017-09-06 15:02:41 -04:00
Michael Rose 2080469952 Show 4 latest posts when site.related_posts is nil
`site.related_posts` should return an array of latest posts when no related ones are found due to `lsi` being disabled (GitHub Page's doesn't support it).

This works around that bug by showing the 4 latest posts to populate the "You May Also Enjoy" module when enabled with `related: true`.

Fixes #554
Related: #978 #1022
2017-09-05 13:02:37 -04:00
Michael Rose 5d2f34a2d2 Update CHANGELOG and history 2017-09-05 12:08:05 -04:00
Ohad Schneider 5e7e15bad9 Mention CDN minification as an alternative to compress_html (#1217)
* Mention CDN minification as an alternative to compress_html

* Add warning notice to caution statement
2017-09-05 12:05:29 -04:00
Michael Rose c863ba6e54 Enable Liquid strict mode for /test site 2017-09-05 09:40:20 -04:00
Michael Rose b814f306d8 Fix Liquid syntax error in feature_row include
Fix "Expected id but found open_square in `"{{page.[include.id] }}"`" in `feature_row` include.
2017-09-04 21:35:09 -04:00
Michael Rose c4ca06f4b9 Liquid syntax error: "Expected end_of_string but found pipe in "name in __names | sort"" in group-by-array include
`sort` not allowed in `for` statements, remove it.
2017-09-04 21:21:14 -04:00
Michael Rose e8d83de8b7 Fix Liquid syntax error: Expected id but found open_square in "{{page.[include.id] }}" 2017-09-04 21:14:36 -04:00
Michael Rose f19e74bc8f Update includes in /docs 2017-09-04 21:07:06 -04:00
Michael Rose 37da7829cd Update CHANGELOG and history 2017-09-04 21:05:49 -04:00
Michael Rose 0a9ad5d243 Fix Liquid errors when in error_mode: strict
Liquid does not allow parenthesis, remove them to fix Liquid Exception: Liquid syntax error "Expected dotdot but found pipe" in `tag-list.html` and `category-list.html`

Close #1223
2017-09-04 21:04:18 -04:00
Ohad Schneider d28cb4dea5 Fix kramdown break (#1216)
I think my previous commit broke it by removing the newline before `{: .notice–warning}`
2017-09-04 12:29:44 -04:00
Michael Rose 6c21194c44 Update CHANGELOG and history 2017-09-01 09:41:47 -04:00
Michael Rose 7bf33e85b9 Update CHANGELOG and history 2017-09-01 09:37:26 -04:00
Michael Rose 866765b324 Improve Chinese minute_read translation in ui-text.yml 2017-09-01 09:37:13 -04:00
DDoSolitary dddf8656f3 Improve translation for minute_read. (#1211) 2017-09-01 09:34:55 -04:00
Michael Rose 4a95a539cb Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-09-01 09:32:39 -04:00
Michael Rose 9b52f9c61d Add note about GitHub Pages hosting alternatives
Ruby gem method can be used with Netlify, GitLab Pages, and Continous Integration (CI) services like Travis CI.
2017-09-01 09:32:30 -04:00
Michael Rose 5d5b05d2a2 Update Jekyll's version number 2017-09-01 09:31:23 -04:00
Michael Rose f6ed6f6225 Update CHANGELOG and history 2017-08-29 22:05:42 -04:00
Ohad Schneider c21fa07753 Posts by Tag (singular) (#1209)
Correct "Posts by Tag" (singular) to be more consistent with "Posts by Category"

* Update tag-archive.html
* Update about.md
* Update 10-layouts.md
* Update README.md
* Update 14-helpers.md
2017-08-29 22:03:13 -04:00
Ohad Schneider 3f3145a350 Clarify taxonomy page and index generation (#1207)
Clarify taxonomy page and index generation per https://github.com/mmistakes/minimal-mistakes/issues/811#issuecomment-325769757
2017-08-29 22:02:15 -04:00
Michael Rose 12f713677d Add note about /docs content files in Quick-Start Guide 2017-08-29 15:54:37 -04:00
Michael Rose eb1f445050 Remove the http-equiv="cleartype" meta tag
Reasons for dropping: https://www.drupal.org/node/1717090
Close #1087
2017-08-29 15:41:47 -04:00
Michael Rose 6885a127d7 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-29 15:00:38 -04:00
Michael Rose 1b311f428f Update CHANGELOG and history 2017-08-29 15:00:27 -04:00
Ohad Schneider 78d0b946f7 Clarify that jekyll-archives has to be installed (#1206)
Clarify that jekyll-archives has to be installed

Show the simplest way to do it per https://github.com/mmistakes/minimal-mistakes/issues/811#issuecomment-277461052.
2017-08-29 14:57:35 -04:00
Michael Rose 0d87190f36 Remove #disqus_thread duplicate
`<section id="disqus_thread"></section>` is set in `_includes/comments.html` and not needed in `_includes/comment-provider/disqus.html`.

Fixes #1199
2017-08-28 11:55:07 -04:00
Michael Rose 7c863f0094 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-28 10:47:53 -04:00
Michael Rose 4709e96383 Update CHANGELOG and history 2017-08-28 10:47:42 -04:00
DDoSolitary 0ff9619416 Update Chinese translation for date_label. (#1205) 2017-08-28 10:47:23 -04:00
Ohad Schneider 38f9861ff2 _config.yml - Steam ID explanation comment (#1204) 2017-08-28 10:44:28 -04:00
Ohad Schneider 43d05a5718 _config.yml - author LinkedIn example comment (#1203) 2017-08-28 10:43:04 -04:00
Michael Rose fc193d0b54 Reword paragraph 2017-08-24 14:48:59 -04:00
Michael Rose 71f0a2356a Adjust line break 2017-08-24 14:48:01 -04:00
Michael Rose 4a4a2fdbfc Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-24 14:46:16 -04:00
Michael Rose 0e9ebc48cb Update GitHub issue template 2017-08-24 14:44:30 -04:00
Michael Rose 6ed7eab9f8 Remove period from Staticman commit message 2017-08-22 21:38:48 -04:00
Michael Rose 20821e67b0 Reduce amount of blank pages when printing in Chrome
Close #1196
2017-08-22 15:32:48 -04:00
Michael Rose 1f4f71636d Update CHANGELOG and history 2017-08-22 14:49:33 -04:00
Michael Rose bb39afa125 Add .page__comments-form to "non-printing" selectors in print styles 2017-08-22 14:49:24 -04:00
Lars Olesen 2939d45ecc Do not print the comments form (#1195)
Add `.page__comments-form` to "non-printing" selectors in print styles
2017-08-22 14:46:18 -04:00
Michael Rose ded8afcc32 Update CHANGELOG and history 2017-08-21 08:31:35 -04:00
Nelson Estevão 102cbc8b10 License url fixed (#1189) 2017-08-19 11:17:24 -04:00
Michael Rose 46d8cb5efd Fix heading 2017-08-18 15:20:58 -04:00
Michael Rose 1629f0e4a7 Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00
Michael Rose 0cad75fbb3 Add table of contents 2017-08-18 15:08:23 -04:00
Michael Rose 1509ef7911 Add note about setting Discourse server as a scheme-less URL
eg. `meta.discourse.com` and not `http://meta.discourse.com`

Close #1182
2017-08-18 15:07:10 -04:00
Michael Rose 45c491bec7 Update CHANGELOG and history 2017-08-18 12:41:53 -04:00
Michael Rose 1cb4f9ebb8 Update Disqus script for /docs 2017-08-18 12:40:41 -04:00
Kris d277353c54 Replace old Disqus script with Universal Embed Code (#1179)
* update embeddable disqus javascript

* Update disqus.html
2017-08-18 12:38:58 -04:00
Michael Rose 87c4bbe8be Update CHANGELOG, history, and documentation 2017-08-18 12:27:51 -04:00
Michael Rose ef510063df Add Danish translation to /docs 2017-08-18 12:27:35 -04:00
Lars Olesen 38272fc6b8 Added Danish translation. (#1188)
* Added Danish translation.

* Fixed typo
2017-08-18 12:24:10 -04:00
Michael Rose 874326cc41 Merge branch 'rjkaes-escape-url-in-social-share' 2017-08-18 12:22:47 -04:00
Michael Rose 3a632a62e8 Update CHANGELOG and history 2017-08-18 12:22:31 -04:00
Michael Rose 247bcde42e URL Encode Title and Page URL in Social Share Links 2017-08-18 12:20:01 -04:00
Robert James Kaes 10bc756932 URL Encode Title and Page URL in Social Share Links
The links to the various social networks include data from the post
(title and url) which can contain URL special characters.  Pass each of
the generated URLs through Liquid's `url_encode` filter to build HTML
complaint URLs.
2017-08-15 14:41:34 -04:00
Michael Rose 3e781220a1 Update CHANGELOG and history 2017-08-10 14:46:24 -04:00
deepak sood 0720e42251 Update 16-stylesheets.md (#1170)
Typo error - "want" to "what"
2017-08-10 14:44:44 -04:00
Michael Rose f1afdf0397 Extend grid view to the right to better fill the page
- Use a negative right margin to pull `.grid__wrapper` into the dead space left for a sidebar.
- Add sample documents to "portfolio" collection to test grid view
- Update CHANGELOG and history
2017-08-09 13:00:33 -04:00
Michael Rose 1610ed853c Replace gems key with plugins: 2017-08-09 12:55:52 -04:00
Michael Rose 173f184047 Fix "follow" links z-index order to avoid overlapping issues
Close #1167
2017-08-09 09:03:09 -04:00
Michael Rose 91f38f4450 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-09 08:30:38 -04:00
Michael Rose 192549ef25 Adjust width of .sidebar to match .sidebar__right
- Use `$right-sidebar-width-narrow` and `$right-sidebar-width` Sass variables to determine width of sidebar instead of Susy `span` function
2017-08-09 08:30:32 -04:00
Michael Rose d59818981b Fix positioning of sidebar table of contents when using layout: splash
Close #1169
2017-08-09 08:28:21 -04:00
Michael Rose 46a294b568 Roll back gems: to plugins: change in _config.yml
- GitHub Pages still doesn't seem to load safe plugins when using `plugins` key
2017-08-08 20:05:30 -04:00
Michael Rose 8e598766f7 Reword sentences 2017-08-08 18:59:46 -04:00
Michael Rose f372191de5 Rename gems key to plugins
- `gems` key in `_config.yml`  was deprecated in Jekyll 3.5 and changed to `plugins`

ref: https://github.com/jekyll/jekyll/pull/5130
2017-08-08 15:45:58 -04:00
Michael Rose 1f5e6609b3 Update website_label 2017-08-08 15:22:31 -04:00
Michael Rose bb402eaa46 Reduce indent of nested "table of contents" links 2017-08-08 15:19:41 -04:00
Michael Rose fb0164b0ca Increase font-size of code blocks. 2017-08-08 15:15:57 -04:00
Michael Rose bc53150b28 Remove outside and right borders in tables 2017-08-08 15:13:06 -04:00
Michael Rose f9de95a8ad Make minor formatting changes 2017-08-08 14:47:21 -04:00
Michael Rose 3b3905c44f Improve page and archive layouts (#1166)
* Fix collapsed white-space above pagination links

* Improve `page` and `archive` layout
- Center main content on page
- Harmonize sidebar columns to be equal widths

Fixes #1155

* Update CHANGELOG and history

* Position and align right sidebar with the top of the main content

* Offset right sidebar at `$large` viewport

* Add TOC bottom include test post

* Add right sidebar styling edits to documentation site

* Add TOC bottom include test post
2017-08-08 14:41:46 -04:00
Michael Rose edba2c3a88 Update CHANGELOG and history 2017-08-07 20:22:00 -04:00
Guangyuan (Charlie) Yang e242554e55 Update 05-configuration.md (#1164) 2017-08-07 20:20:03 -04:00
Michael Rose 709a1e8583 Remove blank YAML Front Matter from JavaScript banner
- No longer needed ref: https://github.com/jekyll/jekyll/pull/5918

Ref: https://github.com/mmistakes/minimal-mistakes/issues/1158
2017-08-06 10:43:36 -04:00
Michael Rose 1205a8c46c Add mention of Vietnamese to UI text docs and update CHANGELOG/history 2017-08-06 10:32:35 -04:00
Duc Thien Bui 67ec264d08 support vietnamese (#1159) 2017-08-06 10:28:46 -04:00
Michael Rose 13e299a8f3 Release 💎 4.5.0 2017-08-04 12:41:05 -04:00
ashmaroli d8be6fd2b5 Update documentation (#1151)
* Update Quickstart documentation

* update Installation documentation

* Update documentation for Overriding Defaults
2017-08-04 12:37:08 -04:00
Michael Rose 65a3d68dec Update CHANGELOG and history 2017-08-04 12:24:25 -04:00
Michael Rose f7a1b1a160 DRY up handling of image_description for alternative text 2017-08-04 12:20:08 -04:00
austinseraphin cb8cb6f41e Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation
2017-08-04 12:06:20 -04:00
Michael Rose 47a05f3f00 Update CHANGELOG and history 2017-08-04 11:58:42 -04:00
Michael Rose 6b9afaa8b7 Fix disappearing author sidebar links
- Close #1136
2017-08-04 11:55:10 -04:00
Michael Rose 15c3abe48b Link to PR on GitHub 2017-08-03 16:33:34 -04:00
Michael Rose 4ba7cccdc4 Merge branch 'susy-3-upgrade'
Conflicts:
	_sass/minimal-mistakes/_page.scss
	docs/_sass/minimal-mistakes/_page.scss
2017-08-03 16:27:21 -04:00
Michael Rose e2559db182 Merge branch 'ashmaroli-feature/jekyll-data' 2017-08-03 16:19:13 -04:00
Michael Rose 5a5921474c Update CHANGELOG and history 2017-08-03 16:18:54 -04:00
Michael Rose 9c318fc3f1 Use jekyll-data to read data files from theme-gem 2017-08-03 16:16:54 -04:00
Michael Rose b7cc337a77 Change reference to "Basically Basic" back to "Minimal Mistakes" 2017-08-03 14:00:36 -04:00
Michael Rose 057d3190ea Fix typo 2017-08-03 12:38:32 -04:00
Michael Rose f0b979d375 Update CHANGELOG and history 2017-08-03 12:05:45 -04:00
Peter Dimou 3395149c4d Include documentation on disabling animations (#1150) 2017-08-03 12:03:07 -04:00
Peter Dimou a7475d3334 Correct name of gem to that of the theme (#1149) 2017-08-03 11:54:51 -04:00
Michael Rose 7a72be67ec Update CHANGELOG and history 2017-08-02 12:33:12 -04:00
Michael Rose 8b2850c9f9 Revert plugins; back to gems: until github/github-pages gem updates to newer Jekyll
- Plugins won't activate if using the new `plugins` key with Jekyll < 3.5
2017-08-02 12:31:20 -04:00
Michael Rose 48e2006622 Fix space alignment 2017-08-02 12:29:47 -04:00
Michael Rose 100da8b5b2 Add $intro-transition variable 2017-08-02 12:29:35 -04:00
Peter Dimou 5b4baee3b5 Refactor intro animations into a separate SASS variable (#1147) 2017-08-02 12:27:01 -04:00
Michael Rose 822fa4d1f8 Add link to PR 2017-07-21 16:32:01 -04:00
Michael Rose bf9387c71f Update CHANGELOG 2017-07-21 16:30:29 -04:00
Michael Rose 8eabf8920e Add missing Spanish UI text strings 2017-07-21 16:30:21 -04:00
Sergio C. Orozco Torres bb871377bd Spanish text for comments (#1118) 2017-07-21 16:23:31 -04:00
Michael Rose 387f8149d6 Upgrade to Susy 3 and replace grid mixins with new span and gutter functions
Most of Susy's mixins have been deprecated, `@include container()`, `@include full()`, `@include span()`, `@include prefix()`, `@include suffix()`, `@include gallery()`, etc.

Fixes #1114
2017-07-21 16:08:29 -04:00
Staticman 52a791f40b New comment. (#1133) 2017-07-19 19:47:27 -04:00
Ashwin Maroli 97b37ba863 Use a plugin to read data files from gem
- jekyll-data v1.x
  - jekyll 3.5 automatically requires a theme's runtime deps
  - jekyll v3.5.0 had bugs. Hence use v3.5.1 and beyond
2017-07-19 09:55:45 +05:30
Staticman 5843de91c2 New comment. (#1125) 2017-07-16 10:23:04 -04:00
Staticman c337c7964a New comment. (#1124) 2017-07-16 10:21:10 -04:00
Staticman 1d4daaa545 New comment. (#1120) 2017-07-16 08:32:42 -04:00
Staticman 1f760c8d1b New comment. (#1119) 2017-07-16 08:32:01 -04:00
Staticman 88b80c4f76 New comment. (#1117) 2017-07-14 14:17:05 -04:00
Staticman fe9f90f000 New comment. (#1116) 2017-07-14 14:14:01 -04:00
Michael Rose 031c2aa77e Merge branch 'sidebar-scrollbar' 2017-07-12 12:03:27 -04:00
Michael Rose 3e347970c7 Add vertical scrollbar to sidebars that extend outside the viewport
Viewing overflowing sidebar content requires scrolling the entire page which is annoying and causes the reader to lose their place.

Use CSS `calc` to approximate height of the sidebar (`100vh` - height of the masthead) and apply `overflow-y: auto` to add vertical scrollbars when needed.

Fixes #706
2017-07-12 12:03:14 -04:00
Michael Rose 984f0dfda7 Bump version to 4.4.2 2017-07-07 15:49:55 -04:00
Michael Rose 0f2d564837 Bump version to 4.4.2 2017-07-07 15:49:17 -04:00
Michael Rose e912ed5b98 Release 4.4.2 2017-07-07 15:46:01 -04:00
Michael Rose 6d018c1891 Bump dependencies 2017-07-07 15:44:17 -04:00
Michael Rose 50b80e95d1 Update CHANGELOG and history 2017-07-07 15:38:31 -04:00
Michael Rose 8b2837a1bf Add tzinfo.data gem for Windows to appease timezone error 2017-07-07 15:36:19 -04:00
Michael Rose 261fb159dd Change gems key in config to plugins 2017-07-07 15:35:49 -04:00
Michael Rose 2feb3d2ab4 Replace Gist Liquid tag with embed script 2017-07-07 15:33:19 -04:00
Michael Rose 160be1dd0b Add variable for navicon link color 2017-07-07 15:16:35 -04:00
palatinux 8c3fdb2382 Add $navicon-link-color-hover 2/2 (#1088)
Since the orig color-scheme doesn't always represent the nav/site colors
2017-07-07 15:11:58 -04:00
palatinux 951b2c7002 Add $navicon-link-color-hover 1/2 (#1089)
Since the orig color-scheme doesn't always represent the nav/site colors
2017-07-07 15:11:48 -04:00
Michael Rose 23447d98ee Update CHANGELOG and history 2017-07-07 15:10:34 -04:00
Michael Rose fae4398544 Add Indonesian locale text strings 2017-07-07 15:10:18 -04:00
Dana Satriya 71966b688b Add indonesian locale (#1101) 2017-07-07 15:07:19 -04:00
Michael Rose 1ef63b55e5 Adjust nav list .active state to accommodate text that spans multiple lines. 2017-07-05 15:56:10 -04:00
Michael Rose b1a5a14173 Improve documentation for grid view 2017-07-05 15:45:50 -04:00
Michael Rose ca6e7e3426 Fix variable names 2017-07-05 15:45:17 -04:00
wg1j bf6bd617e2 Fixed site variables (#1063) 2017-07-05 12:30:39 -04:00
Michael Rose 537d0b28d4 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-07-05 12:27:05 -04:00
Michael Rose cae210c4b9 Update Update CHANGELOG and history 2017-07-05 12:26:54 -04:00
Will Estes c142f94918 add gitlab to author profile (#1050)
* add gitlab to author profile

* add gitlab to footer

* Fix alignment of :
2017-07-05 12:25:41 -04:00
Michael Rose d92c75a6b6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-07-05 12:23:41 -04:00
Michael Rose fc5db3f5d5 Add mention of Dutch localized UI text strings to theme documentation 2017-07-05 12:23:34 -04:00
palatinux ab0919cd5c Add Dutch language (#1081) 2017-07-05 12:20:32 -04:00
Michael Rose 4ed938c0ce Update CHANGELOG and history 2017-07-05 12:19:52 -04:00
Michael Rose 9affa1c82f Fixes and updates for the Greek language 2017-07-05 12:19:43 -04:00
Harry Kalantzis f5f3f2e9d9 Fixes and updates for the Greek language (#1054)
I have translated some UI text that hadn’t been translated by @Stelios3g. And I have also changed some translated entries to look and sound more natural for general uses (eg ‘Recent posts’ was translated as ‘Latest Announcements’ before). Finally, I have added ‘RSS’ next to ‘Feed’, because 1) there is no translation (or something that sounds natural) in Greek I’m afraid, 2) the term ‘RSS Feed’ is widely used in Greek websites.
2017-07-05 12:17:37 -04:00
Michael Rose 99ce8ed421 Merge branch 'zmsp-master' 2017-07-05 12:09:54 -04:00
Michael Rose 0319732b8e Update CHANGELOG and history 2017-07-05 12:09:34 -04:00
Michael Rose 94dcda2d89 Update Google+ page comments for /docs 2017-07-05 12:07:27 -04:00
Michael Rose 8e51d4b8f1 Fix indentation and formatting 2017-07-05 12:04:53 -04:00
Michael Rose 7a7428c2f0 Fix indentation and remove comments 2017-07-05 11:59:09 -04:00
Zobair Shahadat ede0654d4f Google+ page comments updated. 2017-07-05 00:38:24 -04:00
Christian Oliff 610e64bb7d HTTPS some external links (#1083)
HTTPS some external links
2017-06-26 11:36:51 -04:00
Michael Rose 399cd19472 Fix typo 2017-06-24 11:29:59 -04:00
Anne Gentle 262b6f3c4a Fix broken link to example _config.yml file (#1069) 2017-06-19 08:06:22 -04:00
Harry Kalantzis 7b26077a11 Fixed MD link to docs in the 'Helpers' page. (#1066) 2017-06-14 10:09:25 -04:00
Staticman 23349e14f8 New comment. (#1065) 2017-06-12 12:28:27 -04:00
Michael Rose 631db9940c Update comment-1497284119888.yml 2017-06-12 12:25:51 -04:00
Staticman cd61120374 New comment. (#1064) 2017-06-12 12:25:01 -04:00
Michael Rose 9de3cade3b Remove extraneous </a> and </li> tags 2017-05-30 08:13:57 -04:00
Michael Lynch 8ed48c1cd5 Removing extraneous a and li tags (#1038)
Removing duplicate <a> and <li> closing tags in paginator include.
2017-05-30 08:11:19 -04:00
Michael Rose de3954ac99 Fix "Greek" ~> "Swedish" typo 2017-05-30 08:10:10 -04:00
Michael Rose ec5b255bfb Fix broken Kramdown TOC link 2017-05-16 11:45:22 -04:00
Michael Rose 63d8d74697 Update CHANGELOG and history 2017-05-16 08:23:10 -04:00
Michael Rose 0c43a33a3d Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-05-16 08:22:01 -04:00
Guillermo Calvo b3410ed8b2 Add new brand variable: $bitbucket-color (#1009) 2017-05-16 08:21:32 -04:00
Michael Rose 69b747474d Add Swedish language 2017-05-16 08:20:23 -04:00
ojn bb01fc8c32 Add Swedish language (#996)
Translated this for my page today https://github.com/ojn/www.netkom.se/blob/master/_data/ui-text.yml
I hope there are no spelling mistakes, since one should strive for "minimal mistakes"... :-)
2017-05-16 08:17:52 -04:00
Michael Rose 55c4f91b8e Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-04-27 16:02:21 -04:00
Michael Rose 53d4e34ab0 Update CHANGELOG and history to reflect #972 2017-04-27 16:02:07 -04:00
Stelios Gavras 47bf229364 Update 08-ui-text.md (#972)
* Update 08-ui-text.md

* Update 08-ui-text.md
2017-04-27 16:00:17 -04:00
Michael Rose 128977691a Toggle close button on mouseleave
- Close #975
2017-04-27 15:55:49 -04:00
Michael Rose 8494157e64 Bump version to 4.4.1 2017-04-21 20:06:21 -04:00
Michael Rose 9361c53c43 Release 💎 4.4.1 2017-04-21 20:03:08 -04:00
Michael Rose e0099ffa5a Transition “hamburger” navicon on click to “X” navicon by adding .close to button
- Close 969
2017-04-21 20:00:14 -04:00
Michael Rose 24999441fc Add link to comment 2017-04-21 18:22:16 -04:00
Staticman a6c6ae1e1c New comment. (#968) 2017-04-21 18:16:35 -04:00
Staticman e539ccbfbd New comment. (#967) 2017-04-21 18:08:16 -04:00
Michael Rose 23094d629f Update CHANGELOG and history 2017-04-19 10:44:22 -04:00
Michael Rose 19372f6470 Sync /docs with root changes 2017-04-19 10:44:14 -04:00
Stelios Gavras ef361fa174 Update ui-text.yml (#958) 2017-04-19 10:42:17 -04:00
Josh Habdas 706531b60d fix(includes/video): use https always (#945)
closes #944
2017-04-19 10:39:20 -04:00
Michael Rose d4b1eeb6bf Update history 2017-04-18 13:00:36 -04:00
Michael Rose 19568e95ae Release 💎 4.4.0 2017-04-18 12:58:46 -04:00
Michael Rose 3fc1bfde26 Move SCSS partials to /_sass/minimal-mistakes for easier CSS customization 2017-04-18 12:52:11 -04:00
Jing Ma eaf366e405 Fixed link errors in docs (#946) 2017-04-11 12:36:56 -04:00
Michael Rose 7a4d221ccf Add closing } 2017-04-05 12:42:15 -04:00
Michael Rose b5a4496561 Fix .masthead and .page__footer overlapping full screen video elements.
- Close #933
2017-04-05 12:40:34 -04:00
Michael Rose 0b78bef679 Update CHANGELOG and history 2017-04-04 12:48:44 -04:00
Michael Rose f9f197bcd6 Add ProTip about installing unreleased version on master 2017-04-04 12:48:37 -04:00
Sebastian Wiesner cf4f8277c1 Replace modified with last_modified_at (#930)
Fixes #929
2017-04-04 09:12:32 -04:00
Michael Rose 805dad0077 Update CHANGELOG and history 2017-03-27 08:24:42 -04:00
Michael Rose 657f7ac9f8 Add Lithuanian language/locale (#924) 2017-03-27 08:22:48 -04:00
Remigijus Jarmalavičius eefafcacba Add Lithuanian language/locale (#924) 2017-03-27 08:20:44 -04:00
Michael Rose ac93744d9f Improve print styles (#919)
* Fix image caption border-radius

* Fix image caption border-radius

* Improve print stylesheet
- Close #909

* Update CHANGELOG and history
2017-03-23 14:34:13 -04:00
Michael Rose 3e379043bc Update year 2017-03-22 09:53:37 -04:00
Michael Rose ff0f63aaed Update contributing info 2017-03-22 09:51:20 -04:00
Michael Rose 8d42316e70 Update CHANGELOG and history 2017-03-22 09:47:47 -04:00
Michael Rose d5d7c437b9 Bump version to 4.3.1 2017-03-22 09:45:03 -04:00
Michael Rose 8c44927773 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-03-22 09:43:25 -04:00
Max Goodridge f8ef82f42c Typo fix (#915) 2017-03-22 09:39:58 -04:00
Max Goodridge 6ef4296bbd Removed extra word in comment (#911) 2017-03-20 17:12:50 -04:00
Michael Rose 00810d9085 Bump version to 4.3.1 2017-03-16 10:34:44 -04:00
Michael Rose d90baeaaa5 Bump version to 4.3.1 2017-03-16 10:34:21 -04:00
Michael Rose 76a51e7079 Merge branch 'release/4.3.1' into develop 2017-03-16 10:32:03 -04:00
Michael Rose 9634feb0c8 Merge branch 'release/4.3.1' 2017-03-16 10:32:02 -04:00
Michael Rose b6e14cbf18 Bump version to 4.3.1 2017-03-16 10:31:43 -04:00
Michael Rose 365ff8d2db Update CHANGELOG 2017-03-16 10:29:21 -04:00
Nicolas Cavigneaux 958b399741 Remove buggy conditional around related posts header (#901)
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix #900
2017-03-16 10:21:13 -04:00
Michael Rose 7719679fea Merge branch 'release/4.3.0' into develop 2017-02-28 10:43:22 -05:00
Michael Rose 6b8d3148b6 Merge branch 'release/4.3.0' 2017-02-28 10:43:21 -05:00
Michael Rose 7316be4280 Bump version to 4.3.0 2017-02-28 10:42:20 -05:00
Michael Rose 2f2f901827 Update CHANGELOG and history 2017-02-28 10:42:06 -05:00
Michael Rose b9d86f3989 Add banner text to main.min.js (#880)
- Add `---` YAML Front Matter as a workaround to allow the theme gem's version to be overridden locally.
- Adjust page scope in Front Matter default to avoid adding a layout to `main.min.js`
- Fixes #874, Fixes #722
2017-02-28 10:06:18 -05:00
Michael Rose dbdf5c2f25 Change default locale to en_US to appease OpenGraph debugger.
- Fixes #843
2017-02-28 08:57:54 -05:00
Michael Rose 2aa473dd82 Escape Liquid 2017-02-24 15:24:29 -05:00
Michael Rose 4454e391cf Escape Liquid 2017-02-24 15:24:02 -05:00
Staticman fbe35e6c60 New comment. (#863) 2017-02-22 06:44:21 -05:00
Michael Rose 943bf19fc5 Merge branch 'release/4.2.2' into develop 2017-02-21 10:52:40 -05:00
Michael Rose 1edb1bbdea Merge branch 'release/4.2.2' 2017-02-21 10:52:38 -05:00
Michael Rose 9e9d26ea97 Update theme meta info 2017-02-21 10:50:57 -05:00
Michael Rose 7f28945723 Bump version to 4.2.2 2017-02-21 10:45:05 -05:00
Michael Rose 6000c0599a Update CHANGELOG and history 2017-02-21 10:44:52 -05:00
Michael Rose 9da56708b4 Add theme meta info 2017-02-21 10:17:09 -05:00
Michael Rose cb62cd7f71 Add theme meta info to _layouts/default.html 2017-02-21 10:12:49 -05:00
Michael Rose 0f4036b797 Update theme files in /docs 2017-02-21 10:08:09 -05:00
Michael Rose 474c5c61a2 Update README 2017-02-20 12:24:23 -05:00
Michael Rose 28793933a3 Merge pull request #858 from rsaccani/master
meta tag "author" added, for site author the field name is used
2017-02-19 19:25:58 -05:00
Rodolfo Saccani c23c6f9765 meta tag "author" added, for site author the field name is used 2017-02-19 23:09:04 +01:00
Michael Rose 6cb699cd18 Merge pull request #847 from ShaneCurcuru/patch-1
Added a few clarifying comments
2017-02-17 12:44:55 -05:00
Shane Curcuru 5679767630 Added a few clarifying comments
YAML references are not always obvious, and ensuring people know to remove your Google IDs seemed a good idea to comment on.  Thanks for minimal mistakes!
2017-02-17 12:39:43 -05:00
Michael Rose 4dc7010250 Add zh-TW UI text to /docs and /test 2017-02-15 09:02:50 -05:00
Michael Rose 28647f75b2 Merge pull request #838 from oopsmonk/develop
Added zh-TW translation.
2017-02-15 09:00:13 -05:00
OopsMonk 7c742170e7 Add Traditional Chinese UI text. 2017-02-15 16:23:21 +08:00
Michael Rose 57856cddb7 Adjust author__urls shadow to match navigation box-shadow 2017-02-14 14:49:18 -05:00
Michael Rose 1c865313b6 Merge pull request #576 from maciejczyzewski/master
Repair aggressive box-shadow in navigation.
2017-02-14 14:44:53 -05:00
Michael Rose f7a8e28914 Add Korean localized UI text 2017-02-14 14:28:41 -05:00
Michael Rose fc378d8d43 Merge pull request #834 from varian-lee/patch-1
Added Korean data in ui-text.yml
2017-02-14 14:24:06 -05:00
Michael Rose 9026f3f257 Merge branch 'feature/ru-localized-ui-text' into develop 2017-02-14 14:14:47 -05:00
Michael Rose 3fb35310a0 Add Russian localized UI text to test and documentation site
- Close #815
2017-02-14 14:14:31 -05:00
Michael Rose f2f951f071 Add Russian localized UI text 2017-02-14 14:13:58 -05:00
Michael Rose a3ccadc8e3 Merge branch 'feature/greedy-nav-long-title-fix' into develop 2017-02-14 14:07:43 -05:00
Michael Rose e223934f81 Add flexbox fixes for < IE9 to make the greedy nav button visible 2017-02-14 13:13:28 -05:00
Michael Rose a488a6b0fe Run through Autoprefixer 2017-02-14 12:42:50 -05:00
Michael Rose 1cbac04650 Update GreedyNav to use flexbox instead of display: table
- ref #836
2017-02-13 22:15:57 -05:00
Michael Rose 943456cae7 Update GreedyNav.js 2017-02-13 22:15:02 -05:00
Michael Rose 27fb34bf9b Replace with relative sizes 2017-02-13 22:14:33 -05:00
Michael Rose 3c93905e23 Update GreedyNav.js 2017-02-13 22:14:10 -05:00
Michael Rose d2ac1aebec Add long title for testing purposes 2017-02-13 22:13:53 -05:00
Varian Lee 471293d46f Added Korean data in ui-text.yml
Added Korean translations.
2017-02-13 21:23:55 +09:00
Alex Sarafian 0b07c20c84 Improve the documentation for novice users (Tags+Categories and Pagination) (#826)
* Enhanced the documentation with some tips for the tags, categories and paginator

* Enhanced the documentation with some tips for the tags, categories and paginator

* Update 05-configuration.md

* Update 10-layouts.md
2017-02-09 14:33:14 -05:00
Geoff Hutchison b86240b26a Fix bug - include section for Discourse embedded comments (#825) 2017-02-08 15:52:39 -05:00
Michael Rose ac938d457b Merge branch 'release/4.2.1' into develop 2017-01-24 10:57:26 -05:00
Michael Rose 3a7e43875f Merge branch 'release/4.2.1' 2017-01-24 10:57:24 -05:00
Michael Rose 93778ff734 Bump version to 4.2.1 2017-01-24 10:57:08 -05:00
Michael Rose 7b5ea59a12 Update CHANGELOG and history 2017-01-24 10:57:02 -05:00
Michael Rose 83424b57c6 Document moving paginated home page to an alternate location 2017-01-24 10:55:21 -05:00
Michael Rose 696afd7ef2 Pagination now works for index.html files in subfolders. Links to next page consider baseurl now. (#764) 2017-01-24 10:44:39 -05:00
Maik Schmidt f4e75fe640 Pagination now works for index.html files in subfolders. Links to next page consider baseurl now. (#764)
* Links to next page consider baseurl now.

* paginate_show_page_num controls whether page number gets output.
2017-01-24 10:42:02 -05:00
Michael Rose 0a79dd778d Add https prefix to google-universal embed code. (#772) 2017-01-24 10:26:09 -05:00
Matthew J. Berger 4d0091968b Add https prefix to google-universal embed code. (#772) 2017-01-24 10:23:32 -05:00
Michael Rose c145535fa1 Merge branch 'release/4.2.0' into develop 2017-01-24 10:18:47 -05:00
Michael Rose 7cbf67ca2a Merge branch 'release/4.2.0' 2017-01-24 10:18:45 -05:00
Michael Rose d061a950c2 Bump version to 4.2.0 2017-01-24 10:17:39 -05:00
Michael Rose 73e6a25ea9 Bump jekyll-sitemap to (1.0) 2017-01-24 10:17:21 -05:00
Michael Rose 3acaa4dd29 Update CHANGELOG and history 2017-01-24 10:10:43 -05:00
Michael Rose 638c11b773 Improve video helper documentation 2017-01-24 10:09:38 -05:00
Michael Rose 66c154e37f Add video header support to archive and splash layouts 2017-01-24 10:09:22 -05:00
Michael Rose 5fc884eb84 Rename responsive_video helper to video 2017-01-24 10:05:57 -05:00
Michael Rose cb7fbb90dc Add some white-space below video embeds 2017-01-24 09:56:05 -05:00
Michael Rose aeedd52864 Add Nepali (Nepalese) text 2017-01-24 09:42:49 -05:00
Justin Too 65a6654582 Add page hero video for vimeo/youtube using embedresponsively.com code (#788) 2017-01-24 09:29:34 -05:00
Mahesh Kr. Yadav 22a4b3d0b7 Nepalese Language (#785)
Added Nepalese Language
2017-01-22 20:56:18 -05:00
HyeonGyu Lee ff4647245d invalid analytics example fix (#783) 2017-01-21 12:57:19 -05:00
Michael Rose 010409acb1 Remove borders from table elements found in Google Custom Search Engine widget
- Close #759
2017-01-09 22:02:45 -05:00
Michael Rose f46cc734a4 Complete Simplified Chinese Translation of Theme UI (#747) 2017-01-09 21:52:44 -05:00
Vej ba797085fc Complete Simplified Chinese Translation of Theme UI (#747) 2017-01-09 21:51:27 -05:00
Michael Rose 55843c5dca Remove position: sticky JavaScript polyfill
- Fallback to default positioning for browser that don't support it IE, Chrome < 56, etc.
- Issue #752
2017-01-05 11:48:37 -05:00
Staticman 77db91ad4f New comment. (#751) 2017-01-03 10:26:32 -05:00
Staticman 5b49aaa10c New comment. (#750) 2017-01-03 10:22:38 -05:00
Michael Rose cbe2938103 Fix typo 2016-12-30 15:08:40 -05:00
Staticman 61b62f0be1 New comment. (#745) 2016-12-30 15:06:51 -05:00
Staticman eec7b891e5 New comment. (#743) 2016-12-30 15:02:03 -05:00
Staticman 2a5a0020b6 New comment. (#729) 2016-12-23 17:31:49 -05:00
Michael Rose 88933c4e08 Merge branch 'release/4.1.1' into develop 2016-12-21 23:15:27 -05:00
Michael Rose 0c992ca4d7 Merge branch 'release/4.1.1' 2016-12-21 23:15:27 -05:00
Michael Rose 990af789f4 Bump version to 4.1.1 2016-12-21 23:13:56 -05:00
Michael Rose 7ffe6d4c5e Update CHANGELOG.md and history 2016-12-21 23:12:56 -05:00
Michael Rose 1cfce57cfb Remove hardcoded read time values and make “minute read” values dynamic based off of site.words_per_minute
- Close #703
2016-12-21 22:52:18 -05:00
Michael Rose 7ad8d79f93 Fix author.youtube conditional in author sidebar 2016-12-21 22:43:21 -05:00
Michael Rose 9fa1764d3e Change Jekyll to a runtime dependency 2016-12-21 22:35:07 -05:00
Michael Rose c49041270c Merge branch 'feature/youtube-channel' into develop 2016-12-21 22:30:09 -05:00
Michael Rose 7e1f1539e3 Add support for YouTube channel URLs in /docs author sidebar 2016-12-21 22:30:01 -05:00
Michael Rose a41eee9516 Add support for YouTube channel URLs in author sidebar
- Close #716
2016-12-21 22:29:26 -05:00
Michael Rose d54b94fbac Update Font Awesome to v4.7.0 in /docs 2016-12-21 22:07:17 -05:00
Michael Rose 1e661eb10f Update Font Awesome to v4.7.0
- Close #723
2016-12-21 21:44:24 -05:00
Michael Rose b7bb95f916 Merge branch 'release/4.1.0' into develop 2016-12-12 15:28:56 -05:00
Michael Rose f4df3d459b Merge branch 'release/4.1.0' 2016-12-12 15:28:49 -05:00
Michael Rose 89d602c3f3 Bump version to 4.1.0 2016-12-12 15:28:30 -05:00
Michael Rose 66a07a67f8 Update CHANGELOG and history 2016-12-12 15:27:00 -05:00
Michael Rose 2215ee5c06 Add include for adding custom author profile links to sidebar 2016-12-12 15:21:10 -05:00
Michael Rose cc1f09c54c Fix padding issue with pagination buttons
- Close #694
2016-12-12 14:49:53 -05:00
Tom Richards 86c2fb49dc Fix link to Discourse.org homepage in noscript section (#699) 2016-12-04 23:25:52 -05:00
Michael Rose 9e5f459800 Merge branch 'release/4.0.10' into develop 2016-12-01 15:46:34 -05:00
Michael Rose 0c9f8cdae8 Merge branch 'release/4.0.10' 2016-12-01 15:46:27 -05:00
Michael Rose 9b65e8e0d7 Bump version to 4.0.10 2016-12-01 15:46:07 -05:00
Michael Rose 208299a139 Update CHANGELOG and history 2016-12-01 15:44:16 -05:00
Michael Rose 19badee452 Slight correction/improvements to French 2016-12-01 15:43:41 -05:00
Staticman 6dcbafddd1 New comment. (#689) 2016-12-01 07:02:29 -05:00
DEL+R b0d1386945 Slight corrections/improvments with French (#685)
- `comment_success_msg` : Just corrected a missing `m` in *commentaire*
- `related_label` : Added `aussi` (*as well*) in the end of the sentence to make it more "natural" French
-`less_than` : `plus petit que` wasn't right, in this precise context, this form is more about the mathematical character `<`. `moins de` is one of the exact use in this particular case (talking about duration) --- *Less than one minute* == `Moins de 1 minute`
- `follow_label` : Using `Contact` in place of `Suivez moi` make it less personal, and so, better suited for most cases (`Suivez moi` is more like `Follow me`)
2016-11-29 11:30:44 -05:00
Michael Rose 4e44f3c5db Add Staticman default path
- Close #683
2016-11-29 08:44:43 -05:00
Michael Rose 0e6d5326ed Merge branch 'hotfix/4.0.9' into develop 2016-11-21 16:06:19 -05:00
Michael Rose 8dafd7ee75 Merge branch 'hotfix/4.0.9' 2016-11-21 16:06:12 -05:00
Michael Rose f3bc19a13d Update CHANGELOG.md/history and bump vesion to 4.0.9 2016-11-21 16:05:52 -05:00
Michael Rose 2b7166dede Fix overlapping sidebar navigation list due to max-height: 100vh
- Use `max-height: 9999px` for smoother animation than `max-height: 100%`
- Issue #668
2016-11-21 16:01:59 -05:00
Michael Rose 656bcda033 Merge branch 'release/4.0.8' into develop 2016-11-21 09:56:36 -05:00
Michael Rose 3b457aa8f1 Merge branch 'release/4.0.8' 2016-11-21 09:56:29 -05:00
Michael Rose 072fd29116 Bump version to 4.0.8 2016-11-21 09:55:38 -05:00
Michael Rose 97bc971b31 Update CHANGELOG.md and history 2016-11-21 09:55:28 -05:00
Michael Rose cf23bb0b63 Merge branch 'feature/nav-list-tweak' into develop 2016-11-21 09:50:22 -05:00
Michael Rose 5ff2dcce4a Fix media query width 2016-11-21 09:50:08 -05:00
Michael Rose 3843a4bc93 Fix media query width 2016-11-21 09:49:30 -05:00
Michael Rose f047b3d63f Merge branch 'develop' of https://github.com/mmistakes/minimal-mistakes into develop 2016-11-21 09:37:44 -05:00
Michael Rose 6375f2666b Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2016-11-21 09:37:19 -05:00
Michael Rose f71f50b817 Add Google AdSense to demo site 2016-11-21 09:36:10 -05:00
Michael Rose 6f70f3aeda Add Google AdSense to demo site 2016-11-21 09:33:35 -05:00
Staticman 547c30ce45 Add Staticman entry (#661) 2016-11-18 17:38:02 -05:00
Michael Rose f9e36767c2 Set default value for words_per_minute
- Close #657
2016-11-18 12:22:40 -05:00
Michael Rose f5f8ae41ec Merge branch 'release/4.0.7' into develop 2016-11-17 16:02:29 -05:00
Michael Rose afb1ed4aad Merge branch 'release/4.0.7' 2016-11-17 16:02:21 -05:00
Michael Rose 028371c709 Update CHANGELOG.md and bump version to 4.0.7 2016-11-17 16:01:39 -05:00
Michael Rose bf959c2ff0 Fix active state 2016-11-17 16:00:12 -05:00
Michael Rose cdf5877acc Merge branch 'feature/sidebar-nav' into develop 2016-11-17 15:44:46 -05:00
Michael Rose fb1f0f1061 Adjust color of .nav__items a 2016-11-17 15:43:32 -05:00
Michael Rose fb15bd6c3b Adjust color of .nav__items a 2016-11-17 15:43:28 -05:00
Michael Rose 3408e27fcf Adjust nav list <a> styling 2016-11-17 15:39:00 -05:00
Michael Rose c50e9ca652 Adjust nav list <a> styling 2016-11-17 15:38:55 -05:00
Michael Rose 02175b5f08 Consistently style menu toggle color 2016-11-17 15:17:44 -05:00
Michael Rose 05a9147d52 Consistently style menu toggle color 2016-11-17 15:17:40 -05:00
Michael Rose 9e2eed911f Make changes for /test 2016-11-17 15:13:55 -05:00
Michael Rose e590edfac6 Make changes for /docs 2016-11-17 15:13:46 -05:00
Michael Rose 52ef6badd7 Add +/- icon to menu button and bold label 2016-11-17 15:13:25 -05:00
Michael Rose db8bbfcfab Add sample sidebar navigation post 2016-11-17 15:12:18 -05:00
Michael Rose f9a5225c54 Collapse sidebar navigation list on smaller screens
- CSS only solution using "check-box hack"
- Add new UI text label `menu_label` in _data/ui-text.yml
- Close #607
2016-11-17 15:06:07 -05:00
Michael Rose 71ddbf1e70 Organize SCSS partials 2016-11-17 12:17:18 -05:00
Michael Rose 3a7dd49734 Rename #comments to something more specific
- Close #582
2016-11-17 12:12:55 -05:00
Michael Rose 50614506f5 Merge branch 'feature/scss-restructure' into develop 2016-11-17 12:07:27 -05:00
Michael Rose 1f9e9d0660 Organize SCSS partials 2016-11-17 11:44:22 -05:00
Michael Rose 746ead8751 Add default values to variables 2016-11-17 11:44:10 -05:00
Michael Rose 0fe3951366 Remove newline 2016-11-17 11:43:37 -05:00
Michael Rose ef7aeeb07d Add structured data markup for itemprop="person" in author-profile 2016-11-16 11:49:07 -05:00
Michael Rose 4c7914c74b Add structured data markup for itemprop="person" in author-profile 2016-11-16 11:48:52 -05:00
Michael Rose af48ac2f2a Merge branch 'release/4.0.6' into develop 2016-11-16 11:44:00 -05:00
Michael Rose 37bff52f81 Merge branch 'release/4.0.6' 2016-11-16 11:43:53 -05:00
Michael Rose 85f80a1c0f Bump version to 4.0.6 2016-11-16 11:43:32 -05:00
Michael Rose 8d016a5174 Update CHANGELOG.md and history 2016-11-16 11:40:28 -05:00
Michael Rose 91afe6c2d8 Add rake preview task for testing /test during theme development 2016-11-16 11:21:56 -05:00
Michael Rose f86af5e665 Fix code block 2016-11-15 22:14:28 -05:00
Staticman f41abd46c0 Add Staticman entry (#654) 2016-11-15 22:08:09 -05:00
Staticman 7666d0677b Add Staticman entry (#653) 2016-11-15 19:01:37 -05:00
Michael Rose c4252b09af Merge branch 'feature/image-helper' into develop 2016-11-15 12:12:54 -05:00
Michael Rose 554e8477a8 Document figure helper 2016-11-15 12:12:27 -05:00
Michael Rose 749c780736 Rename image helper to figure 2016-11-15 12:12:14 -05:00
Michael Rose 4b10ba1c91 Merge branch 'master' of https://github.com/fa-ribeiro/minimal-mistakes into feature/image-helper 2016-11-15 09:42:37 -05:00
Michael Rose 2d30bb5929 Merge branch 'feature/locale-fix' into develop 2016-11-15 09:39:43 -05:00
Michael Rose 33fe819922 Fix locales 2016-11-15 09:36:22 -05:00
Michael Rose 0ff37a42a8 Merge branch 'patch-1' of https://github.com/jpatters/judaicadh.github.io into feature/locale-fix 2016-11-15 09:33:01 -05:00
Jordan 61160d548f Fixed improper formatting of some locales
This was causing stack level too deep errors.
2016-11-14 19:56:35 -04:00
Michael Rose 1c64b508a9 Add structured data markup for itemprop="person" in author-profile (#647)
Adds schema.org data for image, name, homeLocation, url, email,
and sameAs (for all the social media links).
2016-11-14 11:57:09 -05:00
Alois Klink ce83d3d60e Add structured data markup for itemprop="person" in author-profile
Adds schema.org data for image, name, homeLocation, url, email,
and sameAs (for all the social media links).
2016-11-13 20:47:34 +00:00
Staticman 8834e05b26 Add Staticman entry (#643) 2016-11-12 00:29:18 -05:00
Fernando Ribeiro da95259743 Do not assume images would be placed in /assets/images/
In order to add an image to a post, just use the following syntax:

{% include image image_path="/full/path/to/MyPostImage.png" caption="The optional image caption" %}

or

{% include image image_path="https://example.com/images/MyPostImage.png" caption="The optional image caption" alt="The optional alt text" %}
2016-11-08 20:15:41 +00:00
Fernando Ribeiro 637e5d9934 Replace base_path with absolute_url filter 2016-11-05 21:46:02 +00:00
Fernando Ribeiro 37d4eb8807 Update image 2016-11-05 21:27:59 +00:00
Michael Rose 32e9073e7e Update docs 2016-11-04 14:06:33 -04:00
Michael Rose 6710cae9ef Update docs 2016-11-04 14:05:59 -04:00
Michael Rose b91704a881 Merge branch 'release/4.0.5' into develop 2016-11-04 12:52:38 -04:00
Michael Rose 960c8dbc34 Merge branch 'release/4.0.5' 2016-11-04 12:52:31 -04:00
Michael Rose 90e7abcebe Bump version to 4.0.05 2016-11-04 12:50:40 -04:00
Michael Rose d5a8a208a5 Update CHANGELOG.md 2016-11-04 12:50:24 -04:00
Michael Rose b29e4bf5c9 Replace base_path with absolute_url filter 2016-11-04 12:50:03 -04:00
Michael Rose bdca8cab8b Merge branch 'feature/pagination-link-color' into develop 2016-11-04 11:37:40 -04:00
Michael Rose 7172ccd3da Make pager (next/previous) active state more obvious by adding changing gray color to $link-color 2016-11-04 11:37:22 -04:00
Michael Rose 11fccb0908 Make pager (next/previous) active state more obvious by adding changing gray color to $link-color 2016-11-04 11:36:31 -04:00
Michael Rose abea26ecbe Bump add_runtime_dependency for gems 2016-11-04 11:31:02 -04:00
Michael Rose f59625f62c Merge branch 'feature/sidebar-flicker-fix' into develop 2016-11-04 11:22:47 -04:00
Michael Rose f64b8659fc Apply .sidebar hover flicker fix to /docs 2016-11-04 11:22:25 -04:00
Michael Rose d71f801d16 Fix .sidebar flicker/jump when hovered
- Close #583
2016-11-04 11:21:24 -04:00
Staticman ee42347f4f Add Staticman entry (#633) 2016-11-03 18:51:57 -04:00
Michael Rose 73d12ab1b1 Replace {{ base_path } with absolute_url filter 2016-11-03 11:59:23 -04:00
Michael Rose 57a4324fa0 Move gh-pages branch files into /docs and add test files
- Jekyll ignore `/docs` and `/test` folders when using from root
- Update Staticman config to point to correct branch and data file location
- Replace `{{ base_path }}` references with `absolute_url` filter
- Update documentation
2016-11-03 11:52:04 -04:00
Michael Rose 8ed97862e5 Update CHANGELOG.md 2016-11-02 17:22:51 -04:00
Michael Rose 70c274ae56 Merge branch 'release/4.0.4'
Conflicts:
	README.md
2016-11-02 16:22:49 -04:00
Michael Rose 9154710de6 Add note about Ruby gem version 2016-11-02 16:20:12 -04:00
Michael Rose 3ade22adf5 Update CHANGELOG.md and bump version to 4.0.4 2016-11-02 16:15:13 -04:00
Michael Rose 8b43573087 Merge branch 'feature/theme-gem' into develop 2016-11-02 15:50:14 -04:00
Michael Rose 41dd838971 Add _data files to root for those forkers of the repo 2016-11-02 15:48:58 -04:00
Burak Ozdemir e36100486d Added missing Turkish translation for UI text (#621) 2016-10-31 11:32:55 -04:00
Burak Ozdemir 52a731539e Added missing Turkish translation for UI text (#621) 2016-10-31 11:30:31 -04:00
Michael Rose 166fb69c8b Fix typo and update link to beta release post 2016-10-17 12:21:38 -04:00
Michael Rose 7494fbf609 Fix typo and update link to beta release post 2016-10-17 12:21:04 -04:00
Michael Rose d3b2e49044 Remove prepend: "/" from includes and add to image path's instead 2016-10-10 11:48:30 -04:00
Michael Rose f0367ba52b Add default config and home index page 2016-10-10 11:47:44 -04:00
Michael Rose 48699597fc Fix navigation bar animation "flicker" in Safari
- Close #568
2016-10-08 21:03:54 -04:00
Maciej A. Czyzewski 6d4b52a8a3 [fixed]: too long shadow at bottom 2016-10-08 22:38:18 +02:00
Maciej A. Czyzewski 33b570b150 [modified]: even better 2016-10-08 22:33:27 +02:00
Maciej A. Czyzewski 3429b9d4a0 [fixed]: aggressive box-shadow 2016-10-08 22:21:19 +02:00
Fernando Ribeiro eedf838d1f add image helper for easier image insertion in posts 2016-10-07 21:45:59 +01:00
Michael Rose 533da21325 Bump version to 4.0.3 2016-10-07 09:16:08 -04:00
Michael Rose f8e198df0e Add links to documentation 2016-10-06 21:19:53 -04:00
Michael Rose 9f4f784dbe Rename LICENSE 2016-10-06 21:14:13 -04:00
Michael Rose 2ad89711af Update README 2016-10-06 21:13:40 -04:00
Michael Rose 50d4b1b9a8 Make author avatar optional 2016-10-06 19:39:28 -04:00
Michael Rose 818b99354f Add Jekyll v3.3 as dependency 2016-10-06 19:32:04 -04:00
Michael Rose 9c8b2ed2b9 Simplify example site's Gemfile 2016-10-06 19:31:38 -04:00
Michael Rose 294fab6268 Add sample home page to example site 2016-10-06 19:31:24 -04:00
Michael Rose 18713fd757 Create home page layout with paginated recent posts 2016-10-06 19:31:12 -04:00
Michael Rose 6ad9d1ef58 Update regex for spec.files and remove bindir and executables 2016-10-06 19:19:46 -04:00
Michael Rose 57d2fc0e70 Bump version to 4.0.2 2016-10-06 15:43:27 -04:00
Michael Rose 5e1720cbe6 Remove http://localhost:4000 from site.url as it is automatically set with jekyll serve 2016-10-06 15:43:02 -04:00
Michael Rose 5d35afd349 Update gem dependencies
- Add Jekyll plugins needed for the theme to .gemspec
- Remove Jekyll plugin gems from example site as they are installed with the theme
2016-10-06 15:42:21 -04:00
Michael Rose f4091ac64c Fix image path typos 2016-10-06 15:40:57 -04:00
Michael Rose 2a3e8b1147 Remove category 2016-10-06 15:40:46 -04:00
Michael Rose c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Justin Rummel 8c4f6e254e Update seo.html for meta description (#558)
Adding standard meta description immediately after seo_description has been defined
2016-09-27 15:19:22 -04:00
Michael Rose 7700d3b8ed Don't prepend author.avatar paths with / when path contains :// 2016-09-26 12:12:21 -04:00
Michael Rose 9ae9d32463 Remove pre from version and bump to 4.0.1 2016-09-22 21:14:18 -04:00
Michael Rose ed9f7923c7 Update .gemspec 2016-09-22 20:43:03 -04:00
Michael Rose 4f5b7c4b4d Add pre-release theme gem link 2016-09-22 12:14:06 -04:00
Michael Rose 25a92c181a Add pre-release theme gem link 2016-09-22 12:13:39 -04:00
Michael Rose cc5f6c497f Update version to 4.0.0.pre 2016-09-22 10:07:29 -04:00
Michael Rose e882a23f94 Remove docs collection 2016-09-21 23:20:24 -04:00
Michael Rose 3237963925 Fix image path 2016-09-21 23:16:11 -04:00
Michael Rose 7c2fc59c3b Fix image path 2016-09-21 23:14:01 -04:00
Michael Rose 77c5642803 Allow images to be placed in other folders
- Remove `images/` only restriction and encourage placement in `assets/images/` instead
2016-09-21 22:15:17 -04:00
Michael Rose 4a26d61008 Remove _config.yml from root 2016-09-21 22:13:46 -04:00
Michael Rose 1fc1251354 Add example site for testing 2016-09-21 22:13:25 -04:00
Michael Rose ba88fceb5b Update Gemfile 2016-09-21 21:43:43 -04:00
Michael Rose 8e57a4ac61 Remove Rakefile 2016-09-21 21:43:27 -04:00
Michael Rose 6eea98a058 Name .gemspec correctly 2016-09-21 21:43:18 -04:00
Michael Rose 66946defa2 Update files and directories ignored by Git 2016-09-21 21:43:02 -04:00
Michael Rose e0e1dd75b0 Remove Gemfile.lock 2016-09-21 21:41:11 -04:00
Michael Rose d5d23dab32 Revert "Update files and directories ignored by Git"
This reverts commit 645363a9fe.
2016-09-21 21:40:19 -04:00
Michael Rose 645363a9fe Update files and directories ignored by Git 2016-09-21 21:38:56 -04:00
Michael Rose 9cfac78996 Move image assets in /assets/images 2016-09-21 21:10:33 -04:00
Michael Rose 6b927c606c Add theme screenshot 2016-09-21 21:10:03 -04:00
Michael Rose fc098cc1a3 Add rake task for testing theme during development
- `bundle exec rake preview`
2016-09-21 21:09:53 -04:00
Michael Rose cd19062e63 Add .gemspec 2016-09-21 21:09:04 -04:00
Michael Rose 8e03adfa4e Swap github-pages gem with latest Jekyll
- Add Jekyll plugins
2016-09-21 21:02:56 -04:00
Roger Schaerer 412e08a73b add german (Deutsch) translation (#546)
Thanks @rschaerer!
2016-09-20 12:17:42 -04:00
Michael Rose 04c0028345 Merge branch 'release/3.4.8' into develop 2016-09-19 10:10:30 -04:00
Michael Rose f5cc6301dc Merge branch 'release/3.4.8' 2016-09-19 10:10:25 -04:00
Michael Rose 7d341c312e Update CHANGELOG.md and bump version to 3.4.8 2016-09-19 10:08:44 -04:00
Michael Rose 18a801b350 Update gems: github-pages (96), jekyll-mentions (1.2.0) 2016-09-19 10:01:17 -04:00
Michael Rose 21a39f37d9 Merge branch 'feature/portuguese-update' into develop 2016-09-19 09:55:24 -04:00
Michael Rose 0626821333 Re-add Brazilian Portuguese localized strings 2016-09-19 09:55:10 -04:00
Michael Rose 46d743edd2 Merge branch 'master' of https://github.com/fa-ribeiro/minimal-mistakes into feature/portuguese-update 2016-09-19 09:50:55 -04:00
Kyle Manna d4ee7ff12d includes: Enhance Twitter share link (#538)
* Include the page title before the URL
* If twitter.username is set, pass the `via` paramter for attribution
2016-09-19 09:48:58 -04:00
Sebastian Cachia dc7f352aff Fixed Last.fm URL (#540)
lastfm.com/user... results in a server error, last.fm/user... is the correct URL.
2016-09-18 18:37:13 -04:00
Fernando Ribeiro 7a3c82f041 update Portuguese translation 2016-09-18 11:13:47 +01:00
Michael Rose 25153da058 Merge branch 'feature/large-screen-font-size' into develop 2016-09-16 14:51:43 -04:00
Michael Rose 327d3cfc3a Merge branch 'master' of https://github.com/jhabdas/minimal-mistakes into feature/large-screen-font-size 2016-09-16 14:46:20 -04:00
Josh Habdas a48327908e Typography for larger viewports. Closes #533 2016-09-16 11:50:12 -05:00
Michael Rose 09b42ec322 Remove empty maintenance listing 2016-09-15 14:56:35 -04:00
Michael Rose b5e3ef57b4 Remove empty maintenance listing 2016-09-15 14:56:05 -04:00
Michael Rose 490f8256c3 Merge branch 'release/3.4.7' into develop 2016-09-15 14:55:29 -04:00
Michael Rose 32d2c7db0d Merge branch 'release/3.4.7' 2016-09-15 14:55:24 -04:00
Michael Rose 8756c27704 Update CHANGELOG.md and bump version to 3.4.7 2016-09-15 14:55:06 -04:00
Vince Chu 57449b37ca Add classnames to body element (#526)
* Expose layout type as class name on body element

* Add ability to add classes to body via front matter
2016-09-15 14:46:04 -04:00
Michael Rose a60257de3d Merge branch 'feature/zh-cn-translations' into develop 2016-09-15 14:36:15 -04:00
Michael Rose 0c13d0446d Merge branch 'master' of https://github.com/martinliu/minimal-mistakes into feature/zh-cn-translations 2016-09-15 14:35:37 -04:00
Martin Liu a1d508d53b Add zh-CN
Add Simplified Chinese UI text.
2016-09-15 19:56:46 +08:00
Vince Chu 54b2da3022 Remove duplicate include of base_path in category-list.html (#522) 2016-09-13 09:30:52 -04:00
Michael Rose 921f4411c3 Merge branch 'release/3.4.6' into develop 2016-09-09 10:37:37 -04:00
Michael Rose 4092d08c8c Merge branch 'release/3.4.6' 2016-09-09 10:37:32 -04:00
Michael Rose f12a902372 Update CHANGELOG.md and bump version to 3.4.6 2016-09-09 10:37:06 -04:00
Michael Rose 6db88b709a Disable compress layout by default
- Due to several issues related to content and JavaScript HTML compression has been disabled.
- To enable add `layout: compress` to _layout/default.html YAML Front Matter
2016-09-09 10:33:42 -04:00
nmiglio f5cf9d8fd8 Completed Italian translation (#514)
cc/ #449
2016-09-09 10:29:15 -04:00
Michael Rose 6617549249 Merge branch 'release/3.4.5' into develop 2016-09-09 10:12:30 -04:00
Michael Rose 233dcde6f9 Merge branch 'release/3.4.5' 2016-09-09 10:12:25 -04:00
Michael Rose 3889ff311e Update CHANGELOG.md and bump version to 3.4.5 2016-09-09 10:12:07 -04:00
Michael Rose 3c034e59f4 Improve styling of {% highlight %} tag code blocks
- Fix alignment in issues in Firefox
- Remove table borders from `linenos`
- Harmonize padding and font-sizes
- Close #513 and close #512
2016-09-09 09:58:27 -04:00
Roger Schaerer 0c2d3bbb9f get Follow-Button label from ui-text and default to "Follow" (#496) 2016-09-02 08:33:54 -04:00
Michael Rose a718162d96 Merge branch 'uru-ch-clarified-comment-stackoverflow-author-profile' into develop
* uru-ch-clarified-comment-stackoverflow-author-profile:
  clarified comment for author.stackoverflow value
2016-08-29 21:46:06 -04:00
rschaerer d3ac1123da clarified comment for author.stackoverflow value 2016-08-29 01:39:27 +02:00
Michael Rose a40e93fa41 Merge branch 'release/3.4.4' into develop 2016-08-25 14:34:08 -04:00
Michael Rose 50c1dfe4cf Merge branch 'release/3.4.4' 2016-08-25 14:34:03 -04:00
Michael Rose bcae932f8c Update CHANGELOG.md and bump version to 3.4.4 2016-08-25 14:33:44 -04:00
Michael Rose 467e5dc84e Update gems: colorator (1.1.0), forwardable-extended (2.6.0), github-pages (93), jekyll (= 3.2.1), minima (= 1.0.1) 2016-08-25 14:28:51 -04:00
Michael Rose bff773668b Merge branch 'feature/fix-page-hero-liquid-warning' into develop 2016-08-25 14:25:31 -04:00
Michael Rose 86a4ca6e2d Merge branch 'hotfix' of https://github.com/vwchu/minimal-mistakes into feature/fix-page-hero-liquid-warning 2016-08-25 14:24:14 -04:00
Vincent Chu 0d6816e770 Fix Liquid syntax error for offending parentheses
Liquid Warning: Liquid syntax error (line 3): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/single.html
Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/archive.html
Liquid Warning: Liquid syntax error (line 3): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/splash.html
2016-08-25 13:20:38 -04:00
Michael Rose 16a1a9a505 Exclude vendor 2016-08-23 08:53:39 -04:00
Michael Rose 3c12f7c168 Merge branch 'feature/fr-translations' into develop 2016-08-23 08:48:34 -04:00
Michael Rose 8bbf9bb62b Merge branch 'master' of https://github.com/flohw/minimal-mistakes into feature/fr-translations 2016-08-23 08:47:57 -04:00
Flohw 306d6b40b0 Add french translations 2016-08-23 10:00:37 +02:00
Michael Rose 4be38f4c8a Merge branch 'release/3.4.3' into develop 2016-08-22 09:20:05 -04:00
Michael Rose da6ec43918 Merge branch 'release/3.4.3' 2016-08-22 09:20:00 -04:00
Michael Rose 00bdeacb49 Update CHANGELOG and bump version to 3.4.3 2016-08-22 09:19:41 -04:00
Michael Rose 8f161b04db Add structured data markup for itemprop="comment"
- Close #458
2016-08-22 09:17:16 -04:00
Ryan Carpenter f173b97404 Use page.header.teaser instead of site.og_image in twitter:image and og:image meta tags (#466) 2016-08-22 08:56:04 -04:00
Michael Rose f52a18c3d8 Merge branch 'develop' of https://github.com/mmistakes/minimal-mistakes into develop
* 'develop' of https://github.com/mmistakes/minimal-mistakes:
  formats og:locale tag with underscores (#465)
2016-08-21 23:26:14 -04:00
Ryan Carpenter c4d71dbea7 formats og:locale tag with underscores (#465)
See http://fbdevwiki.com/wiki/Locales
2016-08-21 23:25:41 -04:00
Michael Rose e4abec0a6f Adjust padding on .highlight blocks to align overflow scrollbar to the bottom 2016-08-21 23:16:46 -04:00
Michael Rose 06a8249a69 Make "honeypot" input less obvious for spam bots 2016-08-21 17:22:37 -04:00
Michael Rose b29f3ab8a1 Merge branch 'hotfix/3.4.2' into develop 2016-08-11 22:34:11 -04:00
Michael Rose 4340aa7835 Merge branch 'hotfix/3.4.2' 2016-08-11 22:34:10 -04:00
Michael Rose a524629685 Update CHANGELOG.md and bump version to 3.4.2
- Close #448
2016-08-11 22:34:02 -04:00
Michael Rose 804b2171a6 Improve UX of comment form
- Remove modal and insert notices above submit button
- Disable form on successfully submission
- Add "loading..." icon and text to button on submit
- Remove unused text string translations
2016-08-11 22:32:27 -04:00
Michael Rose 3a9350d54c Lighten disabled pagination links 2016-08-11 22:28:35 -04:00
Michael Rose b5472d33c0 Merge branch 'hotfix/3.4.1' into develop 2016-08-11 15:23:31 -04:00
Michael Rose c94c1c59b9 Merge branch 'hotfix/3.4.1' 2016-08-11 15:23:26 -04:00
Michael Rose c3efe21834 Update CHANGELOG.md and bump version to 3.4.1 2016-08-11 15:23:07 -04:00
Michael Rose 304f465430 Don't link author name if url is blank 2016-08-11 15:22:29 -04:00
Michael Rose d86a6c995c Add staticman.filename config with UNIX timestamp for sorting data files
example ~> comment-1470943149
2016-08-11 15:20:09 -04:00
Michael Rose 8fe82c73a9 Merge branch 'release/3.4.0' into develop 2016-08-11 11:25:50 -04:00
Michael Rose 5819e4dc78 Merge branch 'release/3.4.0' 2016-08-11 11:25:44 -04:00
Michael Rose 0dd3f3b4dd Update CHANGELOG.md and bump version to 3.4.0 2016-08-11 11:25:10 -04:00
Michael Rose 9706f6e201 Merge branch 'feature/staticman-commenting' into develop 2016-08-11 10:22:58 -04:00
Michael Rose 985b58479e Mention Staticman comments in README.md
- Close #424
2016-08-11 10:17:06 -04:00
Michael Rose 64ac7952c1 Add default commitMessage text and date generated field to Staticman config 2016-08-11 10:15:03 -04:00
Michael Rose 7aa4e3ca3d Move comments above form elements and add missing English UI text strings 2016-08-11 10:14:27 -04:00
Michael Rose cb26538572 Disable comments by default 2016-08-10 16:11:19 -04:00
Michael Rose a3b78e5a80 Add English default text for comment submission modals and titles 2016-08-10 16:08:50 -04:00
Michael Rose fdcaf16e2f Add includes for static-based comments powered by Staticman
- Configure Staticman with sane defaults
- Build comment form to capture new comments and ajax data to Staticman
- Build comments view that iterates over `_data/comments/post-slug/*.yml` files
2016-08-10 16:08:13 -04:00
Michael Rose fb32147148 Style static comments, form, and modal 2016-08-10 15:45:48 -04:00
Michael Rose a1c7c022e6 Fix typo 2016-08-10 15:31:20 -04:00
Michael Rose 41c99f428d Merge branch 'release/3.3.7' into develop 2016-08-08 16:15:45 -04:00
Michael Rose 24878a3479 Merge branch 'release/3.3.7' 2016-08-08 16:15:34 -04:00
Michael Rose 5e0e5684d6 Update CHANGELOG.md, README.me, and bump version to 3.3.7 2016-08-08 16:15:15 -04:00
Michael Rose 4cc9fcb40a Use Jekyll native Sass/SCSS preprocessor
- Move .scss files to default `_sass` folder
- Configure Sass/SCSS in `_config.yml`
- Run .scss files through Autoprefixer
- Remove unnecessary npm scripts for building CSS
- Close #333
2016-08-08 16:01:37 -04:00
Michael Rose b6be3aa0c2 Re-enable Jekyll plugins in _config.yml
- Close #417
2016-08-07 20:47:11 -04:00
Michael Rose ca9ff3248c Fallback to site.github.url for use in {{ base_path }} when site.url is nil 2016-08-04 10:47:39 -04:00
Michael Rose ad001a435c Merge branch 'hotfix/3.3.6' into develop 2016-08-01 10:29:15 -04:00
Michael Rose e3bdd1020d Merge branch 'hotfix/3.3.6' 2016-08-01 10:29:10 -04:00
Michael Rose 98e61b2b52 Update CHANGELOG and bump version to 3.3.6 2016-08-01 10:28:53 -04:00
Michael Rose 3e2e7daa51 Fix blank site.teaser bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close #412
2016-08-01 10:27:54 -04:00
Michael Rose f3fd789041 Remove Bug Fixes heading 2016-08-01 09:53:43 -04:00
Michael Rose ce26520993 Remove Bug Fixes heading 2016-08-01 09:53:18 -04:00
Michael Rose 99d06d5617 Merge branch 'release/3.3.5' into develop 2016-08-01 09:05:43 -04:00
Michael Rose d158963d12 Merge branch 'release/3.3.5' 2016-08-01 09:05:38 -04:00
Michael Rose dd0a584cbf Bump version to 3.3.5 2016-08-01 09:05:16 -04:00
Michael Rose 11ba678859 Update CHANGELOG 2016-08-01 09:05:07 -04:00
Michael Rose 6bae547acd Remove gh_repo in favor of repository 2016-08-01 09:04:57 -04:00
Michael Rose be0c55ea0e Add Italian text strings to ui-text.yml
- Translation by @ivanferreroit
2016-08-01 08:55:05 -04:00
Michael Rose 8f40d67f77 Merge branch 'feature/portugese-text' into develop 2016-08-01 08:50:50 -04:00
Michael Rose ca38dcab2a Remove (default) label 2016-08-01 08:48:55 -04:00
Michael Rose 2fea29bbad Merge branch 'add-portuguese' of https://github.com/lipemorais/lipemorais.github.io into feature/portugese-text 2016-08-01 08:48:20 -04:00
Michael Rose 1bb5fea886 Merge branch 'feature/gemfile' into develop 2016-08-01 08:46:34 -04:00
Michael Rose f448c8ae97 Update Gemfile instructions 2016-08-01 08:46:03 -04:00
Felipe de Morais 572b5bdb64 Adding Portugese in the ui-text 2016-07-31 17:22:51 -03:00
Michael Rose fa4ac233e3 Disable gems in _config.yml and enable with bundler instead
- Add `repository` to `_config.yml` as part of GitHub metadata
2016-07-29 16:33:05 -04:00
Michael Rose 3901149fc9 Remove unused Google AdSense variables in _config.yml 2016-07-29 12:17:52 -04:00
Michael Rose cc0b266541 Add en default text to site.locale strings
- Close #407
2016-07-29 12:16:53 -04:00
Michael Rose 30856f411c Merge branch 'release/3.3.4' into develop 2016-07-26 15:43:36 -04:00
Michael Rose 86f27cdee1 Merge branch 'release/3.3.4' 2016-07-26 15:43:31 -04:00
Michael Rose 2cfad13f51 Update CHANGELOG and bump version to 3.3.4
- Close #378, close #379
2016-07-26 15:43:13 -04:00
Michael Rose a76fa288c9 Merge branch 'feature/custom-feed' into develop 2016-07-26 15:35:02 -04:00
Michael Rose d238a0de83 Add external feed URL conditional to <head> 2016-07-26 15:34:21 -04:00
Michael Rose 1c6b42484d Merge branch 'master' of https://github.com/gabor-meszaros/minimal-mistakes into feature/custom-feed 2016-07-26 15:30:09 -04:00
Gabor Meszaros 5a2d54f64f Add external atom feed URL config possibility 2016-07-26 15:13:38 +02:00
Michael Rose 74775e830d Merge branch 'feature/tr-locale' into develop 2016-07-25 08:22:23 -04:00
Michael Rose 1814d6c1a5 Add localized text supported by the theme 2016-07-25 08:22:10 -04:00
Ekrem Karaca 97ef2d2985 Update ui-text.yml
Turkish locale values...
2016-07-24 16:23:26 +03:00
Michael Rose 70aa1e26e1 Update gems
- activesupport (4.2.7)
- ffi (1.9.14)
- github-pages (88)
- jekyll-redirect-from (0.11.0)
- html-pipeline (2.4.2)
- jekyll-watch (1.5.0)
2016-07-21 14:36:27 -04:00
Michael Rose 534adff39d Update README to include version, link to CHANGELOG, and creator info. 2016-07-21 08:30:34 -04:00
Michael Rose 51b6c6ed59 Update README to include version, link to CHANGELOG, and creator info. 2016-07-21 08:29:21 -04:00
Michael Rose ca9e90658b Merge branch 'release/3.3.3' into develop 2016-07-20 16:10:35 -04:00
Michael Rose e122808ad6 Merge branch 'release/3.3.3' 2016-07-20 16:10:30 -04:00
Michael Rose 21166c14ee Update CHANGELOG and bump version to 3.3.3 2016-07-20 16:10:16 -04:00
Michael Rose 2d818cc8d1 Fix gallery size bug
-  Improperly evaluated size of gallery arrays as strings and not integers
- Close #402
2016-07-20 16:05:31 -04:00
Michael Rose 9a9cbc01e3 Make footer stick to the bottom of the page
- Use JavaScript to determine height of `.page_footer` to apply padding to `body` avoiding any content overlap
- Absolute position `.page_footer` to bottom of the page
2016-07-20 09:10:37 -04:00
Michael Rose fc0f8f5b1d Set default lang to en 2016-07-15 10:27:30 -04:00
Michael Rose e01b0f464e Merge branch 'hotfix/3.3.2' into develop 2016-07-14 12:01:09 -04:00
Michael Rose 5ed2ded1d7 Merge branch 'hotfix/3.3.2' 2016-07-14 12:01:04 -04:00
Michael Rose 22c289cb32 Update CHANGELOG and bump version to 3.3.2
- Close #396
2016-07-14 12:00:49 -04:00
Matthew Aguirre 97c081eb22 Updated main.min.js 2016-07-14 10:26:14 -04:00
Matthew Aguirre cd79ac9a64 Fixed condition that should be notted. 2016-07-14 10:24:10 -04:00
Matthew Aguirre e5147f8de9 Fixed overlay when 'author__urls-wrapper button' is not present. 2016-07-14 10:13:08 -04:00
Michael Rose 14e72d04b9 Merge branch 'release/3.3.1' into develop 2016-07-11 14:15:38 -04:00
Michael Rose 2a670aaf4d Merge branch 'release/3.3.1' 2016-07-11 14:15:33 -04:00
Michael Rose aa36c026a2 Update CHANGELOG and bump version to 3.3.1 2016-07-11 14:14:42 -04:00
Michael Rose 89a44dc057 Improve link posts in archive listings
- Remove `target="_blank"` anti-pattern
- If link post point title to source article
- Switch star icon to a link to indicate "permalink" and markup semantically with `rel="permalink"`
- Reduce opacity of permalink icon
- Adjust hover styles due to shuffling around <a> element
- Close #276
2016-07-11 13:02:59 -04:00
Michael Rose 6d31ffe4ab Indicate the relationship between component URLs in a paginated series
- Apply rel="prev" and rel="next" to pages that use site.paginator
- Ref ~> https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html
- Close #253
2016-07-11 11:56:09 -04:00
Michael Rose 54a8646901 Enable image popup on < 500px wide screens
- Close #385
2016-07-07 09:53:25 -04:00
Michael Rose cda165d5ea Update gems
- Update github-pages (86), ffi 1.9.13, jekyll-mentions 1.1.3, and rouge 1.11.1
2016-07-07 09:45:59 -04:00
Michael Rose 2317c1eecb Merge branch 'release/3.2.13' into develop 2016-07-01 12:58:56 -04:00
Michael Rose 4dca159fbf Merge branch 'release/3.2.13' 2016-07-01 12:58:52 -04:00
Michael Rose a4bd227927 Update CHANGELOG and bump version to 3.2.13 2016-07-01 12:58:36 -04:00
Michael Rose ea52f84fdf Merge branch 'feature/data-files' into develop 2016-06-27 15:55:27 -04:00
Michael Rose 4ea28fa4e6 Default locale to en 2016-06-27 11:02:44 -04:00
Michael Rose ac8e419062 Change navigation links to sample data 2016-06-27 10:22:37 -04:00
Michael Rose e536f049ce Add English default UI text for Canada, Great Britain, and Australia
- Close #377
2016-06-27 10:14:51 -04:00
Michael Rose 6a9e5eebc6 Merge branch 'release/3.2.12' into develop 2016-06-24 15:45:19 -04:00
Michael Rose b8076e1109 Merge branch 'release/3.2.12' 2016-06-24 15:45:14 -04:00
Michael Rose c259fe907b Update CHANGELOG and bump version to 3.2.12 2016-06-24 15:44:56 -04:00
Michael Rose c1fef02d44 Merge branch 'feature/author-override-check' into develop 2016-06-24 15:39:12 -04:00
Michael Rose 074d994fb5 Merge branch 'author-profile-update' of https://github.com/ZenHarbinger/minimal-mistakes into feature/author-override-check 2016-06-24 15:38:41 -04:00
Michael Rose 6a748cbcc1 Merge branch 'feature/sidebar-visibility-sticky-check' into develop 2016-06-24 15:32:39 -04:00
Michael Rose 1edc062f40 Merge branch 'follow-button-viz-update' of https://github.com/ZenHarbinger/minimal-mistakes into feature/sidebar-visibility-sticky-check 2016-06-24 15:30:43 -04:00
Matthew Aguirre c3e2272a6f Updated check for button vizability instead of window width. 2016-06-23 21:00:40 -04:00
Matthew Aguirre 301e325ec9 Updated author-profile.html in the event that there is no authors.yml file. 2016-06-23 20:59:02 -04:00
Michael Rose 15f34c83a1 Merge branch 'release/3.2.11' into develop 2016-06-23 10:13:41 -04:00
Michael Rose 356121e355 Merge branch 'release/3.2.11' 2016-06-23 10:13:36 -04:00
Michael Rose 50caefd8dd Update CHANGELOG and bump version to 3.2.11 2016-06-23 10:13:15 -04:00
Michael Rose 91ad41be87 Build CSS 2016-06-23 10:08:23 -04:00
Michael Rose 7840044799 Merge branch 'feature/update-dependencies' into develop 2016-06-23 10:06:27 -04:00
Michael Rose e86c60a042 Update Font Awesome to 4.6.3 2016-06-23 10:05:34 -04:00
Michael Rose f7c6ddf490 Update vendor JS and build
- Update jQuery to 1.12.4
- Update Stickyfill.js to 1.1.4
2016-06-23 09:59:34 -04:00
Michael Rose 9e1fad00cd Update gems
- Update github-pages, jekyll-github-metadata, kramdown gems
2016-06-23 09:53:10 -04:00
Michael Rose 9e7a663b51 Merge branch 'feature/fix-disappearing-menu' into develop 2016-06-23 09:50:45 -04:00
Michael Rose 4c1eac7407 Build JS
- Close #372
2016-06-23 09:47:51 -04:00
Michael Rose 099f612ce9 Merge branch 'master' of https://github.com/ZenHarbinger/minimal-mistakes into feature/fix-disappearing-menu 2016-06-23 09:42:06 -04:00
Matthew Aguirre 9bd96ec92f Fixed disappearing menu. 2016-06-22 18:59:16 -04:00
Michael Rose 8dbf7fc80e Merge branch 'hotfix/3.2.10' into develop 2016-06-21 14:51:54 -04:00
Michael Rose dbd1818cb9 Merge branch 'release/3.2.9' into develop 2016-06-13 12:27:26 -04:00
769 changed files with 28812 additions and 10167 deletions
+5 -4
View File
@@ -1,5 +1,6 @@
_assets/css/vendor/* linguist-vendored
_assets/js/plugins/* linguist-vendored
_assets/js/vendor/* linguist-vendored
assets/fonts/* linguist-vendored assets/fonts/* linguist-vendored
assets/js/vendor/* linguist-vendored assets/js/main.min.js linguist-vendored
assets/js/lunr/* linguist-vendored
assets/js/plugins/* linguist-vendored
assets/js/vendor/* linguist-vendored
_sass/minimal-mistakes/vendor/* linguist-vendored
+5 -1
View File
@@ -8,4 +8,8 @@ This goes for author sidebar links and "share button" additions -- I have no int
## Pull Requests ## Pull Requests
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. When submitting a pull request:
1. Clone the repo.
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`) and describe the feature or fix.
3. Open a pull request on GitHub.
+25 -12
View File
@@ -2,28 +2,31 @@
Before submitting please search open and closed issues at Before submitting please search open and closed issues at
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication. https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
Feel free to use the following as a template and remove or add fields as you see fit. You can convert `[ ]` into `[x]` to check boxes. Feel free to use the following as a template and remove or add fields as you
see fit. You can convert `[ ]` into `[x]` completed check boxes.
--> -->
- [ ] This is a question about using the theme. - [ ] This is a question about using the theme.
- [ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins. - [ ] This is a feature request or enhancement.
- [ ] This is a feature request. - [ ] I believe this to be a bug with the theme.
- [ ] I have updated all gems with `bundle update`. - [ ] I am using the latest version of the theme.
- [ ] I have tested locally with `bundle exec jekyll build`. - [ ] I have updated all gems with `bundle update`.
- [ ] I have tested locally with `bundle exec jekyll build`.
--- ---
## Environment informations ## Environment informations
<!-- <!--
Please include theme version, `github-pages --version`, and the operating system you are on or tested with. Please include theme version, Jekyll version, whether you are hosting with
GitHub Pages, and the operating system you are on or tested with.
--> -->
- **Minimal Mistakes version:** - **Minimal Mistakes version:**
- **`github-pages` or `jekyll` gem version:** - **Jekyll version:**
- **GitHub Pages hosted:** yes/no
- **Operating system:** - **Operating system:**
--- ---
## Expected behavior ## Expected behavior
@@ -35,11 +38,21 @@
## Steps to reproduce the behavior ## Steps to reproduce the behavior
<!-- <!--
Include a link to a public repository or ZIP file so that they can more easily be reproduced. Being able to see your actual files helps troubleshooting as most issues stem from missing YAML Front Matter, a mis-configured `_config.sys` file, or `_posts` content. Include a link to a public repository or ZIP file so that the behavior or bug
can easily be reproduced. Being able to see your actual files helps with
troubleshooting as most issues stem from invalid/missing YAML Front Matter, a
mis-configured _config.sys file, or problematic site content.
Describe the steps you took for this problem to exist. Such as you cloned the theme, customized `_config.yml`, added your own posts, and started up a Jekyll server locally. Describe the steps you took for this problem to exist. Such as: you cloned the
theme, customized _config.yml, added your own posts, and started up a Jekyll
server locally.
If an error occurred on GitHub Pages when pushing, please build locally and provide a complete log by running `bundle exec jekyll --trace --verbose` and including this output in the filed issue. If an error occurred on GitHub Pages when pushing, please test a local version
following these setup instructions:
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
and include this output in the filed issue.
Screenshots can also be included if they help illustrate a behavior. Screenshots can also be included if they help illustrate a behavior.
--> -->
+22
View File
@@ -0,0 +1,22 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- "Status: Accepted"
- "Status: Under Consideration"
- "Status: Review Needed"
# Label to use when marking an issue as stale
staleLabel: "Status: Stale"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: |
This issue has been automatically marked as stale because it has not had recent activity.
If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+4
View File
@@ -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*
+11
View File
@@ -0,0 +1,11 @@
language: ruby
cache: bundler
gemfile: docs/Gemfile
script:
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml
branches:
only:
# Change this to gh-pages if you're deploying using the gh-pages branch
- master
rvm:
- 2.4
+827 -127
View File
File diff suppressed because it is too large Load Diff
+1 -4
View File
@@ -1,5 +1,2 @@
source "https://rubygems.org" source "https://rubygems.org"
gemspec
gem "github-pages"
# gem "jekyll-archives"
gem "wdm", "~> 0.1.0" if Gem.win_platform?
-135
View File
@@ -1,135 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.6)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (0.1)
ethon (0.9.0)
ffi (>= 1.3.0)
execjs (2.7.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.10)
ffi (1.9.10-x64-mingw32)
gemoji (2.1.0)
github-pages (82)
github-pages-health-check (= 1.1.0)
jekyll (= 3.1.6)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 2.0.0)
jekyll-mentions (= 1.1.2)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.10.0)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 2.0.0)
jekyll-sitemap (= 0.10.0)
jemoji (= 0.6.2)
kramdown (= 1.10.0)
liquid (= 3.0.6)
listen (= 3.0.6)
mercenary (~> 0.3)
rouge (= 1.10.1)
terminal-table (~> 1.4)
github-pages-health-check (1.1.0)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (2.4.1)
activesupport (>= 2, < 5)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.1.6)
colorator (~> 0.1)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-feed (0.5.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-github-metadata (2.0.0)
jekyll (~> 3.1)
octokit (~> 4.0)
jekyll-mentions (1.1.2)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.10.0)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (2.0.0)
jekyll (~> 3.1)
jekyll-sitemap (0.10.0)
jekyll-watch (1.4.0)
listen (~> 3.0, < 3.1)
jemoji (0.6.2)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
json (1.8.3)
kramdown (1.10.0)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.1.0)
minitest (5.9.0)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
nokogiri (1.6.8-x64-mingw32)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
pkg-config (1.1.7)
public_suffix (1.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rouge (1.10.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
-21
View File
@@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2016 Michael Rose
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+63
View File
@@ -0,0 +1,63 @@
The MIT License (MIT)
Copyright (c) 2013-2018 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
creators Garrett Knoll, Arthur Shlain, and Tracy Tam.
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
Copyright (c) 2017 Dave Gandy.
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
and [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
Copyright (c) 2017, Miriam Eric Suzanne.
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
Copyright (c) 2013 Dave Rubert and Chris Coyier.
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
Magnific Popup is distributed under the terms of the MIT License.
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
Copyright (c) 2017 Karl Swedberg.
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
Copyright (c) 2015 Luke Jackson.
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
Copyright (c) 2017 Oliver Nightingale.
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
+157 -20
View File
@@ -1,28 +1,51 @@
# Minimal Mistakes Jekyll Theme # [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
[![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE.txt)
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.6-blue.svg)](https://jekyllrb.com/)
[![Ruby gem](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://rubygems.org/gems/minimal-mistakes-jekyll)
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
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:.
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
[![Minimal Mistakes live preview][2]][1] [![Minimal Mistakes live preview][2]][1]
[1]: https://mmistakes.github.io/minimal-mistakes/ [1]: https://mmistakes.github.io/minimal-mistakes/
[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. ![layout examples](screenshot-layouts.png)
![layout examples](images/mm-layout-examples.png) ## Notable Features
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/) - Bundled as a "theme gem" for easier install/upgrading.
- Compatible with GitHub Pages.
- Support for Jekyll's built-in Sass/SCSS preprocessor.
- Nine different skins (color variations).
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
- 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.
- 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 v1 and v2](https://staticman.net/), and custom).
- [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
### Notable Features ## Skins (Color Variations)
- Compatible with Jekyll 3.x and GitHub Pages This theme comes in nine different skins (including the default one).
- Several layout options (single, archive, splash pages)
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
#### Demo Pages | `air` | `contrast` | `dark` |
| --- | --- | --- |
| ![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png) | ![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png) | ![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png) |
| `dirt` | `mint` | `sunrise` |
| --- | --- | --- |
| ![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png) | ![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png) | ![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png) |
| `aqua` | `neon` | `plum` |
| --- | --- | --- |
| ![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png) | ![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png) | ![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png) |
## Demo Pages
| Name | Description | | Name | Description |
| ------------------------------------------- | ----------------------------------------------------- | | ------------------------------------------- | ----------------------------------------------------- |
@@ -32,9 +55,9 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. | | [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
| [Sample Collection Page][sample-collection] | Single page from a collection. | | [Sample Collection Page][sample-collection] | Single page from a collection. |
| [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 tag. |
For even more demo pages check the [posts archive][year-archive]. Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/ [header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/ [gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
@@ -45,6 +68,54 @@ 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/
## Installation
There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.
### Ruby Gem Method
1. Install the theme as a Ruby Gem by adding it to your `Gemfile` like so:
```ruby
gem "minimal-mistakes-jekyll"
```
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
```bash
bundle
```
3. Set the `theme` in your project's Jekyll `_config.yml` file:
```yaml
theme: minimal-mistakes-jekyll
```
To update the theme run `bundle update`.
### GitHub Pages Method
1. Create/replace the contents of your `Gemfile` with the following:
```ruby
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
```
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
```bash
bundle
```
3. Add `remote_theme: "mmistakes/minimal-mistakes"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
## Usage
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
--- ---
## Contributing ## Contributing
@@ -57,16 +128,36 @@ This goes for author sidebar links and "share button" additions -- I have no int
### Pull Requests ### Pull Requests
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. When submitting a pull request:
1. Clone the repo.
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`).
3. Open a pull request on GitHub and describe the feature or fix.
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 content in the `test/` directory. As modifications are made to the theme and test site, it will regenerate and you should see the changes in the browser after a refresh.
--- ---
## Credits ## Credits
### Creator
**Michael Rose**
- <https://mademistakes.com>
- <https://twitter.com/mmistakes>
- <https://github.com/mmistakes>
### Icons + Demo Images: ### Icons + Demo Images:
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam) - [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/) - [Font Awesome](http://fontawesome.io/)
- [Unsplash](https://unsplash.com/) - [Unsplash](https://unsplash.com/)
### Other: ### Other:
@@ -77,9 +168,9 @@ To help me out try to avoid creating pull requests on `master` and instead branc
- [Breakpoint](http://breakpoint-sass.com/) - [Breakpoint](http://breakpoint-sass.com/)
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/) - [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
- [FitVids.JS](http://fitvidsjs.com/) - [FitVids.JS](http://fitvidsjs.com/)
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV) - [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll) - [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
- [Stickyfill](https://github.com/wilddeer/stickyfill) - [Lunr](http://lunrjs.com)
--- ---
@@ -87,7 +178,7 @@ To help me out try to avoid creating pull requests on `master` and instead branc
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016 Michael Rose Copyright (c) 2013-2018 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@@ -106,3 +197,49 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
creators Garrett Knoll, Arthur Shlain, and tracy tam.
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
Copyright (c) 2017 Dave Gandy.
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
and [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
Copyright (c) 2017, Miriam Eric Suzanne.
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
Copyright (c) 2013 Dave Rubert and Chris Coyier.
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
Magnific Popup is distributed under the terms of the MIT License.
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
Copyright (c) 2017 Karl Swedberg.
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
Copyright (c) 2015 Luke Jackson.
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [@allejo's Pure Liquid Jekyll Table of Contents](https://allejo.io/blog/a-jekyll-toc-in-liquid-only/),
Copyright (c) 2017 Vladimir Jimenez.
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
Copyright (c) 2017 Oliver Nightingale.
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
+76
View File
@@ -0,0 +1,76 @@
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("_data"),
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
+76 -16
View File
@@ -5,6 +5,15 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use # For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process. # `jekyll serve`. If you change this file, please restart the server process.
# Theme Settings
#
# Review documentation to determine if you should use `theme` or `remote_theme`
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme
# theme : "minimal-mistakes-jekyll"
# remote_theme : "mmistakes/minimal-mistakes"
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
# Site Settings # Site Settings
locale : "en-US" locale : "en-US"
title : "Site Title" title : "Site Title"
@@ -13,12 +22,12 @@ name : "Your Name"
description : "An amazing website." description : "An amazing website."
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
baseurl : # the subpath of your site, e.g. "/blog" baseurl : # the subpath of your site, e.g. "/blog"
gh_repo : repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
# breadcrumbs : false # true, false (default) # breadcrumbs : false # true, false (default)
words_per_minute : 200 words_per_minute : 200
comments: comments:
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", custom" provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "staticman_v2" "custom"
disqus: disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse: discourse:
@@ -28,12 +37,41 @@ comments:
appid : appid :
num_posts : # 5 (default) num_posts : # 5 (default)
colorscheme : # "light" (default), "dark" colorscheme : # "light" (default), "dark"
staticman:
allowedFields : # ['name', 'email', 'url', 'message']
branch : # "master"
commitMessage : # "New comment."
filename : # comment-{@timestamp}
format : # "yml"
moderation : # true
path : # "/_data/comments/{options.slug}" (default)
requiredFields : # ['name', 'email', 'message']
transforms:
email : # "md5"
generatedFields:
date:
type : # "date"
options:
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
reCaptcha:
siteKey :
secret :
atom_feed:
path : # blank (default) uses feed.xml
search : # true, false (default)
search_full_content : # true, false (default)
search_provider : # lunr (default), algolia
algolia:
application_id : # YOUR_APPLICATION_ID
index_name : # YOUR_INDEX_NAME
search_only_api_key : # YOUR_SEARCH_ONLY_API_KEY
powered_by : # true (default), false
# SEO Related # SEO Related
google_site_verification : google_site_verification :
bing_site_verification : bing_site_verification :
alexa_site_verification :
yandex_site_verification : yandex_site_verification :
naver_site_verification :
# Social Sharing # Social Sharing
twitter: twitter:
@@ -56,19 +94,16 @@ analytics:
google: google:
tracking_id : tracking_id :
# Google AdSense
google_ad_client :
google_ad_slot :
# Site Author # Site Author
author: author:
name : "Your Name" name : "Your Name"
avatar : "bio-photo.jpg" avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
bio : "I am an amazing person." bio : "I am an amazing person."
location : "Somewhere" location : "Somewhere"
email : email :
uri : uri :
home : # null (default), "absolute or relative url to link to author home"
bitbucket : bitbucket :
codepen : codepen :
dribbble : dribbble :
@@ -76,21 +111,22 @@ author:
facebook : facebook :
foursquare : foursquare :
github : github :
gitlab :
google_plus : google_plus :
keybase : keybase :
instagram : instagram :
lastfm : lastfm :
linkedin : linkedin : # "john-doe-12345678" (the last part of your profile url, e.g. https://www.linkedin.com/in/john-doe-12345678)
pinterest : pinterest :
soundcloud : soundcloud :
stackoverflow : # http://stackoverflow.com/users/123456/username stackoverflow : # "123456/username" (the last part of your profile url, e.g. https://stackoverflow.com/users/123456/username)
steam : steam : # "steamId" (the last part of your profile url, e.g. https://steamcommunity.com/id/steamId/)
tumblr : tumblr :
twitter : twitter :
vine : vine :
weibo : weibo :
xing : xing :
youtube : youtube : # "https://youtube.com/c/MichaelRoseDesign"
# Reading Files # Reading Files
@@ -100,6 +136,7 @@ include:
exclude: exclude:
- "*.sublime-project" - "*.sublime-project"
- "*.sublime-workspace" - "*.sublime-workspace"
- vendor
- .asset-cache - .asset-cache
- .bundle - .bundle
- .jekyll-assets-cache - .jekyll-assets-cache
@@ -120,6 +157,8 @@ exclude:
- Rakefile - Rakefile
- README - README
- tmp - tmp
- /docs # ignore Minimal Mistakes /docs
- /test # ignore Minimal Mistakes /test
keep_files: keep_files:
- .git - .git
- .svn - .svn
@@ -147,15 +186,21 @@ kramdown:
enable_coderay: false enable_coderay: false
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting # Outputting
permalink: /:categories/:title/ permalink: /:categories/:title/
paginate: 5 # amount of posts to show paginate: 5 # amount of posts to show
paginate_path: /page:num/ paginate_path: /page:num/
timezone: # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Plugins # Plugins (previously gems:)
gems: plugins:
- jekyll-paginate - jekyll-paginate
- jekyll-sitemap - jekyll-sitemap
- jekyll-gist - jekyll-gist
@@ -206,3 +251,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
+9 -13
View File
@@ -1,16 +1,12 @@
# main links links # main links
main: main:
- title: "Quick-Start Guide" - title: "Quick-Start Guide"
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/ url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
# - title: "About"
- title: "About" # url: https://mmistakes.github.io/minimal-mistakes/about/
url: https://mmistakes.github.io/minimal-mistakes/ # - title: "Sample Posts"
# url: /year-archive/
- title: "Sample Posts" # - title: "Sample Collections"
url: https://mmistakes.github.io/minimal-mistakes/year-archive/ # url: /collection-archive/
# - title: "Sitemap"
- title: "Sample Pages" # url: /sitemap/
url: https://mmistakes.github.io/minimal-mistakes/page-archive/
- title: "Sample Collections"
url: https://mmistakes.github.io/minimal-mistakes/collection-archive/
+959 -75
View File
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.analytics.google.tracking_id }}');
</script>
@@ -2,8 +2,8 @@
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto'); ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script>
+3 -1
View File
@@ -1,10 +1,12 @@
{% if site.analytics.provider and page.analytics != false %} {% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
{% case site.analytics.provider %} {% case site.analytics.provider %}
{% when "google" %} {% when "google" %}
{% include /analytics-providers/google.html %} {% include /analytics-providers/google.html %}
{% when "google-universal" %} {% when "google-universal" %}
{% include /analytics-providers/google-universal.html %} {% include /analytics-providers/google-universal.html %}
{% when "google-gtag" %}
{% include /analytics-providers/google-gtag.html %}
{% when "custom" %} {% when "custom" %}
{% include /analytics-providers/custom.html %} {% include /analytics-providers/custom.html %}
{% endcase %} {% endcase %}
+30 -26
View File
@@ -1,34 +1,38 @@
{% include base_path %}
{% if post.header.teaser %} {% if post.header.teaser %}
{% capture teaser %}{{ post.header.teaser }}{% endcapture %} {% capture teaser %}{{ post.header.teaser }}{% endcapture %}
{% else %} {% else %}
{% capture teaser %}{{ site.teaser }}{% endcapture %} {% assign teaser = site.teaser %}
{% endif %}
{% if post.id %}
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
{% else %}
{% assign title = post.title %}
{% endif %} {% endif %}
<div class="{{ include.type | default: "list" }}__item"> <div class="{{ include.type | default: "list" }}__item">
{% if post.link %} <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
<a href="{{ post.link }}" target="_blank"> {% if include.type == "grid" and teaser %}
{% else %} <div class="archive__item-teaser">
<a href="{{ base_path }}{{ post.url }}"> <img src=
{% endif %} {% if teaser contains "://" %}
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork"> "{{ teaser }}"
{% if include.type == "grid" and teaser != blank %} {% else %}
<div class="archive__item-teaser"> "{{ teaser | relative_url }}"
<img src= {% endif %}
{% if teaser contains "://" %} alt="">
"{{ teaser }}" </div>
{% else %} {% endif %}
"{{ teaser | prepend: "/images/" | prepend: base_path }}" <h2 class="archive__item-title" itemprop="headline">
{% endif %} {% if post.link %}
alt=""> <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
</div> {% else %}
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
{% endif %} {% endif %}
<h2 class="archive__item-title" itemprop="headline">{% if post.id %}{{ post.title | markdownify | remove: "<p>" | remove: "</p>" }}{% else %}{{ post.title }}{% endif %}{% if post.link %}<i class="fa fa-star" aria-hidden="true"></i>{% endif %}</h2> </h2>
{% if post.read_time %} {% if post.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %} {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article> </article>
</a>
</div> </div>
@@ -0,0 +1,7 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
-->
+201 -40
View File
@@ -1,102 +1,263 @@
{% include base_path %} {% assign author = page.author | default: page.authors[0] | default: site.author %}
{% assign author = site.data.authors[author] | default: author %}
{% if page.author %}
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
{% endif %}
<div itemscope itemtype="http://schema.org/Person"> <div itemscope itemtype="http://schema.org/Person">
<div class="author__avatar"> {% if author.avatar %}
{% if author.avatar contains "://" %} <div class="author__avatar">
<img src="{{ author.avatar }}" alt="{{ author.name }}"> {% if author.avatar contains "://" %}
{% assign author_src = author.avatar %}
{% else %}
{% assign author_src = author.avatar | relative_url %}
{% endif %}
{% if author.home %}
{% if author.home contains "://" %}
{% assign author_link = author.home %}
{% else %}
{% assign author_link = author.home | relative_url %}
{% endif %}
<a href="{{ author_link }}">
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
</a>
{% else %}
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
{% endif %}
</div>
{% endif %}
<div class="author__content">
{% if author.home %}
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
{% else %} {% else %}
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}"> <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% endif %}
{% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
</p>
{% endif %} {% endif %}
</div> </div>
<div class="author__content">
<h3 class="author__name">{{ author.name }}</h3>
{% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %}
</div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">Follow</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
</li>
{% endif %} {% endif %}
{% if author.uri %} {% if author.uri %}
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label }}</a></li> <li>
<a href="{{ author.uri }}" itemprop="url">
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a>
</li>
{% endif %} {% endif %}
{% if author.email %} {% if author.email %}
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label }}</a></li> <li>
<a href="mailto:{{ author.email }}">
<meta itemprop="email" content="{{ author.email }}" />
<i class="fas 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="fas 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="fab 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="fab 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="fab 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="fab fa-fw fa-linkedin" 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="fab 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="fab 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="fab 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="fab 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="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
</a>
</li>
{% endif %} {% endif %}
{% if author.gitlab %}
<li>
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
</a>
</li>
{% 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="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
</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="fab 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="fab 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="fab 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="fab 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="fab fa-fw fa-steam" 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="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
</a>
</li>
{% else author.youtube %}
<li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fab fa-fw fa-youtube" 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="fab 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="fab 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="fab 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="fab 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="fab 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>
+5 -1
View File
@@ -1 +1,5 @@
{% capture base_path %}{{ site.url }}{{ site.baseurl }}{% endcapture %} {% if site.url %}
{% assign base_path = site.url | append: site.baseurl %}
{% else %}
{% assign base_path = site.github.url %}
{% endif %}
+7 -9
View File
@@ -1,6 +1,4 @@
{% include base_path %} {% case site.category_archive.type %}
{% case site.categories.type %}
{% when "liquid" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
{% when "jekyll-archives" %} {% when "jekyll-archives" %}
@@ -11,7 +9,7 @@
{% assign path_type = nil %} {% assign path_type = nil %}
{% assign crumb_path = '/' %} {% assign crumb_path = '/' %}
{% else %} {% else %}
{% assign crumb_path = site.categories.path %} {% assign crumb_path = site.category_archive.path %}
{% endif %} {% endif %}
<nav class="breadcrumbs"> <nav class="breadcrumbs">
@@ -21,21 +19,21 @@
{% for crumb in crumbs offset: 1 %} {% for crumb in crumbs offset: 1 %}
{% if forloop.first %} {% if forloop.first %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="{{ base_path }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label }}</span></a> <a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
<meta itemprop="position" content="{{ i }}" /> <meta itemprop="position" content="{{ i }}" />
</li> </li>
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator }}</span> <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
{% endif %} {% endif %}
{% if forloop.last %} {% if forloop.last %}
<li class="current">{{ page.title }}</li> <li class="current">{{ page.title }}</li>
{% else %} {% else %}
{% assign i = i | plus: 1 %} {% assign i = i | plus: 1 %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="{{ base_path }}{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a> <a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
<meta itemprop="position" content="{{ i }}" /> <meta itemprop="position" content="{{ i }}" />
</li> </li>
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator }}</span> <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ol> </ol>
</nav> </nav>
+2 -2
View File
@@ -1,3 +1,3 @@
<!--[if lt IE 9]> <!--[if lt IE 9]>
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div> <div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
<![endif]--> <![endif]-->
+3 -7
View File
@@ -1,7 +1,3 @@
{% include base_path %}
{% include base_path %}
{% case site.category_archive.type %} {% case site.category_archive.type %}
{% when "liquid" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
@@ -15,15 +11,15 @@
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ --> <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %} {% endcomment %}
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign category_hashes = (page_categories | split: ',' | sort:0) %} {% assign category_hashes = page_categories | split: ',' | sort %}
<p class="page__taxonomy"> <p class="page__taxonomy">
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label }} </strong> <strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
<span itemprop="keywords"> <span itemprop="keywords">
{% for hash in category_hashes %} {% for hash in category_hashes %}
{% assign keyValue = hash | split: '#' %} {% assign keyValue = hash | split: '#' %}
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ base_path }}{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %} <a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %} {% endfor %}
</span> </span>
</p> </p>
+22
View File
@@ -0,0 +1,22 @@
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
</div>
<div class="comment__content-wrapper">
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
{% unless include.url == blank %}
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
{% else %}
<span itemprop="name">{{ include.name }}</span>
{% endunless %}
</h3>
<p class="comment__date">
{% if include.date %}
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
{% if include.index %}</a>{% endif %}
{% endif %}
</p>
<div itemprop="text">{{ include.message | markdownify }}</div>
</div>
</article>
+3 -4
View File
@@ -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 %}
+13 -20
View File
@@ -1,22 +1,15 @@
{% if site.comments.disqus.shortname %} {% if site.comments.disqus.shortname %}
<script type="text/javascript"> <script>
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_config = function () {
var disqus_shortname = '{{ site.comments.disqus.shortname }}'; this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
/* * * DON'T EDIT BELOW THIS LINE * * */ };
(function() { (function() { // DON'T EDIT BELOW THIS LINE
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; var d = document, s = d.createElement('script');
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); s.setAttribute('data-timestamp', +new Date());
})(); (d.head || d.body).appendChild(s);
})();
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script> </script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %} {% endif %}
+14 -12
View File
@@ -1,16 +1,18 @@
{% if site.comments.provider and page.comments %} {% if site.comments.provider and page.comments %}
{% case site.comments.provider %} {% case site.comments.provider %}
{% when "disqus" %} {% when "disqus" %}
{% include /comments-providers/disqus.html %} {% include /comments-providers/disqus.html %}
{% when "discourse" %} {% when "discourse" %}
{% include /comments-providers/discourse.html %} {% include /comments-providers/discourse.html %}
{% when "facebook" %} {% when "facebook" %}
{% include /comments-providers/facebook.html %} {% include /comments-providers/facebook.html %}
{% when "google-plus" %} {% when "google-plus" %}
{% include /comments-providers/google-plus.html %} {% include /comments-providers/google-plus.html %}
{% when "custom" %} {% when "staticman" %}
{% include /comments-providers/custom.html %} {% include /comments-providers/staticman.html %}
{% when "staticman_v2" %}
{% include /comments-providers/staticman_v2.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% endcase %} {% endcase %}
{% endif %} {% endif %}
@@ -0,0 +1,42 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');
$('#new_comment').submit(function () {
var form = this;
$(form).addClass('disabled');
$('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
contentType: 'application/x-www-form-urlencoded',
success: function (data) {
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
$('.page__comments-form .js-notice').removeClass('notice--danger');
$('.page__comments-form .js-notice').addClass('notice--success');
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
},
error: function (err) {
console.log(err);
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
$('.page__comments-form .js-notice').removeClass('notice--success');
$('.page__comments-form .js-notice').addClass('notice--danger');
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
$(form).removeClass('disabled');
}
});
return false;
});
function showAlert(message) {
$('.page__comments-form .js-notice').removeClass('hidden');
$('.page__comments-form .js-notice-text').html(message);
}
})(jQuery);
</script>
{% endif %}
@@ -0,0 +1,42 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');
$('#new_comment').submit(function () {
var form = this;
$(form).addClass('disabled');
$('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
contentType: 'application/x-www-form-urlencoded',
success: function (data) {
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
$('.page__comments-form .js-notice').removeClass('notice--danger');
$('.page__comments-form .js-notice').addClass('notice--success');
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
},
error: function (err) {
console.log(err);
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
$('.page__comments-form .js-notice').removeClass('notice--success');
$('.page__comments-form .js-notice').addClass('notice--danger');
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
$(form).removeClass('disabled');
}
});
return false;
});
function showAlert(message) {
$('.page__comments-form .js-notice').removeClass('hidden');
$('.page__comments-form .js-notice-text').html(message);
}
})(jQuery);
</script>
{% endif %}
+165 -11
View File
@@ -1,15 +1,169 @@
{% include base_path %}
<div class="page__comments"> <div class="page__comments">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label }}</h4> {% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
{% case site.comments.provider %} {% case site.comments.provider %}
{% when "disqus" %} {% when "discourse" %}
<section id="disqus_thread"></section> <h4 class="page__comments-title">{{ comments_label }}</h4>
{% when "facebook" %} <section id="discourse-comments"></section>
<section class="fb-comments" data-href="{{ base_path }}{{ page.url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section> {% when "disqus" %}
{% when "google-plus" %} <h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section> <section id="disqus_thread"></section>
{% when "custom" %} {% when "facebook" %}
<section id="comments"></section> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
{% when "google-plus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="g-comments" class="g-comments">Loading Google+ Comments ...</section>
<script>
function initComment() {
gapi.comments.render("g-comments", {
href: "{{ page.url | absolute_url }}",
width: "624",
first_party_property: "BLOGGER",
view_type: "FILTERED_POSTMOD"
})
}
</script>
<script async type="text/javascript" src="https://apis.google.com/js/plusone.js" onload="initComment()" />
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>-->
{% when "staticman_v2" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% for comment in comments %}
{% assign email = comment[1].email %}
{% assign name = comment[1].name %}
{% assign url = comment[1].url %}
{% assign date = comment[1].date %}
{% assign message = comment[1].message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %}
{% endif %}
</div>
<!-- End static comments -->
<!-- Start new comment form -->
<div class="page__comments-form">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v2/entry/{{ site.repository }}/{{ site.staticman.branch }}/comments">
<div class="form__spinner">
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
</div>
<div class="form-group">
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
</div>
<div class="form-group">
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
</div>
<div class="form-group">
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
</div>
<div class="form-group">
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
</div>
<div class="form-group hidden" style="display: none;">
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.reCaptcha.siteKey }}">
<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.reCaptcha.secret }}">
</div>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<div class="form-group">
<div class="g-recaptcha" data-sitekey="{{ site.reCaptcha.siteKey }}"></div>
</div>
<div class="form-group">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
</div>
</form>
</div>
<!-- End new comment form -->
{% if site.reCaptcha.siteKey %}<script async src="https://www.google.com/recaptcha/api.js"></script>{% endif %}
{% endif %}
</section>
{% when "staticman" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% for comment in comments %}
{% assign email = comment[1].email %}
{% assign name = comment[1].name %}
{% assign url = comment[1].url %}
{% assign date = comment[1].date %}
{% assign message = comment[1].message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %}
{% endif %}
</div>
<!-- End static comments -->
<!-- Start new comment form -->
<div class="page__comments-form">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
<div class="form__spinner">
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
</div>
<div class="form-group">
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
</div>
<div class="form-group">
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
</div>
<div class="form-group">
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
</div>
<div class="form-group">
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
</div>
<div class="form-group hidden" style="display: none;">
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
</div>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<div class="form-group">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
</div>
</form>
</div>
<!-- End new comment form -->
{% endif %}
</section>
{% when "custom" %}
<section id="custom-comments"></section>
{% endcase %} {% endcase %}
</div> </div>
+19
View File
@@ -0,0 +1,19 @@
{% assign entries = site[include.collection] %}
{% if include.sort_by == 'title' %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | sort: 'title' | reverse %}
{% else %}
{% assign entries = entries | sort: 'title' %}
{% endif %}
{% elsif include.sort_by == 'date' %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | sort: 'date' | reverse %}
{% else %}
{% assign entries = entries | sort: 'date' %}
{% endif %}
{% endif %}
{%- for post in entries -%}
{% include archive-single.html %}
{%- endfor -%}
+4 -6
View File
@@ -1,7 +1,5 @@
{% include base_path %}
{% if include.id %} {% if include.id %}
{% assign feature_row = page.[include.id] %} {% assign feature_row = page[include.id] %}
{% else %} {% else %}
{% assign feature_row = page.feature_row %} {% assign feature_row = page.feature_row %}
{% endif %} {% endif %}
@@ -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 | relative_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 | relative_url }}"
{% endif %} {% endif %}
alt="{% if f.alt %}{{ f.alt }}{% endif %}"> alt="{% if f.alt %}{{ f.alt }}{% endif %}">
</div> </div>
@@ -42,7 +40,7 @@
{% endif %} {% endif %}
{% if f.url %} {% if f.url %}
<p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label }}</a></p> <p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
{% endif %} {% endif %}
</div> </div>
</div> </div>
+12
View File
@@ -0,0 +1,12 @@
<figure class="{{ include.class }}">
<img src=
{% if include.image_path contains "://" %}
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | relative_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
+9 -8
View File
@@ -1,24 +1,25 @@
{% 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 %}
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li> <li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
{% endif %} {% endif %}
{% if site.twitter.username %} {% if site.twitter.username %}
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
{% endif %} {% endif %}
{% if site.facebook.username %} {% if site.facebook.username %}
<li><a href="https://facebook.com/{{ site.facebook.username }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li> <li><a href="https://www.facebook.com/{{ site.facebook.username }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
{% endif %} {% endif %}
{% if site.author.github %} {% if site.author.github %}
<li><a href="http://github.com/{{ site.author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li> <li><a href="https://github.com/{{ site.author.github }}"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
{% endif %}
{% if site.author.gitlab %}
<li><a href="https://gitlab.com/{{ site.author.gitlab }}"><i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab</a></li>
{% endif %} {% endif %}
{% 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="https://bitbucket.org/{{ site.author.bitbucket }}"><i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
{% endif %} {% endif %}
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li> <li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
</ul> </ul>
</div> </div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div> <div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
+6 -10
View File
@@ -1,16 +1,12 @@
{% include base_path %}
{% if include.id %} {% if include.id %}
{% assign gallery = page.[include.id] %} {% assign gallery = page[include.id] %}
{% else %} {% else %}
{% assign gallery = page.gallery %} {% assign gallery = page.gallery %}
{% endif %} {% endif %}
{% capture gallery_size %}{{ gallery | size }}{% endcapture %} {% if gallery.size == 2 %}
{% if gallery_size == '2' %}
{% assign gallery_layout = 'half' %} {% assign gallery_layout = 'half' %}
{% elsif gallery_size >= '3' %} {% elsif gallery.size >= 3 %}
{% assign gallery_layout = 'third' %} {% assign gallery_layout = 'third' %}
{% else %} {% else %}
{% assign gallery_layout = '' %} {% assign gallery_layout = '' %}
@@ -23,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 | relative_url }}"
{% endif %} {% endif %}
{% if img.title %}title="{{ img.title }}"{% endif %} {% if img.title %}title="{{ img.title }}"{% endif %}
> >
@@ -31,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 | relative_url }}"
{% endif %} {% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}"> alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a> </a>
@@ -40,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 | relative_url }}"
{% endif %} {% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}"> alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %} {% endif %}
+1 -1
View File
@@ -18,7 +18,7 @@
<!-- Uniq --> <!-- Uniq -->
{% assign __names = __names | sort %} {% assign __names = __names | sort %}
{% for name in __names | sort %} {% for name in __names %}
<!-- If not equal to previous then it must be unique as sorted --> <!-- If not equal to previous then it must be unique as sorted -->
{% unless name == previous %} {% unless name == previous %}
+27 -5
View File
@@ -1,10 +1,8 @@
{% include base_path %}
<meta charset="utf-8"> <meta charset="utf-8">
{% include seo.html %} {% include seo.html %}
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_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,30 @@
</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' | relative_url }}">
<meta http-equiv="cleartype" content="on"> <!--[if lte IE 9]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
padding-right: 3em;
}
.greedy-nav button {
position: absolute;
top: 0;
right: 0;
height: 100%;
}
</style>
<![endif]-->
{% if site.head_scripts %}
{% for script in site.head_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
{% endif %}
+2 -2
View File
@@ -1,5 +1,5 @@
<!-- start custom head snippets --> <!-- start custom head snippets -->
<!-- insert favicons. use http://realfavicongenerator.net/ --> <!-- insert favicons. use https://realfavicongenerator.net/ -->
<!-- end custom head snippets --> <!-- end custom head snippets -->
+17 -7
View File
@@ -1,21 +1,31 @@
{% 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> <a class="site-title" href="{{ '/' | relative_url }}">{{ site.title }}</a>
<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>
{% 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 }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% if site.search == true %}
<button class="search__toggle" type="button">
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
</svg>
</button>
{% endif %}
<button class="greedy-nav__toggle hidden" type="button">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
<div class="navicon"></div>
</button>
<ul class="hidden-links hidden"></ul> <ul class="hidden-links hidden"></ul>
</nav> </nav>
</div> </div>
+13 -12
View File
@@ -1,20 +1,21 @@
{% 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 nav_url = nav.url %}
{% else %} {% else %}
{% assign domain = base_path %} {% assign nav_url = nav.url | relative_url %}
{% endif %} {% endif %}
<a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a> <a href="{{ nav_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% else %} {% else %}
<span class="nav__sub-title">{{ nav.title }}</span> <span class="nav__sub-title">{{ nav.title }}</span>
{% endif %} {% endif %}
@@ -22,21 +23,21 @@
{% 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 child_url = child.url %}
{% else %} {% else %}
{% assign domain = base_path %} {% assign child_url = child.url | relative_url %}
{% 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 %}
{% assign active = "" %} {% assign active = "" %}
{% endif %} {% endif %}
<li><a href="{{ domain }}{{ child.url }}" class="{{ active }}">{{ child.title }}</a></li> <li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
+18 -12
View File
@@ -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 | relative_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 | relative_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 | relative_url }}{% endcapture %}
{% endif %} {% endif %}
{% if page.header.overlay_filter contains "rgba" %} {% if page.header.overlay_filter contains "rgba" %}
@@ -24,32 +22,40 @@
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %} {% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
{% endif %} {% endif %}
{% if page.header.image_description %}
{% assign image_description = page.header.image_description %}
{% else %}
{% assign image_description = page.title %}
{% endif %}
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}" <div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}" style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
> >
{% if page.header.overlay_color or page.header.overlay_image %} {% if page.header.overlay_color or page.header.overlay_image %}
<div class="wrapper"> <div class="wrapper">
<h1 class="page__title" itemprop="headline"> <h1 class="page__title" itemprop="headline">
{% if paginator %} {% if paginator and site.paginate_show_page_num %}
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %} {{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
{% else %} {% else %}
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }} {{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
{% endif %} {% endif %}
</h1> </h1>
{% if page.excerpt %} {% if page.header.show_overlay_excerpt != false and page.excerpt %}
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p> <p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% endif %} {% endif %}
{% if site.read_time and page.read_time %} {% if site.read_time and page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
{% if page.header.cta_url %} {% if page.header.cta_url %}
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label }}</a></p> <p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
{% endif %} {% endif %}
</div> </div>
{% else %} {% else %}
<img src="{{ img_path }}" alt="{{ page.title }}" class="page__hero-image"> <img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
{% endif %} {% endif %}
{% if page.header.caption %} {% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span> <span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %} {% endif %}
</div> </div>
+4
View File
@@ -0,0 +1,4 @@
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
{% include video id=video_id provider=video_provider %}
-2
View File
@@ -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 %}
+11 -12
View File
@@ -1,24 +1,23 @@
{% include base_path %}
{% if paginator.total_pages > 1 %} {% if paginator.total_pages > 1 %}
<nav class="pagination"> <nav class="pagination">
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
<ul> <ul>
{% comment %} Link for previous page {% endcomment %} {% comment %} Link for previous page {% endcomment %}
{% if paginator.previous_page %} {% if paginator.previous_page %}
{% if paginator.previous_page == 1 %} {% if paginator.previous_page == 1 %}
<li><a href="{{ base_path }}/">{{ site.data.ui-text[site.locale].pagination_previous }}</a></li> <li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
{% else %} {% else %}
<li><a href="{{ base_path }}/page{{ paginator.previous_page }}/">{{ site.data.ui-text[site.locale].pagination_previous }}</a></li> <li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
{% endif %} {% endif %}
{% else %} {% else %}
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous }}</span></a></li> <li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
{% endif %} {% endif %}
{% comment %} First page {% endcomment %} {% comment %} First page {% endcomment %}
{% if paginator.page == 1 %} {% if paginator.page == 1 %}
<li><a href="#" class="disabled current">1</a></li> <li><a href="#" class="disabled current">1</a></li>
{% else %} {% else %}
<li><a href="{{ base_path }}/">1</a></li> <li><a href="{{ first_page_path }}">1</a></li>
{% endif %} {% endif %}
{% assign page_start = 2 %} {% assign page_start = 2 %}
@@ -36,7 +35,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="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" 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 +43,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="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
@@ -56,15 +55,15 @@
{% 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="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
{% endif %} {% endif %}
{% comment %} Link next page {% endcomment %} {% comment %} Link next page {% endcomment %}
{% if paginator.next_page %} {% if paginator.next_page %}
<li><a href="{{ base_path }}/page{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next }}</a></li> <li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
{% else %} {% else %}
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next }}</span></a></li> <li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
{% endif %} {% endif %}
</ul> </ul>
</nav> </nav>
{% endif %} {% endif %}
+4 -6
View File
@@ -1,16 +1,14 @@
{% include base_path %}
{% if page.previous or page.next %} {% if page.previous or page.next %}
<nav class="pagination"> <nav class="pagination">
{% if page.previous %} {% if page.previous %}
<a href="{{ base_path }}{{ page.previous.url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous }}</a> <a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
{% else %} {% else %}
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous }}</a> <a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
{% endif %} {% endif %}
{% if page.next %} {% if page.next %}
<a href="{{ base_path }}{{ page.next.url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next }}</a> <a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
{% else %} {% else %}
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next }}</a> <a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
{% endif %} {% endif %}
</nav> </nav>
{% endif %} {% endif %}
+3
View File
@@ -0,0 +1,3 @@
{%- for post in site.categories[include.taxonomy] -%}
{% include archive-single.html %}
{%- endfor -%}
+3
View File
@@ -0,0 +1,3 @@
{%- for post in site.tags[include.taxonomy] -%}
{% include archive-single.html %}
{%- endfor -%}
+7 -9
View File
@@ -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 }} 1 {{ site.data.ui-text[site.locale].minute_read }} {% elsif words == words_per_minute %}
{% elsif words < 360 %} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
1 {{ site.data.ui-text[site.locale].minute_read }}
{% else %}
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read }}
{% endif %}
{% else %} {% else %}
{{ site.data.ui-text[site.locale].undefined_wpm }} {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %} {% endif %}
+23 -1
View File
@@ -1,4 +1,26 @@
<script src="{{ base_path }}/assets/js/main.min.js"></script> {% if site.footer_scripts %}
{% for script in site.footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
{% else %}
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
<script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
{% endif %}
{% if site.search == true or page.layout == "search" %}
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
{% include search/lunr-search-scripts.html %}
{%- when "algolia" -%}
{% include search/algolia-search-scripts.html %}
{%- endcase -%}
{% endif %}
{% include analytics.html %} {% include analytics.html %}
{% include /comments-providers/scripts.html %} {% include /comments-providers/scripts.html %}
@@ -0,0 +1,54 @@
<!-- Including InstantSearch.js library and styling -->
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css">
<script>
// Instanciating InstantSearch.js with Algolia credentials
const search = instantsearch({
appId: '{{ site.algolia.application_id }}',
apiKey: '{{ site.algolia.search_only_api_key }}',
indexName: '{{ site.algolia.index_name }}',
searchParameters: {
restrictSearchableAttributes: [
'title',
'content'
]
}
});
const hitTemplate = function(hit) {
const url = hit.url;
const title = hit._highlightResult.title.value;
const content = hit._highlightResult.html.value;
return `
<div class="list__item">
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
<div class="archive__item-excerpt" itemprop="description">${content}</div>
</article>
</div>
`;
}
// Adding searchbar and results widgets
search.addWidget(
instantsearch.widgets.searchBox({
container: '.search-searchbar',
{% unless site.algolia.powered_by == false %}poweredBy: true,{% endunless %}
placeholder: '{{ site.data.ui-text[site.locale].search_placeholder_text | default: "Enter your search term..." }}'
})
);
search.addWidget(
instantsearch.widgets.hits({
container: '.search-hits',
templates: {
item: hitTemplate
}
})
);
// Starting the search
search.start();
</script>
+10
View File
@@ -0,0 +1,10 @@
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
{% case lang %}
{% when "gr" %}
{% assign lang = "gr" %}
{% else %}
{% assign lang = "en" %}
{% endcase %}
<script src="{{ '/assets/js/lunr/lunr.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/lunr/lunr-store.js' | relative_url }}"></script>
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | relative_url }}"></script>
+11
View File
@@ -0,0 +1,11 @@
<div class="search-content__inner-wrap">
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<div id="results" class="results"></div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div>
+97 -69
View File
@@ -1,78 +1,111 @@
{% include base_path %} <!-- begin _includes/seo.html -->
{%- if site.url -%}
{%- assign seo_url = site.url | append: site.baseurl -%}
{%- endif -%}
{%- assign seo_url = seo_url | default: site.github.url -%}
<!-- begin SEO --> {% if site.title_separator %}
{% if site.url %} {% assign title_separator = site.title_separator | default: '-' | replace: '|', '&#124;' %}
{% assign seo_url = site.url | append: site.baseurl %}
{% endif %}
{% assign seo_url = seo_url | default: site.github.url %}
{% if page.title %}
{% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
{% endif %} {% endif %}
{% if seo_title %} {%- if page.title -%}
{% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %} {%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
{%- endif -%}
{%- if seo_title -%}
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{%- if seo_description -%}
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
{%- assign author = site.data.authors[author] | default: author -%}
{%- if author.twitter -%}
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
{%- unless page_large_image contains '://' -%}
{%- assign page_large_image = page_large_image | absolute_url -%}
{%- endunless -%}
{%- assign page_large_image = page_large_image | escape -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
{%- unless page_teaser_image contains '://' -%}
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
{%- endunless -%}
{%- assign page_teaser_image = page_teaser_image | escape -%}
{%- assign site_og_image = site.og_image -%}
{%- unless site_og_image contains '://' -%}
{%- assign site_og_image = site_og_image | absolute_url -%}
{%- endunless -%}
{%- assign site_og_image = site_og_image | escape -%}
{%- if page.date -%}
{%- assign og_type = "article" -%}
{%- else -%}
{%- assign og_type = "website" -%}
{%- endif -%}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
<meta name="description" content="{{ seo_description }}">
{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
{% endif %} {% endif %}
{% if site.url %} <meta property="og:type" content="{{ og_type }}">
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %} <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
{% endif %}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}{% endif %}</title>
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
{% if seo_description %}
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
{% endif %}
{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %}
{% if seo_author %}
{% if seo_author.twitter %}
{% assign seo_author_twitter = seo_author.twitter %}
{% else %}
{% if site.data.authors and site.data.authors[seo_author] %}
{% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
{% else %}
{% assign seo_author_twitter = seo_author %}
{% endif %}
{% endif %}
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
{% endif %}
<meta property="og:locale" content="{{ site.locale }}">
<meta property="og:site_name" content="{{ site.title }}"> <meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}"> <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta property="og:url" content="{{ canonical_url }}">
{% if seo_url %}
<link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
<meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
{% endif %}
{% if page.excerpt %} {% if page.excerpt %}
<meta property="og:description" content="{{ seo_description }}"> <meta property="og:description" content="{{ seo_description }}">
{% endif %} {% endif %}
{% if page_large_image %}
<meta property="og:image" content="{{ page_large_image }}">
{% elsif page_teaser_image %}
<meta property="og:image" content="{{ page_teaser_image }}">
{% endif %}
{% if site.twitter.username %} {% if site.twitter.username %}
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}"> <meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}"> <meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta name="twitter:description" content="{{ seo_description }}"> <meta name="twitter:description" content="{{ seo_description }}">
<meta name="twitter:url" content="{{ canonical_url }}"> <meta name="twitter:url" content="{{ canonical_url }}">
{% if page.header.image %} {% if page_large_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="{{ page_large_image }}">
{% else %} {% else %}
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
{% if site.og_image %} {% if page_teaser_image %}
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}"> <meta name="twitter:image" content="{{ page_teaser_image }}">
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if seo_author_twitter %} {% if author_twitter %}
<meta name="twitter:creator" content="@{{ seo_author_twitter }}"> <meta name="twitter:creator" content="@{{ author_twitter }}">
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
{% if og_type == "article" and page.last_modified_at %}
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
{% endif %}
{% if site.facebook %} {% if site.facebook %}
{% if site.facebook.publisher %} {% if site.facebook.publisher %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}"> <meta property="article:publisher" content="{{ site.facebook.publisher }}">
@@ -83,21 +116,13 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if page.header.image %} <link rel="canonical" href="{{ canonical_url }}">
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% elsif page.header.overlay_image %}
<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 %}">
{% endif %}
{% if page.date %} {% if paginator.previous_page %}
<meta property="og:type" content="article"> <link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}"> {% endif %}
{% if page.next.url %} {% if paginator.next_page %}
<link rel="next" href="{{ page.next.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.next.title | escape }}"> <link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
{% endif %}
{% if page.previous.url %}
<link rel="prev" href="{{ page.previous.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.previous.title | escape }}">
{% endif %}
{% endif %} {% endif %}
{% if site.og_image %} {% if site.og_image %}
@@ -106,7 +131,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 | jsonify }}
} }
</script> </script>
{% endif %} {% endif %}
@@ -114,11 +139,11 @@
{% if site.social %} {% if site.social %}
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context" : "http://schema.org", "@context": "http://schema.org",
"@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}", "@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
"name" : "{{ site.social.name | default: site.name }}", "name": {{ site.social.name | default: site.name | jsonify }},
"url" : {{ seo_url | jsonify }}, "url": {{ seo_url | jsonify }},
"sameAs" : {{ site.social.links | jsonify }} "sameAs": {{ site.social.links | jsonify }}
} }
</script> </script>
{% endif %} {% endif %}
@@ -135,4 +160,7 @@
{% if site.yandex_site_verification %} {% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}"> <meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %} {% endif %}
<!-- end SEO --> {% if site.naver-site-verification %}
<meta name="naver-site-verification" content="{{ site.naver-site-verification }}">
{% endif %}
<!-- end _includes/seo.html -->
+1 -3
View File
@@ -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 | relative_url }}"
{% endif %} {% endif %}
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}"> alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
{% endif %} {% endif %}
+6 -8
View File
@@ -1,15 +1,13 @@
{% include base_path %}
<section class="page__share"> <section class="page__share">
{% if site.data.ui-text[site.locale].share_on_label %} {% if site.data.ui-text[site.locale].share_on_label %}
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label }}</h4> <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
{% endif %} {% endif %}
<a href="https://twitter.com/intent/tweet?text={{ base_path }}{{ page.url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a> <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ base_path }}{{ page.url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a> <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://plus.google.com/share?url={{ base_path }}{{ page.url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a> <a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ base_path }}{{ page.url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a> <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section> </section>
+3 -5
View File
@@ -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 = "#" %}
@@ -13,15 +11,15 @@
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ --> <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %} {% endcomment %}
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %} {% assign tag_hashes = page_tags | split: ',' | sort %}
<p class="page__taxonomy"> <p class="page__taxonomy">
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label }} </strong> <strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
<span itemprop="keywords"> <span itemprop="keywords">
{% for hash in tag_hashes %} {% for hash in tag_hashes %}
{% assign keyValue = hash | split: '#' %} {% assign keyValue = hash | split: '#' %}
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ base_path }}{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %} <a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %} {% endfor %}
</span> </span>
</p> </p>
+1 -1
View File
@@ -1,6 +1,6 @@
<aside class="sidebar__right"> <aside class="sidebar__right">
<nav class="toc" markdown="1"> <nav class="toc" markdown="1">
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header> <header><h4 class="nav__title"><i class="fas fa-{{ include.icon | default: 'file-alt' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
* Auto generated table of contents * Auto generated table of contents
{:toc .toc__menu} {:toc .toc__menu}
</nav> </nav>
+75
View File
@@ -0,0 +1,75 @@
{% capture tocWorkspace %}
{%- comment -%}
Version 1.0.2
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
Usage:
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
Output:
An unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
{%- endcomment -%}
{% capture my_toc %}{% endcapture %}
{% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %}
{% assign nodes = include.html | split: '<h' %}
{% assign firstHeader = true %}
{% for node in nodes %}
{% if node == "" %}
{% continue %}
{% endif %}
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
{% if headerLevel < minHeader or headerLevel > maxHeader %}
{% continue %}
{% endif %}
{% if firstHeader %}
{% assign firstHeader = false %}
{% assign minHeader = headerLevel %}
{% endif %}
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
{% assign _workspace = node | split: '</h' %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %}
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
{% assign space = '' %}
{% for i in (1..indentAmount) %}
{% assign space = space | prepend: ' ' %}
{% endfor %}
{% capture my_toc %}{{ my_toc }}
{{ space }}- [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}](#{{ html_id }}){% endcapture %}
{% endfor %}
{% if include.class %}
{% capture my_toc %}{:.{{ include.class }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% if include.id %}
{% capture my_toc %}{: #{{ include.id }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
+11
View File
@@ -0,0 +1,11 @@
{% capture video_id %}{{ include.id }}{% endcapture %}
{% capture video_provider %}{{ include.provider }}{% endcapture %}
<!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container">
{% if video_provider == "vimeo" %}
<iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
{% elsif video_provider == "youtube" %}
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div>
-1
View File
@@ -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 %}
+4 -2
View File
@@ -2,8 +2,10 @@
layout: default layout: default
--- ---
{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
@@ -17,7 +19,7 @@ layout: default
<div class="archive"> <div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %} {% unless page.header.overlay_color or page.header.overlay_image %}
<h1 class="page__title">{{ page.title }}</h1> <h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %} {% endunless %}
{{ content }} {{ content }}
</div> </div>
+48
View File
@@ -0,0 +1,48 @@
---
layout: archive
---
{{ content }}
<ul class="taxonomy__index">
{% assign categories_max = 0 %}
{% for category in site.categories %}
{% if category[1].size > categories_max %}
{% assign categories_max = category[1].size %}
{% endif %}
{% endfor %}
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<li>
<a href="#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
{% assign categories_max = 0 %}
{% for category in site.categories %}
{% if category[1].size > categories_max %}
{% assign categories_max = category[1].size %}
{% endif %}
{% endfor %}
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ category[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in category.last %}
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endif %}
{% endfor %}
{% endfor %}
+9
View File
@@ -0,0 +1,9 @@
---
layout: archive
---
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include posts-category.html taxonomy=page.taxonomy type=page.entries_layout %}
</div>
+9
View File
@@ -0,0 +1,9 @@
---
layout: archive
---
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=page.entries_layout %}
</div>
+1 -1
View File
@@ -7,4 +7,4 @@
--- ---
{% capture _LINE_FEED %} {% capture _LINE_FEED %}
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %} {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
+18 -7
View File
@@ -1,22 +1,33 @@
--- ---
layout: compress
--- ---
{% include base_path %}
<!doctype html> <!doctype html>
<html lang="{{ site.locale | slice: 0,2 }}" class="no-js"> <!--
Minimal Mistakes Jekyll Theme 4.11.1 by Michael Rose
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
-->
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<head> <head>
{% include head.html %} {% include head.html %}
{% include head/custom.html %} {% include head/custom.html %}
</head> </head>
<body> <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
{% include browser-upgrade.html %} {% include browser-upgrade.html %}
{% include masthead.html %} {% include masthead.html %}
{{ content }} <div class="initial-content">
{{ content }}
</div>
{% if site.search == true %}
<div class="search-content">
{% include search/search_form.html %}
</div>
{% endif %}
<div class="page__footer"> <div class="page__footer">
<footer> <footer>
@@ -28,4 +39,4 @@ layout: compress
{% include scripts.html %} {% include scripts.html %}
</body> </body>
</html> </html>
+11
View File
@@ -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 %}
+29
View File
@@ -0,0 +1,29 @@
---
layout: archive
---
{{ content }}
<ul class="taxonomy__index">
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsInYear %}
<li>
<a href="#{{ year.name }}">
<strong>{{ year.name }}</strong> <span class="taxonomy__count">{{ year.items | size }}</span>
</a>
</li>
{% endfor %}
</ul>
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsByYear %}
<section id="{{ year.name }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ year.name }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in year.items %}
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endfor %}
+35
View File
@@ -0,0 +1,35 @@
---
layout: default
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
{% endif %}
<div id="main" role="main">
{% include sidebar.html %}
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
{{ content }}
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<div id="results" class="results"></div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div>
</div>
+31 -15
View File
@@ -2,10 +2,10 @@
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 %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
@@ -21,21 +21,29 @@ layout: default
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %} {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %} {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
<div class="page__inner-wrap"> <div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %} {% unless page.header.overlay_color or page.header.overlay_image %}
<header> <header>
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %} {% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %} {% if page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
</header> </header>
{% endunless %} {% endunless %}
<section class="page__content" itemprop="text"> <section class="page__content" itemprop="text">
{% if page.toc %}
<aside class="sidebar__right">
<nav class="toc">
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
</nav>
</aside>
{% endif %}
{{ content }} {{ content }}
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label }}</a></div>{% endif %} {% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
</section> </section>
<footer class="page__meta"> <footer class="page__meta">
@@ -43,10 +51,10 @@ layout: default
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4> <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %} {% endif %}
{% include page__taxonomy.html %} {% include page__taxonomy.html %}
{% if page.modified %} {% if page.last_modified_at %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p> <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
{% elsif page.date %} {% elsif page.date %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p> <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
{% endif %} {% endif %}
</footer> </footer>
@@ -55,22 +63,30 @@ layout: default
{% include post_pagination.html %} {% include post_pagination.html %}
</div> </div>
{% if site.comments.provider and page.comments %} {% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %} {% include comments.html %}
{% endif %} {% endif %}
</article> </article>
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %} {% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %} {% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related"> <div class="page__related">
{% if site.data.ui-text[site.locale].related_label %} <h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label }}</h4>
{% endif %}
<div class="grid__wrapper"> <div class="grid__wrapper">
{% for post in site.related_posts limit:4 %} {% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %} {% include archive-single.html type="grid" %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
{% elsif page.id and page.related %}
<div class="page__related">
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
<div class="grid__wrapper">
{% for post in site.posts limit:4 %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
{% endif %} {% endif %}
</div> </div>
+4 -4
View File
@@ -2,10 +2,10 @@
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 %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
<div id="main" role="main"> <div id="main" role="main">
@@ -13,7 +13,7 @@ layout: default
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %} {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %} {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
<section class="page__content" itemprop="text"> <section class="page__content" itemprop="text">
{{ content }} {{ content }}
+9
View File
@@ -0,0 +1,9 @@
---
layout: archive
---
{{ content }}
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% include posts-tag.html taxonomy=page.taxonomy type=page.entries_layout %}
</div>
+48
View File
@@ -0,0 +1,48 @@
---
layout: archive
---
{{ content }}
<ul class="taxonomy__index">
{% assign tags_max = 0 %}
{% for tag in site.tags %}
{% if tag[1].size > tags_max %}
{% assign tags_max = tag[1].size %}
{% endif %}
{% endfor %}
{% for i in (1..tags_max) reversed %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
<li>
<a href="#{{ tag[0] | slugify }}">
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
{% assign tags_max = 0 %}
{% for tag in site.tags %}
{% if tag[1].size > tags_max %}
{% assign tags_max = tag[1].size %}
{% endif %}
{% endfor %}
{% for i in (1..tags_max) reversed %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in tag.last %}
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endif %}
{% endfor %}
{% endfor %}
+40
View File
@@ -0,0 +1,40 @@
/*!
* Minimal Mistakes Jekyll Theme 4.11.1 by Michael Rose
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
*/
/* Variables */
@import "minimal-mistakes/variables";
/* Mixins and functions */
@import "minimal-mistakes/vendor/breakpoint/breakpoint";
@include breakpoint-set("to ems", true);
@import "minimal-mistakes/vendor/magnific-popup/magnific-popup"; // Magnific Popup
@import "minimal-mistakes/vendor/susy/susy";
@import "minimal-mistakes/mixins";
/* Core CSS */
@import "minimal-mistakes/reset";
@import "minimal-mistakes/base";
@import "minimal-mistakes/forms";
@import "minimal-mistakes/tables";
@import "minimal-mistakes/animations";
/* Components */
@import "minimal-mistakes/buttons";
@import "minimal-mistakes/notices";
@import "minimal-mistakes/masthead";
@import "minimal-mistakes/navigation";
@import "minimal-mistakes/footer";
@import "minimal-mistakes/search";
@import "minimal-mistakes/syntax";
/* Utility classes */
@import "minimal-mistakes/utilities";
/* Layout specific */
@import "minimal-mistakes/page";
@import "minimal-mistakes/archive";
@import "minimal-mistakes/sidebar";
@import "minimal-mistakes/print";
@@ -2,6 +2,15 @@
ANIMATIONS ANIMATIONS
========================================================================== */ ========================================================================== */
@-webkit-keyframes intro {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes intro { @keyframes intro {
0% { 0% {
opacity: 0; opacity: 0;
@@ -5,18 +5,15 @@
.archive { .archive {
margin-bottom: 2em; margin-bottom: 2em;
@include breakpoint($medium) {
@include span(12 of 12);
}
@include breakpoint($large) { @include breakpoint($large) {
@include span(10 of 12 last); float: right;
@include prefix(0.5 of 12); width: calc(100% - #{$right-sidebar-width-narrow});
padding-right: $right-sidebar-width-narrow;
} }
a { @include breakpoint($x-large) {
color: inherit; width: calc(100% - #{$right-sidebar-width});
text-decoration: none; padding-right: $right-sidebar-width;
} }
} }
@@ -24,7 +21,7 @@
margin: 1.414em 0 0; margin: 1.414em 0 0;
padding-bottom: 0.5em; padding-bottom: 0.5em;
font-size: $type-size-5; font-size: $type-size-5;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
+ .list__item .archive__item-title { + .list__item .archive__item-title {
@@ -35,11 +32,21 @@
.archive__item-title { .archive__item-title {
margin-bottom: 0.25em; margin-bottom: 0.25em;
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
line-height: initial;
overflow: hidden;
text-overflow: ellipsis;
a {
color: inherit;
}
a + a {
opacity: 0.5;
}
} }
// remove border /* remove border*/
.page__content { .page__content {
.archive__item-title { .archive__item-title {
margin-top: 1em; margin-top: 1em;
border-bottom: none; border-bottom: none;
@@ -63,49 +70,85 @@
} }
} }
a:hover {
.archive__item-teaser {
box-shadow: 0 0 10px rgba(#000, 0.25);
}
.archive__item-title {
text-decoration: underline;
}
}
/* /*
List view List view
========================================================================== */ ========================================================================== */
.list__item { .list__item {
@include breakpoint($medium) {
padding-right: $right-sidebar-width-narrow;
}
@include breakpoint($large) {
padding-right: $right-sidebar-width;
}
@include breakpoint($x-large) {
padding-right: $right-sidebar-width-wide;
}
.page__meta { .page__meta {
margin: 0 0 4px; margin: 0 0 4px;
font-size: 0.6em;
} }
} }
/* /*
Grid view Grid view
========================================================================== */ ========================================================================== */
.archive {
.grid__wrapper {
/* extend grid elements to the right */
@include breakpoint($large) {
margin-right: -1 * $right-sidebar-width-narrow;
}
@include breakpoint($x-large) {
margin-right: -1 * $right-sidebar-width;
}
}
}
.grid__item { .grid__item {
margin-bottom: 2em; margin-bottom: 2em;
@include breakpoint($small) {
float: left;
width: span(5 of 10);
&:nth-child(2n + 1) {
clear: both;
margin-left: 0;
}
&:nth-child(2n + 2) {
clear: none;
margin-left: gutter(of 10);
}
}
@include breakpoint($medium) {
margin-left: 0; /* override margin*/
margin-right: 0; /* override margin*/
width: span(3 of 12);
&:nth-child(2n + 1) {
clear: none;
}
&:nth-child(4n + 1) {
clear: both;
}
&:nth-child(4n + 2) {
clear: none;
margin-left: gutter(1 of 12);
}
&:nth-child(4n + 3) {
clear: none;
margin-left: gutter(1 of 12);
}
&:nth-child(4n + 4) {
clear: none;
margin-left: gutter(1 of 12);
}
}
.page__meta { .page__meta {
margin: 0 0 4px; margin: 0 0 4px;
font-size: 0.6em;
} }
.archive__item-title { .archive__item-title {
@@ -115,31 +158,23 @@ a:hover {
.archive__item-excerpt { .archive__item-excerpt {
display: none; display: none;
}
@include breakpoint($small) { @include breakpoint($medium) {
@include gallery(5 of 10);
.archive__item-teaser {
max-height: 200px;
}
}
@include breakpoint($medium) {
margin-left: 0; // reset before mixin does its thing
margin-right: 0; // reset before mixin does its thing
@include gallery(2.5 of 10);
.archive__item-teaser {
max-height: 120px;
}
.archive__item-excerpt {
display: block; display: block;
font-size: $type-size-6; font-size: $type-size-6;
} }
} }
}
.archive__item-teaser {
@include breakpoint($small) {
max-height: 200px;
}
@include breakpoint($medium) {
max-height: 120px;
}
}
}
/* /*
Features Features
@@ -156,8 +191,24 @@ a:hover {
font-size: 1.25rem; font-size: 1.25rem;
@include breakpoint($small) { @include breakpoint($small) {
float: left;
margin-bottom: 0; margin-bottom: 0;
@include gallery(4 of 12); width: span(4 of 12);
&:nth-child(3n + 1) {
clear: both;
margin-left: 0;
}
&:nth-child(3n + 2) {
clear: none;
margin-left: gutter(of 12);
}
&:nth-child(3n + 3) {
clear: none;
margin-left: gutter(of 12);
}
.feature__item-teaser { .feature__item-teaser {
max-height: 200px; max-height: 200px;
@@ -166,7 +217,11 @@ a:hover {
} }
&--left { &--left {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem; font-size: 1.25rem;
.archive__item-teaser { .archive__item-teaser {
@@ -175,19 +230,25 @@ a:hover {
@include breakpoint($small) { @include breakpoint($small) {
.archive__item-teaser { .archive__item-teaser {
@include span(5 of 12); float: left;
width: span(5 of 12);
} }
.archive__item-body { .archive__item-body {
@include span(7 of 12 last); float: right;
@include prefix(0.5 of 12); padding-left: gutter(0.5 of 12);
@include suffix(1 of 12); padding-right: gutter(1 of 12);
width: span(7 of 12);
} }
} }
} }
&--right { &--right {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem; font-size: 1.25rem;
.archive__item-teaser { .archive__item-teaser {
@@ -198,19 +259,25 @@ a:hover {
text-align: right; text-align: right;
.archive__item-teaser { .archive__item-teaser {
@include span(5 of 12 rtl); float: right;
width: span(5 of 12);
} }
.archive__item-body { .archive__item-body {
@include span(7 of 12 last rtl); float: right;
@include prefix(0.5 of 12); width: span(7 of 12);
@include suffix(1 of 12); padding-left: gutter(0.5 of 12);
padding-right: gutter(1 of 12);
} }
} }
} }
&--center { &--center {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem; font-size: 1.25rem;
.archive__item-teaser { .archive__item-teaser {
@@ -232,3 +299,37 @@ a:hover {
} }
} }
} }
/* Place inside an archive layout */
.archive {
.feature__wrapper {
.archive__item-title {
margin-top: 0.25em;
font-size: 1em;
}
}
.feature__item,
.feature__item--left,
.feature__item--center,
.feature__item--right {
font-size: 1em;
}
}
/*
Wide Pages
========================================================================== */
.wide {
.archive {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
}
@@ -2,6 +2,12 @@
BASE ELEMENTS BASE ELEMENTS
========================================================================== */ ========================================================================== */
html {
/* sticky footer fix */
position: relative;
min-height: 100%;
}
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -15,7 +21,12 @@ body {
} }
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
margin: 2em 0 0.5em; margin: 2em 0 0.5em;
line-height: 1.2; line-height: 1.2;
font-family: $header-font-family; font-family: $header-font-family;
@@ -47,7 +58,8 @@ h6 {
font-size: $type-size-6; font-size: $type-size-6;
} }
small, .small { small,
.small {
font-size: $type-size-6; font-size: $type-size-6;
} }
@@ -70,7 +82,15 @@ del a {
/* reduce orphans and widows when printing */ /* reduce orphans and widows when printing */
p, pre, blockquote, ul, ol, dl, figure, table, fieldset { p,
pre,
blockquote,
ul,
ol,
dl,
figure,
table,
fieldset {
orphans: 3; orphans: 3;
widows: 3; widows: 3;
} }
@@ -112,18 +132,33 @@ a {
&:hover, &:hover,
&:active { &:active {
color: $link-color-hover;
outline: 0; outline: 0;
} }
&:visited {
color: $link-color-visited;
}
}
/* buttons */
button:focus {
@extend %tab-focus;
} }
/* code */ /* code */
tt, code, kbd, samp, pre { tt,
code,
kbd,
samp,
pre {
font-family: $monospace; font-family: $monospace;
} }
pre { pre {
overflow-x: auto; // add scrollbars to wide code blocks overflow-x: auto; /* add scrollbars to wide code blocks*/
} }
p > code, p > code,
@@ -135,13 +170,12 @@ td > code {
padding-bottom: 0.1rem; padding-bottom: 0.1rem;
font-size: $type-size-6; font-size: $type-size-6;
background: $code-background-color; background: $code-background-color;
border: 1px solid $lighter-gray;
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: $box-shadow;
&:before, &:after { &:before,
&:after {
letter-spacing: -0.2em; letter-spacing: -0.2em;
content: "\00a0"; // non-breaking space content: "\00a0"; /* non-breaking space*/
} }
} }
@@ -173,8 +207,11 @@ li ol {
/* Figures and images */ /* Figures and images */
figure { figure {
display: -webkit-box;
display: flex; display: flex;
-webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start; align-items: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
margin: 2em 0; margin: 2em 0;
@@ -188,6 +225,7 @@ figure {
img { img {
width: 100%; width: 100%;
border-radius: $border-radius; border-radius: $border-radius;
-webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
} }
@@ -226,31 +264,26 @@ figure {
figcaption { figcaption {
margin-bottom: 0.5em; margin-bottom: 0.5em;
color: mix(#fff, $text-color, 25%); color: $muted-text-color;
font-family: $caption-font-family; font-family: $caption-font-family;
font-size: $type-size-6; font-size: $type-size-6;
a { a {
color: inherit; -webkit-transition: $global-transition;
text-decoration: none;
border-bottom: 1px solid $light-gray;
transition: $global-transition; transition: $global-transition;
&:hover { &:hover {
color: #000; color: $link-color-hover;
border-bottom-color: #000;
} }
} }
} }
/* Fix IE9 SVG bug */ /* Fix IE9 SVG bug */
svg:not(:root) { svg:not(:root) {
overflow: hidden; overflow: hidden;
} }
/* /*
Navigation lists Navigation lists
========================================================================== */ ========================================================================== */
@@ -298,6 +331,28 @@ nav {
Global animation transition Global animation transition
========================================================================== */ ========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser { b,
i,
strong,
em,
blockquote,
p,
q,
span,
figure,
img,
h1,
h2,
header,
input,
a,
tr,
td,
form button,
input[type="submit"],
.btn,
.highlight,
.archive__item-teaser {
-webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
} }
+98
View File
@@ -0,0 +1,98 @@
/* ==========================================================================
BUTTONS
========================================================================== */
/*
Default button
========================================================================== */
.btn {
/* default */
display: inline-block;
margin-bottom: 0.25em;
padding: 0.5em 1em;
font-family: $sans-serif;
font-size: $type-size-6;
font-weight: bold;
text-align: center;
text-decoration: none;
border-width: 0;
border-radius: $border-radius;
cursor: pointer;
.icon {
margin-right: 0.5em;
}
.icon + .hidden {
margin-left: -0.5em; /* override for hidden text*/
}
/* button colors */
$buttoncolors:
(primary, $primary-color),
(inverse, #fff),
(light-outline, transparent),
(success, $success-color),
(warning, $warning-color),
(danger, $danger-color),
(info, $info-color),
(facebook, $facebook-color),
(twitter, $twitter-color),
(google-plus, $google-plus-color),
(linkedin, $linkedin-color);
@each $buttoncolor, $color in $buttoncolors {
&--#{$buttoncolor} {
@include yiq-contrasted($color);
@if ($buttoncolor == inverse) {
border: 1px solid $border-color;
}
@if ($buttoncolor == light-outline) {
border: 1px solid #fff;
}
&:hover {
@include yiq-contrasted(mix(#000, $color, 20%));
}
&:visited {
@include yiq-contrasted($color);
}
}
}
/* fills width of parent container */
&--block {
display: block;
width: 100%;
+ .btn--block {
margin-top: 0.25em;
}
}
/* disabled */
&--disabled {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
/* extra large button */
&--x-large {
font-size: $type-size-4;
}
/* large button */
&--large {
font-size: $type-size-5;
}
/* small button */
&--small {
font-size: $type-size-7;
}
}
@@ -3,19 +3,31 @@
========================================================================== */ ========================================================================== */
.page__footer { .page__footer {
@include full();
@include clearfix; @include clearfix;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
/* sticky footer fix start */
position: absolute;
bottom: 0;
height: auto;
/* sticky footer fix end */
margin-top: 3em; margin-top: 3em;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.45s;
animation-delay: 0.45s; animation-delay: 0.45s;
background-color: $lighter-gray; background-color: $footer-background-color;
border-top: 1px solid $light-gray;
footer { footer {
@include container;
@include clearfix; @include clearfix;
margin-left: auto;
margin-right: auto;
margin-top: 2em; margin-top: 2em;
max-width: 100%;
padding: 0 1em 2em; padding: 0 1em 2em;
@include breakpoint($x-large) { @include breakpoint($x-large) {
@@ -32,8 +44,11 @@
} }
} }
.fa { .fas,
color: mix(#fff, $gray, 25%); .fab,
.far,
.fal {
color: $muted-text-color;
} }
} }
@@ -43,7 +58,6 @@
} }
.page__footer-follow { .page__footer-follow {
ul { ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -68,4 +82,4 @@
padding-right: 10px; padding-right: 10px;
font-weight: bold; font-weight: bold;
} }
} }
@@ -2,8 +2,10 @@
Forms Forms
========================================================================== */ ========================================================================== */
btnform { form {
margin: 0 0 5px 0; margin: 0 0 5px 0;
padding: 1em;
background-color: $form-background-color;
fieldset { fieldset {
margin-bottom: 5px; margin-bottom: 5px;
@@ -19,7 +21,6 @@ btnform {
padding: 0; padding: 0;
color: $text-color; color: $text-color;
border: 0; border: 0;
border-bottom: 1px solid mix(#fff, #000, 80%);
white-space: normal; white-space: normal;
} }
@@ -51,17 +52,20 @@ input,
button, button,
select, select,
textarea { textarea {
font-family: $sans-serif;
box-sizing: border-box; box-sizing: border-box;
font-family: $sans-serif;
} }
label { label {
display: block; display: block;
margin-bottom: 10px / 8; margin-bottom: 0.25em;
font-weight: bold;
color: $text-color; color: $text-color;
cursor: pointer; cursor: pointer;
small {
font-size: $type-size-6;
}
input, input,
textarea, textarea,
select { select {
@@ -74,15 +78,13 @@ textarea,
select { select {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
padding: 4px; padding: 0.25em;
margin-bottom: 5px / 4; margin-bottom: 0.5em;
background-color: #fff;
border: 1px solid mix(#fff, #000, 80%);
color: $text-color; color: $text-color;
background-color: $background-color;
&:hover { border: $border-color;
border-color: mix(#fff, $primary-color, 50%); border-radius: $border-radius;
} box-shadow: $box-shadow;
} }
.input-mini { .input-mini {
@@ -165,6 +167,10 @@ input[type="hidden"] {
display: none; display: none;
} }
.form {
position: relative;
}
.radio, .radio,
.checkbox { .checkbox {
padding-left: 18px; padding-left: 18px;
@@ -190,10 +196,9 @@ input[type="hidden"] {
margin-left: 10px; margin-left: 10px;
} }
/* /*
Disabled state Disabled state
========================================================================== */ ========================================================================== */
input[disabled], input[disabled],
select[disabled], select[disabled],
@@ -205,16 +210,17 @@ textarea[readonly] {
cursor: not-allowed; cursor: not-allowed;
} }
/* /*
Focus & active state Focus & active state
========================================================================== */ ========================================================================== */
input:focus, input:focus,
textarea:focus { textarea:focus {
border-color: $primary-color; border-color: $primary-color;
outline: 0; outline: 0;
outline: thin dotted \9; outline: thin dotted \9;
box-shadow: inset 0 1px 3px rgba($text-color, 0.06),
0 0 5px rgba($primary-color, 0.7);
} }
input[type="file"]:focus, input[type="file"]:focus,
@@ -224,14 +230,13 @@ select:focus {
box-shadow: none; box-shadow: none;
} }
/* /*
Help text Help text
========================================================================== */ ========================================================================== */
.help-block, .help-block,
.help-inline { .help-inline {
color: $info-color; color: $muted-text-color;
} }
.help-block { .help-block {
@@ -246,10 +251,19 @@ select:focus {
padding-left: 5px; padding-left: 5px;
} }
/*
.form-group
========================================================================== */
.form-group {
margin-bottom: 5px;
padding: 0;
border-width: 0;
}
/* /*
.form-inline .form-inline
========================================================================== */ ========================================================================== */
.form-inline input, .form-inline input,
.form-inline textarea, .form-inline textarea,
@@ -274,12 +288,12 @@ select:focus {
.form-inline .checkbox input[type="checkbox"] { .form-inline .checkbox input[type="checkbox"] {
float: left; float: left;
margin-left: 0; margin-left: 0;
margin-right: 3px; } margin-right: 3px;
}
/* /*
.form-search .form-search
========================================================================== */ ========================================================================== */
.form-search input, .form-search input,
.form-search textarea, .form-search textarea,
@@ -314,10 +328,39 @@ select:focus {
margin-right: 3px; margin-right: 3px;
} }
/*
.form--loading
========================================================================== */
.form--loading:before {
content: "";
}
.form--loading .form__spinner {
display: block;
}
.form:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7);
z-index: 10;
}
.form__spinner {
display: none;
position: absolute;
top: 50%;
left: 50%;
z-index: 11;
}
/* /*
Google search form Google search form
========================================================================== */ ========================================================================== */
#goog-fixurl { #goog-fixurl {
ul { ul {
@@ -341,10 +384,10 @@ select:focus {
color: #000; color: #000;
border-width: 2px !important; border-width: 2px !important;
border-style: solid !important; border-style: solid !important;
border-color: lighten(#000,50); border-color: $border-color;
border-radius: $border-radius; border-radius: $border-radius;
} }
#goog-wm-sb { #goog-wm-sb {
@extend .btn; @extend .btn;
} }
@@ -5,14 +5,22 @@
.masthead { .masthead {
position: relative; position: relative;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s; animation-delay: 0.15s;
z-index: 20; z-index: 20;
&__inner-wrap { &__inner-wrap {
@include container;
@include clearfix; @include clearfix;
padding: 1em 1em 1em; margin-left: auto;
margin-right: auto;
padding: 1em;
max-width: 100%;
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
@include breakpoint($x-large) { @include breakpoint($x-large) {
@@ -29,7 +37,31 @@
} }
} }
.site-title {
display: -webkit-box;
display: flex;
padding: 0.5rem 0;
align-self: stretch;
-webkit-box-align: center;
align-items: center;
font-weight: bold;
z-index: 20;
}
.masthead__menu { .masthead__menu {
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
.site-nav {
margin-left: 0;
@include breakpoint($small) {
float: right;
}
}
ul { ul {
margin: 0; margin: 0;
@@ -48,4 +80,4 @@
padding-right: 2em; padding-right: 2em;
font-weight: 700; font-weight: 700;
} }
} }
+92
View File
@@ -0,0 +1,92 @@
/* ==========================================================================
MIXINS
========================================================================== */
%tab-focus {
/* Default*/
outline: thin dotted $warning-color;
/* Webkit*/
outline: 5px auto $warning-color;
outline-offset: -2px;
}
/*
em function
========================================================================== */
@function em($target, $context: $doc-font-size) {
@return ($target / $context) * 1em;
}
/*
Bourbon clearfix
========================================================================== */
/*
* Provides an easy way to include a clearfix for containing floats.
* link http://cssmojo.com/latest_new_clearfix_so_far/
*
* example scss - Usage
*
* .element {
* @include clearfix;
* }
*
* example css - CSS Output
*
* .element::after {
* clear: both;
* content: "";
* display: table;
* }
*/
@mixin clearfix {
clear: both;
&::after {
clear: both;
content: "";
display: table;
}
}
/*
Compass YIQ Color Contrast
https://github.com/easy-designs/yiq-color-contrast
========================================================================== */
@function yiq-is-light(
$color,
$threshold: $yiq-contrasted-threshold
) {
$red: red($color);
$green: green($color);
$blue: blue($color);
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
@if $yiq-debug { @debug $yiq, $threshold; }
@return if($yiq >= $threshold, true, false);
}
@function yiq-contrast-color(
$color,
$dark: $yiq-contrasted-dark-default,
$light: $yiq-contrasted-light-default,
$threshold: $yiq-contrasted-threshold
) {
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
}
@mixin yiq-contrasted(
$background-color,
$dark: $yiq-contrasted-dark-default,
$light: $yiq-contrasted-light-default,
$threshold: $yiq-contrasted-threshold
) {
background-color: $background-color;
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
}
@@ -7,15 +7,16 @@
========================================================================== */ ========================================================================== */
.breadcrumbs { .breadcrumbs {
@include container;
@include clearfix; @include clearfix;
margin-top: 0; margin: 0 auto;
margin-bottom: 0; max-width: 100%;
padding-left: 2em; padding-left: 2em;
padding-right: 2em; padding-right: 2em;
font-family: $sans-serif; font-family: $sans-serif;
animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation-delay: 0.30s; animation: $intro-transition;
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
@include breakpoint($large) { @include breakpoint($large) {
padding-left: 1em; padding-left: 1em;
@@ -32,11 +33,12 @@
font-size: $type-size-6; font-size: $type-size-6;
@include breakpoint($large) { @include breakpoint($large) {
@include span(10 of 12 last); float: right;
width: span(10 of 12);
} }
@include breakpoint($x-large) { @include breakpoint($x-large) {
@include prefix(0.5 of 12); padding-left: gutter(0.5 of 12);
} }
} }
@@ -49,16 +51,16 @@
} }
} }
/* /*
Post pagination navigation links Post pagination navigation links
========================================================================== */ ========================================================================== */
.pagination { .pagination {
@include full();
@include clearfix(); @include clearfix();
float: left;
margin-top: 1em; margin-top: 1em;
padding-top: 1em; padding-top: 1em;
width: 100%;
ul { ul {
margin: 0; margin: 0;
@@ -73,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;
@@ -81,21 +84,22 @@
line-height: 1.5; line-height: 1.5;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
border: 1px solid $light-gray; border: 1px solid mix(#000, $border-color, 25%);
border-radius: 0; border-radius: 0;
&:hover { &:hover {
color: $link-color-hover; color: $link-color-hover;
} }
&.current { &.current,
&.current.disabled {
color: #fff; color: #fff;
background: $primary-color; background: $primary-color;
} }
&.disabled { &.disabled {
color: $light-gray; color: rgba($muted-text-color, 0.5);
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -129,12 +133,12 @@
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
border: 1px solid $light-gray; border: 1px solid mix(#000, $border-color, 25%);
border-radius: $border-radius; border-radius: $border-radius;
&:hover { &:hover {
color: $link-color-hover; @include yiq-contrasted($muted-text-color);
} }
&:first-child { &:first-child {
@@ -149,7 +153,7 @@
} }
&.disabled { &.disabled {
color: $light-gray; color: rgba($muted-text-color, 0.5);
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -165,14 +169,16 @@
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
} }
/* /*
Priority plus navigation Priority plus navigation
========================================================================== */ ========================================================================== */
.greedy-nav { .greedy-nav {
position: relative; position: relative;
min-width: 250px; display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
background: $background-color; background: $background-color;
a { a {
@@ -185,40 +191,34 @@
&:hover { &:hover {
color: $masthead-link-color-hover; color: $masthead-link-color-hover;
} }
&.site-title {
margin-left: 0;
}
} }
button { &__toggle {
position: absolute;
height: 100%;
right: 0;
padding: 0 0.5rem; padding: 0 0.5rem;
align-self: stretch;
border: 0; border: 0;
outline: none; outline: none;
background-color: $primary-color;
color: #fff; color: #fff;
background-color: $primary-color;
cursor: pointer; cursor: pointer;
} }
.visible-links { .visible-links {
display: table; display: -webkit-box;
display: flex;
-webkit-box-pack: end;
justify-content: flex-end;
-webkit-box-flex: 1;
flex: 1;
overflow: hidden;
li { li {
display: table-cell; -webkit-box-flex: 0;
vertical-align: middle; flex: none;
&:first-child {
font-weight: bold;
a {
margin-left: 0;
}
}
&:last-child {
a {
margin-right: 0;
}
}
} }
a { a {
@@ -230,14 +230,18 @@
left: 0; left: 0;
bottom: 0; bottom: 0;
height: 4px; height: 4px;
background: mix(#fff, $primary-color, 50%); background: $primary-color;
width: 100%; width: 100%;
-webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
transform: scaleX(0); // hide -webkit-transform: scaleX(0) translate3d(0, 0, 0);
transform: scaleX(0) translate3d(0, 0, 0); /* hide*/
} }
&:hover:before { &:hover:before {
transform: scaleX(1); // reveal -webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1); /* reveal*/
} }
} }
} }
@@ -250,8 +254,12 @@
padding: 5px; padding: 5px;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background: #fff; background: $background-color;
box-shadow: 0 0 10px rgba(#000, 0.25); box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
&.hidden {
display: none;
}
a { a {
margin: 0; margin: 0;
@@ -260,7 +268,7 @@
&:hover { &:hover {
color: $masthead-link-color-hover; color: $masthead-link-color-hover;
background: mix(#fff, $primary-color, 75%); background: $navicon-link-color-hover;
} }
} }
@@ -285,7 +293,7 @@
width: 0; width: 0;
border-style: solid; border-style: solid;
border-width: 0 10px 10px; border-width: 0 10px 10px;
border-color: #fff transparent; border-color: $background-color transparent;
display: block; display: block;
z-index: 1; z-index: 1;
} }
@@ -301,40 +309,159 @@
} }
} }
.no-js {
.greedy-nav {
.visible-links {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
overflow: visible;
}
}
}
/* /*
Navigation list Navigation list
========================================================================== */ ========================================================================== */
.nav__list { .nav__list {
font-size: 1.25rem; margin-bottom: 1.5em;
ul { input[type="checkbox"],
margin-bottom: 1em; label {
display: none;
} }
a { @include breakpoint(max-width ($large - 1px)) {
display: block; label {
padding: 0.125em 0; position: relative;
color: inherit; 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;
&:hover { &:before,
text-decoration: underline; &:after {
content: "";
position: absolute;
right: 1em;
top: 1.25em;
width: 0.75em;
height: 0.125em;
line-height: 1;
background-color: $gray;
-webkit-transition: 0.2s ease-out;
transition: 0.2s ease-out;
}
&:after {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
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 {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
input:checked + label:hover:after {
-webkit-transform: rotate(0);
-ms-transform: rotate(0);
transform: rotate(0);
}
ul {
margin-bottom: 1em;
}
a {
display: block;
padding: 0.25em 0;
@include breakpoint($large) {
padding-top: 0.125em;
padding-bottom: 0.125em;
}
&:hover {
text-decoration: underline;
}
}
}
}
.nav__list .nav__items {
margin: 0;
font-size: 1.25rem;
a {
color: inherit;
} }
.active { .active {
margin-left: -0.5em; margin-left: -0.5em;
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
color: #fff;
font-weight: bold; font-weight: bold;
background: $primary-color; }
border-radius: $border-radius;
&:hover { @include breakpoint(max-width ($large - 1px)) {
color: #fff; 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);
} }
} }
@@ -357,17 +484,16 @@
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
/* /*
Table of contents navigation Table of contents navigation
========================================================================== */ ========================================================================== */
.toc { .toc {
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
color: $gray; color: $gray;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 1px;
background-color: #fff; background-color: $background-color;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: $box-shadow; box-shadow: $box-shadow;
@@ -391,15 +517,14 @@
a { a {
display: block; display: block;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
color: $gray; color: $muted-text-color;
font-size: $type-size-7; font-size: $type-size-7;
font-weight: bold; font-weight: bold;
line-height: 1.5; line-height: 1.5;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
&:hover { &:hover {
color: #000; color: $text-color;
background: $lighter-gray;
} }
} }
@@ -410,11 +535,11 @@
} }
li ul > li a { li ul > li a {
padding-left: 2rem; padding-left: 1.75rem;
font-weight: normal; font-weight: normal;
} }
// hide sub sub links on small screens /* hide sub sub links on small screens*/
li > ul li { li > ul li {
display: none; display: none;
@@ -422,4 +547,4 @@
display: block; display: block;
} }
} }
} }
@@ -11,34 +11,35 @@
*/ */
@mixin notice($notice-color) { @mixin notice($notice-color) {
margin: 2em 0 !important; // override margin: 2em 0 !important; /* override*/
padding: 1em; padding: 1em;
color: $dark-gray;
font-family: $global-font-family; font-family: $global-font-family;
font-size: $type-size-6 !important; font-size: $type-size-6 !important;
text-indent: initial; // override text-indent: initial; /* override*/
background-color: mix(#fff, $notice-color, 90%); background-color: mix(#fff, $notice-color, 90%);
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: 0 1px 1px rgba($notice-color, 0.25); box-shadow: 0 1px 1px rgba($notice-color, 0.25);
h4 { h4 {
margin-top: 0 !important; // override margin-top: 0 !important; /* override*/
margin-bottom: 0.75em; margin-bottom: 0.75em;
} }
@at-root .page__content #{&} h4 { @at-root .page__content #{&} h4 {
// using at-root to override .page-content h4 font size /* using at-root to override .page-content h4 font size*/
margin-bottom: 0; margin-bottom: 0;
font-size: 1em; font-size: 1em;
} }
p { p {
&:last-child { &:last-child {
margin-bottom: 0 !important; // override margin-bottom: 0 !important; /* override*/
} }
} }
h4 + p { h4 + p {
// remove space above paragraphs that appear directly after notice headline /* remove space above paragraphs that appear directly after notice headline*/
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;
} }
@@ -57,7 +58,7 @@
ul { ul {
&:last-child { &:last-child {
margin-bottom: 0; // override margin-bottom: 0; /* override*/
} }
} }
} }
@@ -3,13 +3,17 @@
========================================================================== */ ========================================================================== */
#main { #main {
@include container;
@include clearfix; @include clearfix;
margin-left: auto;
margin-top: 2em; margin-top: 2em;
margin-right: auto;
padding-left: 1em; padding-left: 1em;
padding-right: 1em; padding-right: 1em;
animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation-delay: 0.35s; animation: $intro-transition;
max-width: 100%;
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
@include breakpoint($x-large) { @include breakpoint($x-large) {
max-width: $x-large; max-width: $x-large;
@@ -18,18 +22,32 @@
.page { .page {
@include breakpoint($large) { @include breakpoint($large) {
@include span(10 of 12 last); float: right;
@include prefix(0.5 of 12); width: calc(100% - #{$right-sidebar-width-narrow});
@include suffix(2 of 12); padding-right: $right-sidebar-width-narrow;
}
@include breakpoint($x-large) {
width: calc(100% - #{$right-sidebar-width});
padding-right: $right-sidebar-width;
} }
.page__inner-wrap { .page__inner-wrap {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
.page__content, .page__content,
.page__meta, .page__meta,
.page__share { .page__share {
@include full(); position: relative;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
} }
} }
} }
@@ -49,13 +67,14 @@
} }
.page__content { .page__content {
h2 { h2 {
padding-bottom: 0.5em; padding-bottom: 0.5em;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
p, li, dl { p,
li,
dl {
font-size: 1em; font-size: 1em;
} }
@@ -63,7 +82,7 @@
p { p {
margin: 0 0 $indent-var; margin: 0 0 $indent-var;
// sibling indentation /* sibling indentation*/
@if $paragraph-indent == true { @if $paragraph-indent == true {
& + p { & + p {
text-indent: $indent-var; text-indent: $indent-var;
@@ -72,9 +91,7 @@
} }
} }
a { a:not(.btn) {
text-decoration: none;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
@@ -111,7 +128,9 @@
position: relative; position: relative;
margin-bottom: 2em; margin-bottom: 2em;
@include clearfix; @include clearfix;
animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.25s;
animation-delay: 0.25s; animation-delay: 0.25s;
&--overlay { &--overlay {
@@ -122,7 +141,9 @@
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.25s;
animation-delay: 0.25s; animation-delay: 0.25s;
a { a {
@@ -179,7 +200,7 @@
text-align: right; text-align: right;
z-index: 5; z-index: 5;
opacity: 0.5; opacity: 0.5;
border-radius: $border-radius 0 $border-radius 0; border-radius: $border-radius 0 0 0;
@include breakpoint($large) { @include breakpoint($large) {
padding: 5px 10px; padding: 5px 10px;
@@ -220,14 +241,13 @@
text-transform: uppercase; text-transform: uppercase;
} }
/* /*
Page meta Page meta
========================================================================== */ ========================================================================== */
.page__meta { .page__meta {
margin-top: 2em; margin-top: 2em;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
font-family: $sans-serif; font-family: $sans-serif;
font-size: $type-size-6; font-size: $type-size-6;
@@ -246,7 +266,6 @@
text-transform: uppercase; text-transform: uppercase;
} }
/* /*
Page taxonomy Page taxonomy
========================================================================== */ ========================================================================== */
@@ -267,7 +286,7 @@
margin-bottom: 8px; margin-bottom: 8px;
padding: 5px 10px; padding: 5px 10px;
text-decoration: none; text-decoration: none;
border: 1px solid $light-gray; border: 1px solid mix(#000, $border-color, 25%);
border-radius: $border-radius; border-radius: $border-radius;
&:hover { &:hover {
@@ -276,13 +295,84 @@
} }
} }
.taxonomy__section {
margin-bottom: 2em;
padding-bottom: 1em;
&:not(:last-child) {
border-bottom: solid 1px $border-color;
}
.archive__item-title {
margin-top: 0;
}
.archive__subtitle {
clear: both;
border: 0;
}
+ .taxonomy__section {
margin-top: 2em;
}
}
.taxonomy__title {
margin-bottom: 0.5em;
color: lighten($text-color, 60%);
}
.taxonomy__count {
color: lighten($text-color, 50%);
}
.taxonomy__index {
display: grid;
grid-column-gap: 2em;
grid-template-columns: repeat(2, 1fr);
margin: 1.414em 0;
padding: 0;
font-size: 0.75em;
list-style: none;
@include breakpoint($large) {
grid-template-columns: repeat(3, 1fr);
}
a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 0.25em 0;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
color: inherit;
text-decoration: none;
border-bottom: 1px solid $border-color;
}
}
.back-to-top {
display: block;
clear: both;
color: lighten($text-color, 50%);
font-size: 0.6em;
text-transform: uppercase;
text-align: right;
text-decoration: none;
}
/* /*
Comments Comments
========================================================================== */ ========================================================================== */
.page__comments { .page__comments {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
} }
.page__comments-title { .page__comments-title {
@@ -294,20 +384,101 @@
text-transform: uppercase; text-transform: uppercase;
} }
.page__comments-form {
-webkit-transition: $global-transition;
transition: $global-transition;
&.disabled {
input,
button,
textarea,
label {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
}
}
.comment {
@include clearfix();
margin: 1em 0;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
.comment__avatar-wrapper {
float: left;
width: 60px;
height: 60px;
@include breakpoint($large) {
width: 100px;
height: 100px;
}
}
.comment__avatar {
width: 40px;
height: 40px;
border-radius: 50%;
@include breakpoint($large) {
width: 80px;
height: 80px;
padding: 5px;
border: 1px solid $border-color;
}
}
.comment__content-wrapper {
float: right;
width: calc(100% - 60px);
@include breakpoint($large) {
width: calc(100% - 100px);
}
}
.comment__author {
margin: 0;
a {
text-decoration: none;
}
}
.comment__date {
@extend .page__meta;
margin: 0;
a {
text-decoration: none;
}
}
/* /*
Related Related
========================================================================== */ ========================================================================== */
.page__related { .page__related {
@include clearfix();
float: left;
margin-top: 2em; margin-top: 2em;
padding-top: 1em; padding-top: 1em;
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
@include clearfix();
float: left;
@include breakpoint($large) { @include breakpoint($large) {
@include pre(2.5 of 12); float: right;
width: calc(100% - #{$right-sidebar-width-narrow});
}
@include breakpoint($x-large) {
width: calc(100% - #{$right-sidebar-width});
} }
a { a {
@@ -320,4 +491,30 @@
margin-bottom: 10px; margin-bottom: 10px;
font-size: $type-size-6; font-size: $type-size-6;
text-transform: uppercase; text-transform: uppercase;
} }
/*
Wide Pages
========================================================================== */
.wide {
.page {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
.page__related {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
}
+252
View File
@@ -0,0 +1,252 @@
/* ==========================================================================
PRINT STYLES
========================================================================== */
@media print {
[hidden] {
display: none;
}
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
margin: 0;
padding: 0;
min-height: auto !important;
font-size: 16px;
}
body {
margin: 0 auto;
background: #fff !important;
color: #000 !important;
font-size: 1rem;
line-height: 1.5;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #000;
line-height: 1.2;
margin-bottom: 0.75rem;
margin-top: 0;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.75rem;
}
h4 {
font-size: 1.5rem;
}
h5 {
font-size: 1.25rem;
}
h6 {
font-size: 1rem;
}
a,
a:visited {
color: #000;
text-decoration: underline;
word-wrap: break-word;
}
table {
border-collapse: collapse;
}
thead {
display: table-header-group;
}
table,
th,
td {
border-bottom: 1px solid #000;
}
td,
th {
padding: 8px 16px;
}
img {
border: 0;
display: block;
max-width: 100% !important;
vertical-align: middle;
}
hr {
border: 0;
border-bottom: 2px solid #bbb;
height: 0;
margin: 2.25rem 0;
padding: 0;
}
dt {
font-weight: bold;
}
dd {
margin: 0;
margin-bottom: 0.75rem;
}
abbr[title],
acronym[title] {
border: 0;
text-decoration: none;
}
table,
blockquote,
pre,
code,
figure,
li,
hr,
ul,
ol,
a,
tr {
page-break-inside: avoid;
}
h2,
h3,
h4,
p,
a {
orphans: 3;
widows: 3;
}
h1,
h2,
h3,
h4,
h5,
h6 {
page-break-after: avoid;
page-break-inside: avoid;
}
h1 + p,
h2 + p,
h3 + p {
page-break-before: avoid;
}
img {
page-break-after: auto;
page-break-before: auto;
page-break-inside: avoid;
}
pre {
white-space: pre-wrap !important;
word-wrap: break-word;
}
a[href^='http://']:after,
a[href^='https://']:after,
a[href^='ftp://']:after {
content: " (" attr(href) ")";
font-size: 80%;
}
abbr[title]:after,
acronym[title]:after {
content: " (" attr(title) ")";
}
#main {
max-width: 100%;
}
.page {
margin: 0;
padding: 0;
width: 100%;
}
.page-break,
.page-break-before {
page-break-before: always;
}
.page-break-after {
page-break-after: always;
}
.no-print {
display: none;
}
a.no-reformat:after {
content: '';
}
abbr[title].no-reformat:after,
acronym[title].no-reformat:after {
content: '';
}
.page__hero-caption {
color: #000 !important;
background: #fff !important;
opacity: 1;
a {
color: #000 !important;
}
}
/*
Hide the following elements on print
========================================================================== */
.masthead,
.toc,
.page__share,
.page__related,
.pagination,
.ads,
.page__footer,
.page__comments-form,
.author__avatar,
.author__content,
.author__urls-wrapper,
.nav__list,
.sidebar,
.adsbygoogle {
display: none !important;
height: 1px !important;
}
}
@@ -2,7 +2,7 @@
STYLE RESETS STYLE RESETS
========================================================================== */ ========================================================================== */
@include border-box-sizing; * { box-sizing: border-box; }
html { html {
/* apply a natural box layout model to all elements */ /* apply a natural box layout model to all elements */
@@ -14,6 +14,14 @@ html {
font-size: 18px; font-size: 18px;
} }
@include breakpoint($large) {
font-size: 20px;
}
@include breakpoint($x-large) {
font-size: 22px;
}
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
} }
@@ -24,6 +32,11 @@ body { margin: 0; }
/* Selected elements */ /* Selected elements */
::-moz-selection {
color: #fff;
background: #000;
}
::selection { ::selection {
color: #fff; color: #fff;
background: #000; background: #000;
@@ -100,9 +113,9 @@ sub {
img { img {
/* Responsive images (ensure images don't scale beyond their parents) */ /* Responsive images (ensure images don't scale beyond their parents) */
max-width: 100%; // part 1: Set a maximum relative to the parent max-width: 100%; /* part 1: Set a maximum relative to the parent*/
width: auto\9; // IE7-8 need help adjusting responsive images width: auto\9; /* IE7-8 need help adjusting responsive images*/
height: auto; // part 2: Scale the height according to the width, otherwise you get stretching height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
vertical-align: middle; vertical-align: middle;
border: 0; border: 0;
@@ -129,12 +142,12 @@ textarea {
button, button,
input { input {
*overflow: visible; // inner spacing ie IE6/7 *overflow: visible; /* inner spacing ie IE6/7*/
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
} }
button::-moz-focus-inner, button::-moz-focus-inner,
input::-moz-focus-inner { // inner padding and border oddities in FF3/4 input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
padding: 0; padding: 0;
border: 0; border: 0;
} }
@@ -143,8 +156,8 @@ button,
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
-webkit-appearance: button; // corrects inability to style clickable `input` types in iOS -webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
cursor: pointer; // improves usability and consistency of cursor style between image-type `input` and others cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
} }
label, label,
@@ -155,20 +168,20 @@ input[type="reset"],
input[type="submit"], input[type="submit"],
input[type="radio"], input[type="radio"],
input[type="checkbox"] { input[type="checkbox"] {
cursor: pointer; // improves usability and consistency of cursor style between image-type `input` and others cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
} }
input[type="search"] { // Appearance in Safari/Chrome input[type="search"] { /* Appearance in Safari/Chrome*/
box-sizing: content-box; box-sizing: border-box;
-webkit-appearance: textfield; -webkit-appearance: textfield;
} }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none; // inner-padding issues in Chrome OSX, Safari 5 -webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
} }
textarea { textarea {
overflow: auto; // remove vertical scrollbar in IE6-9 overflow: auto; /* remove vertical scrollbar in IE6-9*/
vertical-align: top; // readability and alignment cross-browser vertical-align: top; /* readability and alignment cross-browser*/
} }
+125
View File
@@ -0,0 +1,125 @@
/* ==========================================================================
SEARCH
========================================================================== */
.layout--search {
.archive__item-teaser {
margin-bottom: 0.25em;
}
}
.search__toggle {
margin-left: 1rem;
margin-right: 1rem;
border: 0;
outline: none;
color: $muted-text-color;
background-color: transparent;
cursor: pointer;
-webkit-transition: 0.2s;
transition: 0.2s;
&:hover {
color: $text-color;
}
}
.search-icon {
width: 100%;
height: 100%;
}
.search-content {
display: none;
visibility: hidden;
padding-top: 1em;
padding-bottom: 1em;
&__inner-wrap {
width: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 1em;
padding-right: 1em;
-webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
.search-input {
display: block;
margin-bottom: 0;
padding: 0;
border: none;
outline: none;
box-shadow: none;
background-color: transparent;
font-size: $type-size-3;
@include breakpoint($large) {
font-size: $type-size-2;
}
@include breakpoint($x-large) {
font-size: $type-size-1;
}
}
&.is--visible {
display: block;
visibility: visible;
&::after {
content: "";
display: block;
}
}
.results__found {
margin-top: 0.5em;
font-size: $type-size-6;
}
.archive__item {
margin-bottom: 2em;
@include breakpoint($large) {
width: 75%;
}
@include breakpoint($x-large) {
width: 50%;
}
}
.archive__item-title {
margin-top: 0;
}
.archive__item-excerpt {
margin-bottom: 0;
}
}
/* Algolia search */
.ais-search-box {
max-width: 100% !important;
margin-bottom: 2em;
}
.archive__item-title .ais-Highlight {
color: $link-color;
font-style: normal;
text-decoration: underline;
}
.archive__item-excerpt .ais-Highlight {
color: $link-color;
font-style: normal;
font-weight: bold;
}
@@ -10,30 +10,49 @@
@include clearfix(); @include clearfix();
margin-bottom: 1em; margin-bottom: 1em;
@include breakpoint(max-width $large) {
/* fix z-index order of follow links */
position: relative;
z-index: 10;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
@include breakpoint($large) { @include breakpoint($large) {
@include span(2 of 12); float: left;
width: calc(#{$right-sidebar-width-narrow} - 1em);
opacity: 0.75; opacity: 0.75;
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out;
&:hover { &:hover {
opacity: 1; opacity: 1;
} }
&.sticky {
overflow-y: auto;
/* calculate height of nav list */
height: calc(
100vh - 90px - 2em
); // viewport height - approx. masthead height - main content top margin
}
} }
@include breakpoint($x-large) { @include breakpoint($x-large) {
padding-right: 0; width: calc(#{$right-sidebar-width} - 1em);
} }
h2, h3, h4, h5, h6 { h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0; margin-bottom: 0;
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
} }
h3, h4 { p,
font-size: $type-size-5; li {
}
p, li {
font-family: $sans-serif; font-family: $sans-serif;
font-size: $type-size-6; font-size: $type-size-6;
line-height: 1.5; line-height: 1.5;
@@ -48,15 +67,30 @@
margin-bottom: 1em; margin-bottom: 1em;
@include breakpoint($large) { @include breakpoint($large) {
position: relative; position: absolute;
float: right; top: 0;
right: 0;
width: $right-sidebar-width-narrow; width: $right-sidebar-width-narrow;
margin-left: span(0.5 of 12); margin-right: -1 * $right-sidebar-width-narrow;
padding-left: 1em;
z-index: 10; z-index: 10;
} }
@include breakpoint($x-large) { @include breakpoint($x-large) {
width: $right-sidebar-width; width: $right-sidebar-width;
margin-right: -1 * $right-sidebar-width;
}
}
.splash .sidebar__right {
@include breakpoint($large) {
position: relative;
float: right;
margin-right: 0;
}
@include breakpoint($x-large) {
margin-right: 0;
} }
} }
@@ -100,6 +134,11 @@
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
a {
color: inherit;
text-decoration: none;
}
} }
.author__name { .author__name {
@@ -161,11 +200,15 @@
list-style-type: none; list-style-type: none;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background: #fff; background: $background-color;
z-index: -1; z-index: -1;
box-shadow: 0 0 10px rgba(#000, 0.25); box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default; cursor: default;
&.is--visible {
display: block;
}
@include breakpoint($large) { @include breakpoint($large) {
display: block; display: block;
position: relative; position: relative;
@@ -202,7 +245,7 @@
width: 0; width: 0;
border-style: solid; border-style: solid;
border-width: 0 10px 10px; border-width: 0 10px 10px;
border-color: #fff transparent; border-color: $background-color transparent;
z-index: 1; z-index: 1;
@include breakpoint($large) { @include breakpoint($large) {
@@ -228,4 +271,27 @@
text-decoration: underline; text-decoration: underline;
} }
} }
} }
/*
Wide Pages
========================================================================== */
.wide .sidebar__right {
margin-bottom: 1em;
@include breakpoint($large) {
position: initial;
top: initial;
right: initial;
width: initial;
margin-right: initial;
padding-left: initial;
z-index: initial;
}
@include breakpoint($x-large) {
width: initial;
margin-right: initial;
}
}
+324
View File
@@ -0,0 +1,324 @@
/* ==========================================================================
Syntax highlighting
========================================================================== */
div.highlighter-rouge,
figure.highlight {
position: relative;
margin-bottom: 1em;
background: $base00;
color: $base05;
font-family: $monospace;
font-size: $type-size-6;
line-height: 1.8;
border-radius: $border-radius;
> pre,
pre.highlight {
margin: 0;
padding: 1em;
}
}
.highlight table {
margin-bottom: 0;
font-size: 1em;
border: 0;
td {
padding: 0;
width: calc(100% - 1em);
border: 0;
/* line numbers*/
&.gutter,
&.rouge-gutter {
padding-right: 1em;
width: 1em;
color: $base04;
border-right: 1px solid $base04;
text-align: right;
}
/* code */
&.code,
&.rouge-code {
padding-left: 1em;
}
}
pre {
margin: 0;
}
}
.highlight pre {
width: 100%;
}
.highlight .hll {
background-color: $base06;
}
.highlight {
.c {
/* Comment */
color: $base04;
}
.err {
/* Error */
color: $base08;
}
.k {
/* Keyword */
color: $base0e;
}
.l {
/* Literal */
color: $base09;
}
.n {
/* Name */
color: $base05;
}
.o {
/* Operator */
color: $base0c;
}
.p {
/* Punctuation */
color: $base05;
}
.cm {
/* Comment.Multiline */
color: $base04;
}
.cp {
/* Comment.Preproc */
color: $base04;
}
.c1 {
/* Comment.Single */
color: $base04;
}
.cs {
/* Comment.Special */
color: $base04;
}
.gd {
/* Generic.Deleted */
color: $base08;
}
.ge {
/* Generic.Emph */
font-style: italic;
}
.gh {
/* Generic.Heading */
color: $base05;
font-weight: bold;
}
.gi {
/* Generic.Inserted */
color: $base0b;
}
.gp {
/* Generic.Prompt */
color: $base04;
font-weight: bold;
}
.gs {
/* Generic.Strong */
font-weight: bold;
}
.gu {
/* Generic.Subheading */
color: $base0c;
font-weight: bold;
}
.kc {
/* Keyword.Constant */
color: $base0e;
}
.kd {
/* Keyword.Declaration */
color: $base0e;
}
.kn {
/* Keyword.Namespace */
color: $base0c;
}
.kp {
/* Keyword.Pseudo */
color: $base0e;
}
.kr {
/* Keyword.Reserved */
color: $base0e;
}
.kt {
/* Keyword.Type */
color: $base0a;
}
.ld {
/* Literal.Date */
color: $base0b;
}
.m {
/* Literal.Number */
color: $base09;
}
.s {
/* Literal.String */
color: $base0b;
}
.na {
/* Name.Attribute */
color: $base0d;
}
.nb {
/* Name.Builtin */
color: $base05;
}
.nc {
/* Name.Class */
color: $base0a;
}
.no {
/* Name.Constant */
color: $base08;
}
.nd {
/* Name.Decorator */
color: $base0c;
}
.ni {
/* Name.Entity */
color: $base05;
}
.ne {
/* Name.Exception */
color: $base08;
}
.nf {
/* Name.Function */
color: $base0d;
}
.nl {
/* Name.Label */
color: $base05;
}
.nn {
/* Name.Namespace */
color: $base0a;
}
.nx {
/* Name.Other */
color: $base0d;
}
.py {
/* Name.Property */
color: $base05;
}
.nt {
/* Name.Tag */
color: $base0c;
}
.nv {
/* Name.Variable */
color: $base08;
}
.ow {
/* Operator.Word */
color: $base0c;
}
.w {
/* Text.Whitespace */
color: $base05;
}
.mf {
/* Literal.Number.Float */
color: $base09;
}
.mh {
/* Literal.Number.Hex */
color: $base09;
}
.mi {
/* Literal.Number.Integer */
color: $base09;
}
.mo {
/* Literal.Number.Oct */
color: $base09;
}
.sb {
/* Literal.String.Backtick */
color: $base0b;
}
.sc {
/* Literal.String.Char */
color: $base05;
}
.sd {
/* Literal.String.Doc */
color: $base04;
}
.s2 {
/* Literal.String.Double */
color: $base0b;
}
.se {
/* Literal.String.Escape */
color: $base09;
}
.sh {
/* Literal.String.Heredoc */
color: $base0b;
}
.si {
/* Literal.String.Interpol */
color: $base09;
}
.sx {
/* Literal.String.Other */
color: $base0b;
}
.sr {
/* Literal.String.Regex */
color: $base0b;
}
.s1 {
/* Literal.String.Single */
color: $base0b;
}
.ss {
/* Literal.String.Symbol */
color: $base0b;
}
.bp {
/* Name.Builtin.Pseudo */
color: $base05;
}
.vc {
/* Name.Variable.Class */
color: $base08;
}
.vg {
/* Name.Variable.Global */
color: $base08;
}
.vi {
/* Name.Variable.Instance */
color: $base08;
}
.il {
/* Literal.Number.Integer.Long */
color: $base09;
}
}
.gist {
th, td {
border-bottom: 0;
}
}
@@ -8,7 +8,6 @@ table {
font-family: $global-font-family; font-family: $global-font-family;
font-size: $type-size-6; font-size: $type-size-6;
border-collapse: collapse; border-collapse: collapse;
border: 1px solid $light-gray;
& + table { & + table {
margin-top: 1em; margin-top: 1em;
@@ -16,23 +15,23 @@ table {
} }
thead { thead {
background-color: $lighter-gray; background-color: $border-color;
border-bottom: 1px solid $light-gray; border-bottom: 2px solid mix(#000, $border-color, 25%);
} }
th { th {
padding: 0.5em; padding: 0.5em;
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
border-right: 1px solid $light-gray;
} }
td { td {
padding: 0.5em; padding: 0.5em;
border-bottom: 1px solid $light-gray; border-bottom: 1px solid mix(#000, $border-color, 25%);
border-right: 1px solid $light-gray;
} }
tr, td, th { tr,
td,
th {
vertical-align: middle; vertical-align: middle;
} }
@@ -8,7 +8,8 @@
/* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */ /* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
.hidden { .hidden,
.is--hidden {
display: none; display: none;
visibility: hidden; visibility: hidden;
} }
@@ -46,7 +47,7 @@ body:hover .visually-hidden button {
/* screen readers */ /* screen readers */
.screen-reader-text:focus, .screen-reader-text:focus,
.screen-reader-shortcut:focus { .screen-reader-shortcut:focus {
clip: auto !important; clip: auto !important;
height: auto !important; height: auto !important;
width: auto !important; width: auto !important;
@@ -57,10 +58,9 @@ body:hover .visually-hidden button {
background: #fff; background: #fff;
z-index: 100000; z-index: 100000;
text-decoration: none; text-decoration: none;
box-shadow: 0 0 2px 2px rgba(0,0,0,.6); box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
} }
/* /*
Skip links Skip links
========================================================================== */ ========================================================================== */
@@ -79,7 +79,6 @@ body:hover .visually-hidden button {
list-style: none; list-style: none;
} }
/* /*
Type Type
========================================================================== */ ========================================================================== */
@@ -104,19 +103,21 @@ body:hover .visually-hidden button {
white-space: nowrap; white-space: nowrap;
} }
/* /*
Alignment Alignment
========================================================================== */ ========================================================================== */
/* clearfix */ /* clearfix */
.cf { clear: both; } .cf {
clear: both;
.wrapper {
@include container();
} }
.wrapper {
margin-left: auto;
margin-right: auto;
width: 100%;
}
/* /*
Images Images
@@ -159,7 +160,7 @@ body:hover .visually-hidden button {
/* file page content container */ /* file page content container */
.full { .full {
@include breakpoint($large){ @include breakpoint($large) {
margin-right: -1 * span(2.5 of 12) !important; margin-right: -1 * span(2.5 of 12) !important;
} }
} }
@@ -179,11 +180,14 @@ body:hover .visually-hidden button {
vertical-align: middle; vertical-align: middle;
} }
// social icons /* social icons*/
.social-icons { .social-icons {
.fa { .fas,
color: #000; .fab,
.far,
.fal {
color: $text-color;
} }
.fa-behance, .fa-behance,
@@ -191,12 +195,18 @@ body:hover .visually-hidden button {
color: $behance-color; color: $behance-color;
} }
.fa-dribbble { .fa-bitbucket {
color: $bitbucket-color;
}
.fa-dribbble,
.fa-dribble-square {
color: $dribbble-color; color: $dribbble-color;
} }
.fa-facebook, .fa-facebook,
.fa-facebook-square { .fa-facebook-square,
.fa-facebook-f {
color: $facebook-color; color: $facebook-color;
} }
@@ -215,7 +225,8 @@ body:hover .visually-hidden button {
} }
.fa-google-plus, .fa-google-plus,
.fa-google-plus-square { .fa-google-plus-square,
.fa-google-plus-g {
color: $google-plus-color; color: $google-plus-color;
} }
@@ -229,7 +240,7 @@ body:hover .visually-hidden button {
} }
.fa-linkedin, .fa-linkedin,
.fa-linkedin-square { .fa-linkedin-in {
color: $linkedin-color; color: $linkedin-color;
} }
@@ -264,7 +275,8 @@ body:hover .visually-hidden button {
} }
.fa-vimeo, .fa-vimeo,
.fa-vimeo-square { .fa-vimeo-square,
.fa-vimeo-v {
color: $vimeo-color; color: $vimeo-color;
} }
@@ -272,9 +284,7 @@ body:hover .visually-hidden button {
color: $vine-color; color: $vine-color;
} }
.fa-youtube, .fa-youtube {
.fa-youtube-square,
.fa-youtube-play {
color: $youtube-color; color: $youtube-color;
} }
@@ -284,7 +294,6 @@ body:hover .visually-hidden button {
} }
} }
/* /*
Navicons Navicons
========================================================================== */ ========================================================================== */
@@ -295,6 +304,7 @@ body:hover .visually-hidden button {
height: $navicon-height; height: $navicon-height;
background: #fff; background: #fff;
margin: auto; margin: auto;
-webkit-transition: 0.3s;
transition: 0.3s; transition: 0.3s;
&:before, &:before,
@@ -305,6 +315,7 @@ body:hover .visually-hidden button {
width: $navicon-width; width: $navicon-width;
height: $navicon-height; height: $navicon-height;
background: #fff; background: #fff;
-webkit-transition: 0.3s;
transition: 0.3s; transition: 0.3s;
} }
@@ -318,26 +329,30 @@ body:hover .visually-hidden button {
} }
.close .navicon { .close .navicon {
// hide the middle line /* hide the middle line*/
background: transparent; background: transparent;
// overlay the lines by setting both their top values to 0 /* overlay the lines by setting both their top values to 0*/
&:before, &:after{ &:before,
&:after {
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%; transform-origin: 50% 50%;
top: 0; top: 0;
width: $navicon-width; width: $navicon-width;
} }
// rotate the lines to form the x shape /* rotate the lines to form the x shape*/
&:before{ &:before {
transform: rotate3d(0,0,1,45deg); -webkit-transform: rotate3d(0, 0, 1, 45deg);
transform: rotate3d(0, 0, 1, 45deg);
} }
&:after{ &:after {
transform: rotate3d(0,0,1,-45deg); -webkit-transform: rotate3d(0, 0, 1, -45deg);
transform: rotate3d(0, 0, 1, -45deg);
} }
} }
/* /*
Sticky, fixed to top content Sticky, fixed to top content
========================================================================== */ ========================================================================== */
@@ -355,7 +370,6 @@ body:hover .visually-hidden button {
} }
} }
/* /*
Wells Wells
========================================================================== */ ========================================================================== */
@@ -370,6 +384,59 @@ body:hover .visually-hidden button {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
} }
/*
Modals
========================================================================== */
.show-modal {
overflow: hidden;
position: relative;
&:before {
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
background-color: rgba(255, 255, 255, 0.85);
}
.modal {
display: block;
}
}
.modal {
display: none;
position: fixed;
width: 300px;
top: 50%;
left: 50%;
margin-left: -150px;
margin-top: -150px;
min-height: 0;
z-index: 9999;
background: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
&__title {
margin: 0;
padding: 0.5em 1em;
}
&__supporting-text {
padding: 0 1em 0.5em 1em;
}
&__actions {
padding: 0.5em 1em;
border-top: 1px solid $border-color;
}
}
/* /*
Footnotes Footnotes
@@ -383,7 +450,9 @@ body:hover .visually-hidden button {
.footnotes { .footnotes {
color: mix(#fff, $gray, 25%); color: mix(#fff, $gray, 25%);
ol, li, p { ol,
li,
p {
margin-bottom: 0; margin-bottom: 0;
font-size: $type-size-6; font-size: $type-size-6;
} }
@@ -396,4 +465,56 @@ a.reversefootnote {
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }
} }
/*
Required
========================================================================== */
.required {
color: $danger-color;
font-weight: bold;
}
/*
Google Custom Search Engine
========================================================================== */
.gsc-control-cse {
table,
tr,
td {
border: 0; /* remove table borders widget */
}
}
/*
Responsive Video Embed
========================================================================== */
.responsive-video-container {
position: relative;
margin-bottom: 1em;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
iframe,
object,
embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
// full screen video fixes
:-webkit-full-screen-ancestor {
.masthead,
.page__footer {
position: static;
}
}
+153
View File
@@ -0,0 +1,153 @@
/* ==========================================================================
Variables
========================================================================== */
/*
Typography
========================================================================== */
$doc-font-size: 16 !default;
/* paragraph indention */
$paragraph-indent: false !default; // true, false (default)
$indent-var: 1.3em !default;
/* system typefaces */
$serif: Georgia, Times, serif !default;
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI",
"Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
$monospace: Monaco, Consolas, "Lucida Console", monospace !default;
/* sans serif typefaces */
$sans-serif-narrow: $sans-serif !default;
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
/* serif typefaces */
$georgia: Georgia, serif !default;
$times: Times, serif !default;
$bodoni: "Bodoni MT", serif !default;
$calisto: "Calisto MT", serif !default;
$garamond: Garamond, serif !default;
$global-font-family: $sans-serif !default;
$header-font-family: $sans-serif !default;
$caption-font-family: $serif !default;
/* type scale */
$type-size-1: 2.441em !default; // ~39.056px
$type-size-2: 1.953em !default; // ~31.248px
$type-size-3: 1.563em !default; // ~25.008px
$type-size-4: 1.25em !default; // ~20px
$type-size-5: 1em !default; // ~16px
$type-size-6: 0.75em !default; // ~12px
$type-size-7: 0.6875em !default; // ~11px
$type-size-8: 0.625em !default; // ~10px
/*
Colors
========================================================================== */
$gray: #7a8288 !default;
$dark-gray: mix(#000, $gray, 40%) !default;
$darker-gray: mix(#000, $gray, 60%) !default;
$light-gray: mix(#fff, $gray, 50%) !default;
$lighter-gray: mix(#fff, $gray, 90%) !default;
$background-color: #fff !default;
$code-background-color: #fafafa !default;
$code-background-color-dark: $light-gray !default;
$text-color: $dark-gray !default;
$muted-text-color: mix(#fff, $text-color, 35%) !default;
$border-color: $lighter-gray !default;
$form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default;
$primary-color: #7a8288 !default;
$success-color: #62c462 !default;
$warning-color: #f89406 !default;
$danger-color: #ee5f5b !default;
$info-color: #52adc8 !default;
/* YIQ color contrast */
$yiq-contrasted-dark-default: $dark-gray !default;
$yiq-contrasted-light-default: #fff !default;
$yiq-contrasted-threshold: 175 !default;
$yiq-debug: false !default;
/* brands */
$behance-color: #1769ff !default;
$bitbucket-color: #205081 !default;
$dribbble-color: #ea4c89 !default;
$facebook-color: #3b5998 !default;
$flickr-color: #ff0084 !default;
$foursquare-color: #0072b1 !default;
$github-color: #171516 !default;
$google-plus-color: #dd4b39 !default;
$instagram-color: #517fa4 !default;
$lastfm-color: #d51007 !default;
$linkedin-color: #007bb6 !default;
$pinterest-color: #cb2027 !default;
$rss-color: #fa9b39 !default;
$soundcloud-color: #ff3300 !default;
$stackoverflow-color: #fe7a15 !default;
$tumblr-color: #32506d !default;
$twitter-color: #55acee !default;
$vimeo-color: #1ab7ea !default;
$vine-color: #00bf8f !default;
$youtube-color: #bb0000 !default;
$xing-color: #006567 !default;
/* links */
$link-color: $info-color !default;
$link-color-hover: mix(#000, $link-color, 25%) !default;
$link-color-visited: mix(#fff, $link-color, 25%) !default;
$masthead-link-color: $primary-color !default;
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
/* syntax highlighting (base16) */
$base00: #263238 !default;
$base01: #2e3c43 !default;
$base02: #314549 !default;
$base03: #546e7a !default;
$base04: #b2ccd6 !default;
$base05: #eeffff !default;
$base06: #eeffff !default;
$base07: #ffffff !default;
$base08: #f07178 !default;
$base09: #f78c6c !default;
$base0a: #ffcb6b !default;
$base0b: #c3e88d !default;
$base0c: #89ddff !default;
$base0d: #82aaff !default;
$base0e: #c792ea !default;
$base0f: #ff5370 !default;
/*
Breakpoints
========================================================================== */
$small: 600px !default;
$medium: 768px !default;
$medium-wide: 900px !default;
$large: 1024px !default;
$x-large: 1280px !default;
/*
Grid
========================================================================== */
$right-sidebar-width-narrow: 200px !default;
$right-sidebar-width: 300px !default;
$right-sidebar-width-wide: 400px !default;
/*
Other
========================================================================== */
$border-radius: 4px !default;
$box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$navicon-width: 1.5rem !default;
$navicon-height: 0.25rem !default;
$global-transition: all 0.2s ease-in-out !default;
$intro-transition: intro 0.3s both !default;
+23
View File
@@ -0,0 +1,23 @@
/* ==========================================================================
Air skin
========================================================================== */
/* Colors */
$background-color: #eeeeee !default;
$text-color: #222831 !default;
$muted-text-color: #393e46 !default;
$primary-color: #0092ca !default;
$border-color: mix(#fff, #393e46, 75%) !default;
$footer-background-color: $primary-color !default;
$link-color: #393e46 !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
.page__footer {
color: #fff !important; // override
}
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+30
View File
@@ -0,0 +1,30 @@
/* ==========================================================================
Aqua skin
========================================================================== */
/* Colors */
$gray : #1976d2 !default;
$dark-gray : mix(#000, $gray, 40%) !default;
$darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff !default;
$background-color : #f0fff0 !default;
$code-background-color : $lighter-gray !default;
$code-background-color-dark : $light-gray !default;
$text-color : $dark-gray !default;
$border-color : $lighter-gray !default;
$primary-color : $gray !default;
$success-color : #27ae60 !default;
$warning-color : #e67e22 !default;
$danger-color : #c0392b !default;
$info-color : #03a9f4 !default;
/* links */
$link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
@@ -0,0 +1,51 @@
/* ==========================================================================
Contrast skin
========================================================================== */
/* Colors */
$text-color: #000 !default;
$muted-text-color: $text-color !default;
$primary-color: #ff0000 !default;
$border-color: mix(#fff, $text-color, 75%) !default;
$footer-background-color: #000 !default;
$link-color: #0000ff !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
/* contrast syntax highlighting (base16) */
$base00: #000000 !default;
$base01: #242422 !default;
$base02: #484844 !default;
$base03: #6c6c66 !default;
$base04: #918f88 !default;
$base05: #b5b3aa !default;
$base06: #d9d7cc !default;
$base07: #fdfbee !default;
$base08: #ff6c60 !default;
$base09: #e9c062 !default;
$base0a: #ffffb6 !default;
$base0b: #a8ff60 !default;
$base0c: #c6c5fe !default;
$base0d: #96cbfe !default;
$base0e: #ff73fd !default;
$base0f: #b18a3d !default;
.page__content {
.notice,
.notice--primary,
.notice--info,
.notice--warning,
.notice--success,
.notice--danger {
color: $text-color;
}
}
.page__footer {
color: #fff !important; // override
}
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+42
View File
@@ -0,0 +1,42 @@
/* ==========================================================================
Dark skin
========================================================================== */
/* Colors */
$background-color: #252a34 !default;
$text-color: #eaeaea !default;
$primary-color: #00adb5 !default;
$border-color: mix(#fff, $background-color, 20%) !default;
$code-background-color: mix(#000, $background-color, 15%) !default;
$code-background-color-dark: mix(#000, $background-color, 20%) !default;
$form-background-color: mix(#000, $background-color, 15%) !default;
$footer-background-color: mix(#000, $background-color, 30%) !default;
$link-color: mix($primary-color, $text-color, 40%) !default;
$link-color-hover: mix(#fff, $link-color, 25%) !default;
$link-color-visited: mix(#000, $link-color, 25%) !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* dark syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
$base02: #d0d0d0 !default;
$base03: #b0b0b0 !default;
$base04: #000000 !default;
$base05: #101010 !default;
$base06: #151515 !default;
$base07: #202020 !default;
$base08: #ff0086 !default;
$base09: #fd8900 !default;
$base0a: #aba800 !default;
$base0b: #00c918 !default;
$base0c: #1faaaa !default;
$base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}

Some files were not shown because too many files have changed in this diff Show More