Compare commits

..
418 Commits
Author SHA1 Message Date
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
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 5267be3bf1 Merge branch 'hotfix/3.2.10' 2016-06-21 14:51:49 -04:00
Michael Rose 32e66c7856 Update CHANGELOG and bump version to 3.2.10 2016-06-21 14:51:29 -04:00
Michael Rose 7a519e8c34 Add contributing guidelines 2016-06-21 14:50:13 -04:00
Michael Rose dbd1818cb9 Merge branch 'release/3.2.9' into develop 2016-06-13 12:27:26 -04:00
Michael Rose 7be7490c7f Merge branch 'release/3.2.9' 2016-06-13 12:27:21 -04:00
Michael Rose f997b7e744 Update CHANGELOG and bump version to 3.2.9 2016-06-13 12:27:05 -04:00
Michael Rose 13c3014ef9 Merge branch 'feature/og-overlay-image' into develop 2016-06-13 12:17:46 -04:00
Michael Rose 9524b60f7e Merge branch 'master' of https://github.com/jhabdas/minimal-mistakes into feature/og-overlay-image 2016-06-13 12:14:29 -04:00
Josh Habdas beaaa884ff Use header overlay images for Open Graph image 2016-06-13 11:03:48 -05:00
Michael Rose 66553093d6 Update github-pages gem and dependencies 2016-06-13 10:44:58 -04:00
Michael Rose cd019f496c Remove minutes_read to avoid awkward reading time wording
- Issue #356
2016-06-13 10:25:15 -04:00
Michael Rose b8934b19a9 Merge branch 'release/3.2.8' 2016-06-12 22:31:53 -04:00
Michael Rose f95f725c50 Merge branch 'release/3.2.8' into develop 2016-06-12 22:31:53 -04:00
Michael Rose 309c1f32e8 Update CHANGELOG and bump version to 3.2.8 2016-06-12 22:31:46 -04:00
Michael Rose 166b8f71bb Remove pointer cursor on author__urls that appears on white-space surrounding links.
- Close #354
2016-06-12 22:27:14 -04:00
Michael Rose 26f92debe1 Add contributing info to README
- Close #357
2016-06-12 22:26:18 -04:00
Michael Rose bf0e0df084 Merge branch 'release/3.2.7' into develop 2016-06-10 14:21:58 -04:00
Michael Rose e79d4e2a5a Merge branch 'release/3.2.7' 2016-06-10 14:21:54 -04:00
Michael Rose 0c86bb7e50 Update CHANGELOG and bump version to 3.2.7 2016-06-10 14:21:38 -04:00
Michael Rose 6f708cc505 Merge branch 'feature/yandex-alexa-patch' into develop 2016-06-10 14:18:27 -04:00
Michael Rose 427ff7d123 Merge branch 'patch-1' of https://github.com/jhabdas/minimal-mistakes into feature/yandex-alexa-patch 2016-06-10 14:17:56 -04:00
Michael Rose 866da4b829 Merge branch 'feature/fr-ui-text' into develop 2016-06-10 14:16:40 -04:00
Michael Rose 92faaaacdf Merge branch 'ui_texts' of https://github.com/flohw/minimal-mistakes into feature/fr-ui-text 2016-06-10 14:15:55 -04:00
Josh Habdas f3e5e0dafd Fix branch logic for Yandex and Alexa. Closes #347 2016-06-09 11:56:40 -05:00
Flohw 17eada19f7 Add missing translation 2016-06-08 19:27:09 +02:00
Flohw 5dc5156983 Add french translations 2016-06-08 19:07:38 +02:00
Michael Rose 66f0b6e099 Add Discourse link to README 2016-06-07 11:45:04 -04:00
Michael Rose 2c4f1d2614 Add Discourse link to README 2016-06-07 11:44:44 -04:00
Michael Rose d08f3fc6da Merge branch 'hotfix/3.2.6' into develop 2016-06-07 11:34:49 -04:00
Michael Rose 5615f4c67f Merge branch 'hotfix/3.2.6' 2016-06-07 11:34:45 -04:00
Michael Rose 469fb46786 Update CHANGELOG and bump version to 3.2.6 2016-06-07 11:34:30 -04:00
Michael Rose f509db2177 Rename undefined_words_per_minute variable to match one set in ui-text.yml
- Remove extra white-space
- Close #317
2016-06-07 11:32:11 -04:00
Michael Rose 6bd7f637f3 Merge branch 'develop' of https://github.com/Scot3004/new into hotfix/3.2.6 2016-06-07 11:29:54 -04:00
Michael Rose a0082b1e1b Update README screenshots 2016-06-07 09:01:55 -04:00
Michael Rose 17058f6075 Update README screenshots 2016-06-07 09:01:38 -04:00
Sergio C. Orozco Torres 01cfcf0f3b Undefined word_per_minutes parameter division by zero
If the parameter words_per_minute at _config.yml is not defined and the template says that must show read_time then will be divide a number by zero, a fix is verify that parameter and show a message when this is empty or zero. already localized for spanish
2016-06-07 01:03:59 -05:00
Michael Rose 763ee0bfff Merge branch 'hotfix/3.2.5' 2016-06-06 22:30:48 -04:00
Michael Rose 1510947bf6 Merge branch 'hotfix/3.2.5' into develop 2016-06-06 22:30:48 -04:00
Michael Rose 1b384c2016 Update CHANGELOG and bump version to 3.2.5 2016-06-06 22:30:18 -04:00
Michael Rose 1b142507c3 Fix link color in hero overlay 2016-06-06 22:28:51 -04:00
Michael Rose 9d27604578 Remove border from archive items' headings 2016-06-06 22:28:33 -04:00
Michael Rose c958701c50 Merge branch 'release/3.2.4' 2016-06-06 21:28:08 -04:00
Michael Rose fba1cb3ffa Merge branch 'release/3.2.4' into develop 2016-06-06 21:28:08 -04:00
Michael Rose e8596c5f62 Bump version to 3.2.4 2016-06-06 21:27:59 -04:00
Michael Rose a8715852bc Update CHANGELOG 2016-06-06 21:27:35 -04:00
Michael Rose ebccf63638 Merge branch 'feature/masthead-alignment' into develop 2016-06-06 21:17:23 -04:00
Michael Rose 4aa0631ac6 Build CSS 2016-06-06 21:17:06 -04:00
Michael Rose e6a5d24bc4 Add subtle border to <h2> elements in main content 2016-06-06 21:16:57 -04:00
Michael Rose b1c6d19acc Neutralize Font Awesome footer icons' color 2016-06-06 21:16:36 -04:00
Michael Rose a3322620ef Lighten font weight 2016-06-06 21:02:11 -04:00
Michael Rose 8cd5be2107 Add border and background color to page footer 2016-06-06 21:01:54 -04:00
Michael Rose 2e2e42d1f0 Move custom footer into <footer> 2016-06-06 15:16:43 -04:00
Michael Rose ad303b9484 Left align hero overlay and archive features to flow better with left aligned layouts 2016-06-06 15:16:24 -04:00
Michael Rose df86cb62c2 Left align masthead and footer 2016-06-06 15:15:20 -04:00
Michael Rose 972e55c938 Merge branch 'feature/css-edits' into develop 2016-06-06 12:16:41 -04:00
Michael Rose db869e8274 Increase font size of archive item titles in list view 2016-06-06 12:11:52 -04:00
Michael Rose f497183b2a Fix alignment of icons used in author profile sidebar links
- Close #341
2016-06-06 12:08:45 -04:00
Michael Rose 1c8bfa3fe6 Merge branch 'feature/spanish-localization' into develop 2016-06-06 12:03:19 -04:00
Sergio C. Orozco Torres dcb880ee9e Typo in locale es_CO and es_ES 2016-06-04 16:29:58 -05:00
Sergio C. Orozco Torres 5bd8ed99d6 Added spanish on ui-text.yml
on ui-text.yml
2016-06-04 04:33:00 -05:00
Michael Rose 4249b87c66 Merge branch 'release/3.2.3' into develop 2016-06-03 15:04:31 -04:00
Michael Rose a7b749650e Merge branch 'release/3.2.3' 2016-06-03 15:04:27 -04:00
Michael Rose 89c252e347 Update CHANGELOG 2016-06-03 15:04:09 -04:00
Michael Rose 400111c58b Merge branch 'feature/discourse-comments' into develop 2016-06-03 12:03:34 -04:00
Michael Rose 5bbf801d8c Remove last blank line 2016-06-03 12:03:19 -04:00
Michael Rose d9ac4a7940 Merge branch 'feature-discourse-comments' of https://github.com/rriemann/minimal-mistakes into feature/discourse-comments 2016-06-03 12:01:08 -04:00
Michael Rose b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Robert Riemann e186ee3650 take into account an optional basepath 2016-06-03 10:57:52 +02:00
Robert Riemann f6f7d0cd97 javascript to embed comments from discourse forum
The comment system can be changed to embed topics from the Discourse
forum software: http://discourse.org/

More details: https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963
2016-06-03 00:34:14 +02:00
Michael Rose 9b833feb7d Update CHANGELOG 2016-06-01 21:53:35 -04:00
Michael Rose 8b793dde76 Update CHANGELOG 2016-06-01 21:53:03 -04:00
Michael Rose 449051d9c9 Merge branch 'release/3.2.2' into develop 2016-06-01 21:33:54 -04:00
Michael Rose 5bc7f00f91 Merge branch 'release/3.2.2'
# Conflicts:
#	CHANGELOG.md
2016-06-01 21:32:55 -04:00
Michael Rose 34d2bdf049 Update CHANGELOG 2016-06-01 21:31:45 -04:00
Michael Rose b7185c8155 Add support for gallery image captions in Magnific Popup overlays
- Apply optional `title` attribute to image anchors that trigger Magnific Popup overlays
- Close #334
2016-06-01 21:26:14 -04:00
Michael Rose 9fa7b23507 Update CHANGELOG 2016-05-31 12:37:41 -04:00
Michael Rose 2a05b6e907 Update CHANGELOG 2016-05-31 12:37:17 -04:00
Michael Rose 952f7b500b Merge branch 'hotfix/3.2.1' into develop 2016-05-31 12:32:09 -04:00
Michael Rose 15f4ac9641 Merge branch 'hotfix/3.2.1' 2016-05-31 12:32:04 -04:00
Michael Rose 68b02cd8d8 Use CSS3 transform instead of change in width for masthead menu underline effect 2016-05-31 12:31:39 -04:00
Michael Rose 213e2fe3f3 Update gems 2016-05-31 12:22:57 -04:00
Michael Rose cec8d40bc1 Add issue template for GitHub 2016-05-31 11:57:10 -04:00
Michael Rose 63aa6104a8 Remove >>>>>> conflict text from CHANGELOG 2016-05-31 11:03:27 -04:00
Michael Rose 87baf36b3a Merge branch 'release/3.2.0' into develop 2016-05-29 21:16:16 -04:00
Michael Rose 02f0e8c6c4 Merge branch 'release/3.2.0' 2016-05-29 21:16:16 -04:00
Michael Rose 9a8eea6e14 Update CHANGELOG 2016-05-29 21:15:54 -04:00
Michael Rose f1a7470d3b Merge branch 'feature/update-dependencies' into develop 2016-05-29 21:13:09 -04:00
Michael Rose 45f3a7a8ee Rename tag/category archive variables to avoid possible conflicts with site.tags and site.categories
- Fixes #329
2016-05-29 21:12:24 -04:00
Michael Rose 21d15c9cf9 Update gems 2016-05-29 20:44:33 -04:00
Michael Rose 28f85dfc4d Merge branch 'release/3.1.8' into develop 2016-05-16 09:57:08 -04:00
Michael Rose 3812f708fa Merge branch 'release/3.1.8' 2016-05-16 09:57:04 -04:00
Michael Rose 8e5d47d82f Update CHANGELOG 2016-05-16 09:56:47 -04:00
Michael Rose 86d08455e8 Remove duplicate fa-twitter and fa-twitter-square classes from _utilities.scss
- Fixes #302
2016-05-16 09:48:16 -04:00
Michael Rose 55efbd1782 Make page.title conditional in <h1>
- Fix #312
2016-05-16 09:42:16 -04:00
Michael Rose 6a3d24dac9 Merge branch 'release/3.1.7' into develop 2016-05-13 10:43:07 -04:00
Michael Rose d285f9d7bd Merge branch 'release/3.1.7' 2016-05-13 10:43:03 -04:00
Michael Rose 22a232365a Update CHANGELOG 2016-05-13 10:42:47 -04:00
Michael Rose c1a37c72c9 Merge branch 'feature/translate-recent-posts-title' into develop 2016-05-13 10:40:01 -04:00
Michael Rose ab2f7043b1 Merge branch 'master' of https://github.com/flohw/minimal-mistakes into feature/translate-recent-posts-title 2016-05-13 10:38:29 -04:00
Michael Rose 500ed4453f Merge branch 'feature/underline-fix' into develop 2016-05-13 10:37:41 -04:00
Michael Rose cfc32ac5e5 Merge branch 'fix-ws' of https://github.com/tobie/minimal-mistakes into feature/underline-fix 2016-05-13 10:33:47 -04:00
Flohw ee25653da2 Translate index page title 2016-05-13 07:24:06 +02:00
Michael Rose d80c24629f Merge branch 'release/3.1.6' into develop 2016-05-10 08:27:04 -04:00
Michael Rose aceb6cdd7f Merge branch 'release/3.1.6' 2016-05-10 08:27:01 -04:00
Michael Rose 5385a84205 Bump version to 3.1.6 2016-05-10 08:26:45 -04:00
Michael Rose 188e0e8911 Update dependencies 2016-05-10 08:24:26 -04:00
Tobie Langel 9582a1b117 Fix whitespace issue using CSS. 2016-05-05 23:43:04 +02:00
Michael Rose efb4d14248 Merge branch 'release/3.1.5' into develop 2016-05-02 11:55:00 -04:00
Michael Rose 7b7bafe3a4 Merge branch 'release/3.1.5' 2016-05-02 11:54:55 -04:00
Michael Rose ed2b26461d Update CHANGELOG for 3.1.5 2016-05-02 11:54:34 -04:00
Michael Rose 95fc1b7259 Merge branch 'feature/fix-www-author-profile' into develop 2016-05-02 11:52:47 -04:00
Michael Rose 7b070cb3ae Merge branch 'Issue-292-fix-www-in-links-to-social-media' of https://github.com/wilsonmar/minimal-mistakes into feature/fix-www-author-profile 2016-05-02 11:51:57 -04:00
Michael Rose 0109c385d7 Merge branch 'release/3.1.4' into develop 2016-05-02 11:45:37 -04:00
Michael Rose 9bfa6bbb84 Merge branch 'release/3.1.4' 2016-05-02 11:45:32 -04:00
Michael Rose 2b77f7516c Update changelog 2016-05-02 11:45:01 -04:00
Michael Rose 557fbfb059 Merge branch 'feature/overlay-filter' into develop 2016-05-02 11:42:03 -04:00
Michael Rose b59de95b62 Merge branch 'tobie-hero-filter' of https://github.com/tobie/minimal-mistakes into feature/overlay-filter 2016-05-02 11:40:47 -04:00
Tobie Langel 1edfcea306 Style fixes 2016-05-02 14:25:26 +02:00
Tobie Langel f077ec4343 Add overlay_filter param to hero headers
The `overlay_filter` param lets you darken or otherwise filter the hero header picture to make the text content pop out more.

You can use it by specifying the opacity (between 0 and 1) of a black overlay like so:

```yaml
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
header:
  overlay_image: unsplash-image-1.jpg
  overlay_filter: 0.5 # same as adding an opacity of 0.5 to a black background
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_label: "More Info"
  cta_url: "https://unsplash.com"
```

Or if you want to do more fancy things, go full rgba: 

```yaml
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
header:
  overlay_image: unsplash-image-1.jpg
  overlay_filter: rgba(255, 0, 0, 0.5)
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_label: "More Info"
  cta_url: "https://unsplash.com"
```
2016-05-02 13:59:31 +02:00
Wilson Mar cd795c44a2 Update author-profile.html for issue 292
This changes some http to https and add www.
All to avoid extra redirect that slows display.
Link to YouTube also added.
2016-04-28 09:28:51 -06:00
Wilson Mar c7c5d9888f Update author-profile.html 2016-04-28 09:21:28 -06:00
Michael Rose d584eb42d2 Merge branch 'release/3.1.3' into develop 2016-04-27 10:58:11 -04:00
748 changed files with 29982 additions and 825 deletions
+11
View File
@@ -0,0 +1,11 @@
# Contributing
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
## 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.
+45
View File
@@ -0,0 +1,45 @@
<!--
Before submitting please search open and closed issues at
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.
-->
- [ ] 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.
- [ ] I have updated all gems with `bundle update`.
- [ ] I have tested locally with `bundle exec jekyll build`.
---
## Environment informations
<!--
Please include theme version, `github-pages --version`, and the operating system you are on or tested with.
-->
- **Minimal Mistakes version:**
- **`github-pages` or `jekyll` gem version:**
- **Operating system:**
---
## Expected behavior
<!--
Describe the intended output or what you expected to see.
-->
## 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.
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.
Screenshots can also be included if they help illustrate a behavior.
-->
+4
View File
@@ -1,10 +1,14 @@
*.gem
*.sublime-project
*.sublime-workspace
.bundle
.DS_Store
.jekyll-metadata
.sass-cache
_asset_bundler_cache
_site
codekit-config.json
example/_site
Gemfile.lock
node_modules
npm-debug.log*
+440 -3
View File
@@ -1,3 +1,441 @@
## [4.0.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.8)
### Bug Fixes
- Set default value for `words_per_minute`. [#657](https://github.com/mmistakes/minimal-mistakes/issues/657)
- Adjust sidebar navigation list CSS so it collapses at the correct width.
### Maintenance
- Add Google AdSense banner to `/docs/_layouts/default.html` for demo site.
## [4.0.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.7)
### Enhancements
- Add `!default` values to **_sass/_variables.scss**.
- Collapse sidebar navigation lists on smaller screens. [#607](https://github.com/mmistakes/minimal-mistakes/issues/607)
### Bug Fixes
- Rename `#comments` to something more unique to avoid clashes with Kramdown generated headline IDs. [#582](https://github.com/mmistakes/minimal-mistakes/issues/582)
### Maintenance
- Reorganize SCSS partials in **assets/css/main.scss**
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
### Enhancements
- Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
- Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
### Bug Fixes
- Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
### Maintenance
- Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
- Add `rake preview` task for testing `/test` during theme development.
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
### Enhancements
- Update gems: `jekyll-sitemap` (0.12), `jekyll-feed` (0.8).
- Improve next/previous pager links visibility by changing gray color to blue (`$link-color`).
### Bug Fixes
- Fix `.sidebar` flicker/jump when hovered. [#583](https://github.com/mmistakes/minimal-mistakes/issues/583)
### Maintenance
- Move contents of `gh-pages` branch to `master` inside of the `/docs` folder.
## [4.0.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.4)
### Enhancements
- "Gemify" theme ~> `gem "minimal-mistakes-jekyll"`
- Replace `base_path` include with `absolute_url` filter where possible.
- Allow images to be placed in other folders. Remove `/images/` only restriction and encourage placement in `/assets/images/` instead. **Full paths are now required. If upgrading from MM 3.4 add `/images/` before filenames in Front Matter and `_config.yml` variables.**
- Add [home `layout`](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/home.html)
- Added missing Turkish translations for UI text. [#621](https://github.com/mmistakes/minimal-mistakes/pull/621)
- Make author avatar optional in sidebar.
- Update **/_includes/seo.html** for meta description. [#558](https://github.com/mmistakes/minimal-mistakes/pull/558)
### Bug Fixes
- Fix navigation bar animation "flicker" in Safari [#568](https://github.com/mmistakes/minimal-mistakes/issues/568)
- Fix `author.avatar` paths for externally hosted images.
### Maintenance
- Add documentation around `gem "minimal-mistakes-jekyll"` installation and use.
- Add note about using full image paths for eg. `assets/images/filename.jpg` (header images, overlays, galleries, feature rows, etc.) instead of assuming they will always be in `/images/`.
- Add "[Overriding Theme Defaults](https://mmistakes.github.io/minimal-mistakes/docs/overriding-theme-defaults/)" page to documentation.
## [3.4.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.8)
### Enhancements
- Improve type readability for larger viewports by bumping up base `font-size`. [#533](https://github.com/mmistakes/minimal-mistakes/issues/533)
- Update Portuguese localized UI text. [#541](https://github.com/mmistakes/minimal-mistakes/pull/541)
- Add `page.title` and via parameter to Twitter share link. [#538](https://github.com/mmistakes/minimal-mistakes/pull/538)
### Bug Fixes
- Fix Last.fm author profile URL. [#540](https://github.com/mmistakes/minimal-mistakes/pull/540)
### Maintenance
- Move Brazilian Portuguese localized text under `pt-BR` key.
## [3.4.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.7)
### Enhancements
- Add `layout` based and user-defined class names to `<body>` element for added CSS hooks. [#526](https://github.com/mmistakes/minimal-mistakes/pull/526)
- Add simplified Chinese localized UI text. [#532](https://github.com/mmistakes/minimal-mistakes/pull/532)
### Bug Fixes
- Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
### Enhancements
- Add Italian "comments" related localized UI text. [#514](https://github.com/mmistakes/minimal-mistakes/pull/514)
### Bug Fixes
- Disable `compress` HTML layout by default. To enable add `layout: compress` to `_layouts/default.html`.
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)
### Enhancements
- Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
- Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)
### Bug Fixes
- Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)
### Maintenance
- Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
- Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
- Add `{% highlight %}` code block examples to demo site.
- Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)
## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4)
### Enhancements
- Add French "comments" related localized UI text. [#472](https://github.com/mmistakes/minimal-mistakes/pull/472)
### Bug Fixes
- Exclude `vendor` in Jekyll config file.
- Fix Liquid syntax error for offending parenthesis. [#479](https://github.com/mmistakes/minimal-mistakes/issues/479)
### Maintenance
- Update gems: `colorator` (1.1.0), `forwardable-extended` (2.6.0), `github-pages` (93), `jekyll` (= 3.2.1), `minima` (= 1.0.1).
## [3.4.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.3)
### Enhancements
- Make ["honeypot" `input`](https://github.com/mmistakes/minimal-mistakes/commit/06a8249a69a37dddda7e2a5bfbe32056c1a9a607) in Staticman comment form less obvious to spam bots
- Add padding to `.highlight` code blocks to better [align `overflow` scrollbar](https://github.com/mmistakes/minimal-mistakes/commit/e4abec0a6f7f8cff72505ca0754615df294fd5b3) to the bottom.
- Add additional image options for Twitter card social sharing meta tags. [#466](https://github.com/mmistakes/minimal-mistakes/pull/466)
- Add structured data markup for Staticman comments. [#458](https://github.com/mmistakes/minimal-mistakes/issues/458)
### Bug Fixes
- Format `og:locale` tag with `_` instead of `-`. [#462](https://github.com/mmistakes/minimal-mistakes/issues/462)
### Maintenance
- Add note to docs about using `url: http://localhost:4000` when working locally.
## [3.4.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.2)
### Enhancements
- Improve UX of static comment forms. [#448](https://github.com/mmistakes/minimal-mistakes/issues/448)
## [3.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.1)
### Enhancements
- Add `staticman.filename` configuration with UNIX timestamp for sorting data files. example ~> `comment-1470943149`.
### Bug Fixes
- Don't add `<a>` to author name if URL is blank.
## [3.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.0)
### Enhancements
- Support static-based commenting via [Staticman](https://staticman.net/) for sites hosted with GitHub Pages. [#424](https://github.com/mmistakes/minimal-mistakes/issues/424)
## [3.3.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.7)
### Bug Fixes
- Re-enabled Jekyll plugins in `_config.yml` in case they aren't autoloaded in `Gemfile`. [#417](https://github.com/mmistakes/minimal-mistakes/issues/417)
### Enhancements
- Fallback to `site.github.url` for use in `{{ base_path }}` when `site.url` is `nil`.
- Replace Sass and Autoprefixer `npm` build scripts with [Jekyll's built-in asset support](https://jekyllrb.com/docs/assets/). [#333](https://github.com/mmistakes/minimal-mistakes/issues/333)
### Maintenance
- Document `site.repository` and its role with [`github-metadata`](https://github.com/jekyll/github-metadata) gem.
- Add sample [archive page with content](https://mmistakes.github.io/minimal-mistakes/archive-layout-with-content/) for testing styles on demo site.
## [3.3.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.6)
### Bug Fixes
- Fix blank `site.teaser` bug. [#412](https://github.com/mmistakes/minimal-mistakes/issues/412)
## [3.3.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.5)
### Enhancements
- Add English default text `site.locale` strings. [#407](https://github.com/mmistakes/minimal-mistakes/issues/407)
- Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411)
- Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409)
### Maintenance
- Remove unused Google AdSense variables in `_config.yml`. [#404](https://github.com/mmistakes/minimal-mistakes/issues/404)
- Update `Gemfile` instructions for using `github-pages` vs. native `jekyll` gems.
- Disable `gems:` in `_config.yml` and enable plugins with Bundler instead.
- Add `repository` to `_config.yml` to suppress GitHub Pages error `Liquid Exception: No repo name found.`
## [3.3.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.4)
### Enhancements
- Add support for configurable feed URL to use a service like FeedBurner instead of linking directly to `feed.xml` in `<head>` and the site footer. [#378](https://github.com/mmistakes/minimal-mistakes/issues/378), [#379](https://github.com/mmistakes/minimal-mistakes/pull/379), [#406](https://github.com/mmistakes/minimal-mistakes/pull/406)
- Add Turkish localized UI text. [#403](https://github.com/mmistakes/minimal-mistakes/pull/403)
### Maintenance
- Update gems: `activesupport` (4.2.7), `ffi` (1.9.14), `github-pages` (88), `jekyll-redirect-from` (0.11.0), `jekyll-watch` (1.5.0).
## [3.3.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.3)
### Enhancements
- Make footer stick to the bottom of the page.
### Bug Fixes
- Fix `gallery` size bug [#402](https://github.com/mmistakes/minimal-mistakes/issues/402)
### Maintenance
- Set default `lang` to `en`.
## [3.3.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.2)
### Bug Fixes
- Fix JavaScript that triggers "sticky" sidebar to avoid layout issues on screen sizes < `1024px`. [#396](https://github.com/mmistakes/minimal-mistakes/issues/396)
## [3.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.1)
### Enhancements
- Enable image popup on < 500px wide screens. [#385](https://github.com/mmistakes/minimal-mistakes/issues/385)
- Indicate the relationship between component URLs in a paginated series by applying `rel="prev"` and `rel="next"` to pages that use `site.paginator`. [#253](https://github.com/mmistakes/minimal-mistakes/issues/253)
- Improve link posts in archive listings. [#276](https://github.com/mmistakes/minimal-mistakes/issues/276)
### Maintenance
- Update gems: `github-pages` (86), `ffi` 1.9.13, `jekyll-mentions` 1.1.3, and `rouge` 1.11.1
- Fix note about custom sidebar content appearing below author profile. [#388](https://github.com/mmistakes/minimal-mistakes/issues/388)
## [3.2.13](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.13)
### Enhancements
- Add English default UI text for Canada, Great Britain, and Australia. [#377](https://github.com/mmistakes/minimal-mistakes/issues/377)
- Switch default locale from `en-US` to `en`.
## [3.2.12](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.12)
### Enhancements
- Remove window width "magic number" from sticky sidebar check in `main.js` for improved flexibility. [#375](https://github.com/mmistakes/minimal-mistakes/pull/375)
### Bug Fixes
- Fix author override conditional where a missing `authors.yml` would show broken sidebar content. Defaults to `site.author`. [#376](https://github.com/mmistakes/minimal-mistakes/pull/376)
## [3.2.11](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.11)
### Bug Fixes
- Fix disappearing author sidebar links [#372](https://github.com/mmistakes/minimal-mistakes/issues/372)
### Maintenance
- Update gems: `github-pages` (84), `jekyll-github-metadata` 2.0.2, and `kramdown` 1.11.1
- Update vendor JavaScript: jQuery 1.12.4, Stickyfill.js 1.1.4
- Update Font Awesome 4.6.3
## [3.2.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.10)
### Maintenance
- Add `CONTRIBUTING.md`
## [3.2.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.9)
### Enhancements
- Add support for [header overlay images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay) for Open Graph images. [#358](https://github.com/mmistakes/minimal-mistakes/pull/358)
### Bug Fixes
- Fix `Person` typo Schema.org type [#358](https://github.com/mmistakes/minimal-mistakes/pull/358)
### Maintenance
- Update `github-pages` gem and dependencies.
- Remove `minutes_read` to avoid awkward reading time wording [#356](https://github.com/mmistakes/minimal-mistakes/issues/356)
## [3.2.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.8)
### Bug Fixes
- Remove `cursor: pointer` that appears on white-space surrounding author side list items and links. [#354](https://github.com/mmistakes/minimal-mistakes/pull/354)
### Maintenance
- Add contributing information to `README.md`. [#357](https://github.com/mmistakes/minimal-mistakes/issues/357)
## [3.2.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.7)
### Enhancements
- Add French localized UI text. [#346](https://github.com/mmistakes/minimal-mistakes/pull/346)
### Bug Fixes
- Fix branch logic for Yandex and Alexa in `seo.html`. [#348](https://github.com/mmistakes/minimal-mistakes/pull/348)
## [3.2.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.6)
### Bug Fixes
- Fix error `Liquid Exception: divided by 0 in _includes/archive-single.html, included in _layouts/single.html` caused by null `words_per_minute` in `_config.yml`. [#345](https://github.com/mmistakes/minimal-mistakes/pull/345)
## [3.2.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.5)
### Bug Fixes
- Fix link color in hero overlay to be white.
- Remove underlines from archive item titles.
## [3.2.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.4)
### Enhancements
- Improve text alignment of masthead, hero overlay, page footer to be flush left and remove awkward white-space gaps. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
- Add Spanish localized UI text. [#338](https://github.com/mmistakes/minimal-mistakes/pull/338)
### Bug Fixes
- Fix alignment of icons in author sidebar [#341](https://github.com/mmistakes/minimal-mistakes/issues/341)
### Maintenance
- Add background color to page footer to set it apart from main content. [#342](https://github.com/mmistakes/minimal-mistakes/issues/342)
- Add terms and privacy policy to theme's demo site. [#343](https://github.com/mmistakes/minimal-mistakes/issues/343)
- Update screenshots found in theme documentation.
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
### Enhancements
- Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
### Enhancements
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper. [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
## [3.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.1)
### Bug Fixes
- Remove need for "double tapping" masthead menu links on iOS devices. [#315](https://github.com/mmistakes/minimal-mistakes/issues/315)
### Maintenance
- Add `ISSUE_TEMPLATE.md` for improve issue submission process.
## [3.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.0)
### Bug Fixes
- Fix missing category/tag links in post footer due to possible conflict with `site.tags` and `site.categories`. [#329](https://github.com/mmistakes/minimal-mistakes/issues/329#issuecomment-222375568)
## [3.1.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.8)
### Bug Fixes
- Fix `Liquid Exception: undefined method 'gsub' for nil:NilClass in _layouts/single.html` error when `page.title` is null. `<h1>` element is now conditional if `title: ` is not set for a `page` or collection item. [#312](https://github.com/mmistakes/minimal-mistakes/issues/312)
### Maintenance
- Remove duplicate `fa-twitter` and `fa-twitter-square` classes from `_utilities.scss`. [#302](https://github.com/mmistakes/minimal-mistakes/issues/302)
- Document installing additional Jekyll gem dependencies when using `gem "jekyll"` instead of `gem "github-pages"` to avoid any errors on run. [#305](https://github.com/mmistakes/minimal-mistakes/issues/305)
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
### Enhancements
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
### Maintenance
- Small fix to avoid underlying the whitespace between icons and related text when hovering. [#303](https://github.com/mmistakes/minimal-mistakes/pull/303)
## [3.1.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.6)
### Maintenance
- Update gem dependencies. Run `bundle` to update `Gemfile.lock`.
## [3.1.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.5)
### Maintenance
- Fix `www` and `https` links in author profile include [#293](https://github.com/mmistakes/minimal-mistakes/pull/293)
## [3.1.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.4)
### Enhancements
- Add overlay_filter param to hero headers [#298](https://github.com/mmistakes/minimal-mistakes/pull/298)
## [3.1.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.3)
### Enhancements
@@ -15,7 +453,7 @@
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
### Enhancement
### Enhancements
- Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
- Reduce left/right padding on smaller screens to increase width of main content column.
@@ -40,7 +478,6 @@
### Bug Fixes
- Fixed Bitbucket URL typo in author sidebar.
>>>>>>> release/3.1.0
## [3.0.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.0.3)
### Enhancements
@@ -211,4 +648,4 @@
- Google Analytics, Google Authorship, webmaster verifies, and Twitter card meta are now optional.
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
+1 -4
View File
@@ -1,5 +1,2 @@
source "https://rubygems.org"
gem "github-pages"
# gem "jekyll-archives"
gem "wdm", "~> 0.1.0" if Gem.win_platform?
gemspec
-139
View File
@@ -1,139 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
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.8.1)
ffi (>= 1.3.0)
execjs (2.6.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 (69)
RedCloth (= 4.2.9)
github-pages-health-check (= 1.1.0)
jekyll (= 3.0.3)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.4.0)
jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 1.11.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 (= 1.3.3)
jekyll-sitemap (= 0.10.0)
jekyll-textile-converter (= 0.1.0)
jemoji (= 0.6.2)
kramdown (= 1.10.0)
liquid (= 3.0.6)
mercenary (~> 0.3)
rdiscount (= 2.1.8)
redcarpet (= 3.3.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.0)
activesupport (>= 2, < 5)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.0.3)
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.4.0)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-github-metadata (1.11.0)
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 (1.3.3)
jekyll (~> 3.0)
jekyll-sitemap (0.10.0)
jekyll-textile-converter (0.1.0)
RedCloth (~> 4.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
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.0.0)
minitest (5.8.4)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
nokogiri (1.6.7.2-x64-mingw32)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
public_suffix (1.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rdiscount (2.1.8)
redcarpet (3.3.3)
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.5.2)
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.11.2
View File
+82 -17
View File
@@ -1,28 +1,33 @@
# Minimal Mistakes Jekyll Theme
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
[![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
See what's new in the [CHANGELOG](CHANGELOG.md).
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
[![Minimal Mistakes live preview][2]][1]
[1]: https://mmistakes.github.io/minimal-mistakes/
[2]: https://cloud.githubusercontent.com/assets/1376749/14562643/d83b96c0-02eb-11e6-98d6-473fbfd3bff6.jpg (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](https://cloud.githubusercontent.com/assets/1376749/14541626/dac474f4-0258-11e6-83f6-40e752028222.png)
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
### Notable Features
## Notable Features
- "Gemified" for easier install/upgrading
- Compatible with Jekyll 3.x and GitHub Pages
- Several layout options (single, archive, splash pages)
- Support for Jekyll's built-in Sass/SCSS preprocessor
- Several responsive layout options (single, archive index, splash, and paginated home page)
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
- 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+, and custom)
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom)
- 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](https://staticman.net/), and custom).
- [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Spanish, and Turkish
#### Demo Pages
## Demo Pages
| Name | Description |
| ------------------------------------------- | ----------------------------------------------------- |
@@ -34,7 +39,7 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
| [Categories Archive][categories-archive] | Posts grouped by category. |
| [Tags Archive][tags-archive] | Posts grouped by tags. |
For even more demo pages check the [posts archive][year-archive].
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
@@ -45,17 +50,75 @@ For even more demo pages check the [posts archive][year-archive].
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
## Usage
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
## Quick Start
Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "minimal-mistakes-jekyll"
```
Add this line to your Jekyll site's `_config.yml` file:
```yaml
theme: minimal-mistakes-jekyll
```
Then run Bundler to install the theme gem and dependencies:
```bash
bundle install
```
To update the theme run `bundle update`.
---
### Credits
## Contributing
#### Icons + Demo Images:
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
### 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.
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
## Development
To set up your environment to develop this theme, run `bundle install`.
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
---
## Credits
### Creator
**Michael Rose**
- <https://mademistakes.com>
- <https://twitter.com/mmistakes>
- <https://github.com/mmistakes>
### Icons + Demo Images:
- [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/)
- [Unsplash](https://unsplash.com/)
#### Other:
### Other:
- [Jekyll](http://jekyllrb.com/)
- [jQuery](http://jquery.com/)
@@ -69,6 +132,8 @@ For even more demo pages check the [posts archive][year-archive].
---
## License
The MIT License (MIT)
Copyright (c) 2016 Michael Rose
+75
View File
@@ -0,0 +1,75 @@
require "bundler/gem_tasks"
require "jekyll"
require "listen"
def listen_ignore_paths(base, options)
[
/_config\.ya?ml/,
/_site/,
/\.jekyll-metadata/
]
end
def listen_handler(base, options)
site = Jekyll::Site.new(options)
Jekyll::Command.process_site(site)
proc do |modified, added, removed|
t = Time.now
c = modified + added + removed
n = c.length
relative_paths = c.map{ |p| Pathname.new(p).relative_path_from(base).to_s }
print Jekyll.logger.message("Regenerating:", "#{relative_paths.join(", ")} changed... ")
begin
Jekyll::Command.process_site(site)
puts "regenerated in #{Time.now - t} seconds."
rescue => e
puts "error:"
Jekyll.logger.warn "Error:", e.message
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
end
end
end
task :preview do
base = Pathname.new('.').expand_path
options = {
"source" => base.join('test').to_s,
"destination" => base.join('test/_site').to_s,
"force_polling" => false,
"serving" => true,
"theme" => "minimal-mistakes-jekyll"
}
options = Jekyll.configuration(options)
ENV["LISTEN_GEM_DEBUGGING"] = "1"
listener = Listen.to(
base.join("_includes"),
base.join("_layouts"),
base.join("_sass"),
base.join("assets"),
options["source"],
:ignore => listen_ignore_paths(base, options),
:force_polling => options['force_polling'],
&(listen_handler(base, options))
)
begin
listener.start
Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options["source"]}'"
unless options['serving']
trap("INT") do
listener.stop
puts " Halting auto-regeneration."
exit 0
end
loop { sleep 1000 }
end
rescue ThreadError
# You pressed Ctrl-C, oh my!
end
Jekyll::Commands::Serve.process(options)
end
+52 -12
View File
@@ -6,26 +6,46 @@
# `jekyll serve`. If you change this file, please restart the server process.
# Site Settings
locale : "en-US"
locale : "en"
title : "Site Title"
title_separator : "-"
name : "Your Name"
description : "An amazing website."
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
baseurl : # the subpath of your site, e.g. "/blog"
gh_repo :
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
# breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : # false (default), "disqus", "facebook", "google-plus", custom"
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook:
# https://developers.facebook.com/docs/plugins/comments
appid :
num_posts : # 5 (default)
colorscheme : # "light" (default), "dark"
staticman:
allowedFields : ['name', 'email', 'url', 'message']
branch : "master"
commitMessage : "New comment."
filename : comment-{@timestamp}
format : "yml"
moderation : true
path : "docs/_data/comments/{options.slug}"
requiredFields : ['name', 'email', 'message']
transforms:
email : "md5"
generatedFields:
date:
type : "date"
options:
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
atom_feed:
path : # blank (default) uses feed.xml
# SEO Related
google_site_verification :
@@ -54,15 +74,11 @@ analytics:
google:
tracking_id :
# Google AdSense
google_ad_client :
google_ad_slot :
# Site Author
author:
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."
location : "Somewhere"
email :
@@ -81,7 +97,7 @@ author:
linkedin :
pinterest :
soundcloud :
stackoverflow : # http://stackoverflow.com/users/123456/username
stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
steam :
tumblr :
twitter :
@@ -98,6 +114,7 @@ include:
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- vendor
- .asset-cache
- .bundle
- .jekyll-assets-cache
@@ -118,6 +135,8 @@ exclude:
- Rakefile
- README
- tmp
- /docs # ignore Minimal Mistakes /docs
- /test # ignore Minimal Mistakes /test
keep_files:
- .git
- .svn
@@ -145,6 +164,12 @@ kramdown:
enable_coderay: false
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
@@ -179,10 +204,10 @@ whitelist:
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: /
categories:
category_archive:
type: liquid
path: /categories/
tags:
tag_archive:
type: liquid
path: /tags/
# https://github.com/jekyll/jekyll-archives
@@ -204,3 +229,18 @@ compress_html:
clippings: all
ignore:
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:
- title: "Quick-Start Guide"
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
- title: "About"
url: https://mmistakes.github.io/minimal-mistakes/
- title: "Sample Posts"
url: https://mmistakes.github.io/minimal-mistakes/year-archive/
- title: "Sample Pages"
url: https://mmistakes.github.io/minimal-mistakes/page-archive/
- title: "Sample Collections"
url: https://mmistakes.github.io/minimal-mistakes/collection-archive/
# - title: "About"
# url: https://mmistakes.github.io/minimal-mistakes/about/
# - title: "Sample Posts"
# url: /year-archive/
# - title: "Sample Collections"
# url: /collection-archive/
# - title: "Sitemap"
# url: /sitemap/
+406 -25
View File
@@ -3,33 +3,414 @@
# English (default)
# -----------------
en: &DEFAULT_EN
page : "Page"
pagination_previous : "Previous"
pagination_next : "Next"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
toc_label : "On This Page"
ext_link_label : "Direct Link"
less_than : "less than"
minute_read : "minute read"
minutes_read : "minutes read"
share_on_label : "Share on"
meta_label :
tags_label : "Tags:"
categories_label : "Categories:"
date_label : "Updated:"
comments_label : "Leave a Comment"
more_label : "Learn More"
related_label : "You May Also Enjoy"
follow_label : "Follow:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Website"
email_label : "Email"
page : "Page"
pagination_previous : "Previous"
pagination_next : "Next"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Toggle Menu"
toc_label : "On This Page"
ext_link_label : "Direct Link"
less_than : "less than"
minute_read : "minute read"
share_on_label : "Share on"
meta_label :
tags_label : "Tags:"
categories_label : "Categories:"
date_label : "Updated:"
comments_label : "Leave a Comment"
comments_title : "Comments"
more_label : "Learn More"
related_label : "You May Also Enjoy"
follow_label : "Follow:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Website"
email_label : "Email"
recent_posts : "Recent Posts"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Comment"
comment_form_md_info : "Markdown is supported."
comment_form_name_label : "Name"
comment_form_email_label : "Email address"
comment_form_website_label : "Website (optional)"
comment_btn_submit : "Submit Comment"
comment_btn_submitted : "Submitted"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..."
en-US:
<<: *DEFAULT_EN
en-UK:
en-CA:
<<: *DEFAULT_EN
en-GB:
<<: *DEFAULT_EN
en-AU:
<<: *DEFAULT_EN
# Spanish
# --------------
es: &DEFAULT_ES
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Siguiente"
breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/"
menu_label :
toc_label : "Contenidos"
ext_link_label : "Enlace"
less_than : "menos de"
minute_read : "minuto de lectura"
share_on_label : "Compartir"
meta_label :
tags_label : "Etiquetas:"
categories_label : "Categorías:"
date_label : "Actualizado:"
comments_label : "Comentar"
comments_title :
more_label : "Ver más"
related_label : "Podrías ver también"
follow_label : "Seguir:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Sitio web"
email_label : "Email"
recent_posts : "Entradas recientes"
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
comment_form_info :
comment_form_comment_label :
comment_form_md_info :
comment_form_name_label :
comment_form_email_label :
comment_form_website_label :
comment_btn_submit :
comment_btn_submitted :
comment_success_msg :
comment_error_msg :
loading_label :
es-ES:
<<: *DEFAULT_ES
es-CO:
<<: *DEFAULT_ES
# French
# -----------------
fr: &DEFAULT_FR
page : "Page"
pagination_previous : "Précédent"
pagination_next : "Suivant"
breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/"
menu_label :
toc_label : "Sur cette page"
ext_link_label : "Lien direct"
less_than : "plus petit que"
minute_read : "minute de lecture"
share_on_label : "Partager sur"
meta_label :
tags_label : "Tags :"
categories_label : "Catégories :"
date_label : "Mis à jour :"
comments_label : "Laisser un commentaire"
comments_title :
more_label : "Lire plus"
related_label : "Vous pourriez aimer"
follow_label : "Suivez moi"
feed_label : "Flux"
powered_by : "Propulsé par"
website_label : "Site"
email_label : "Email"
recent_posts : "Posts récents"
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
comments_title : "Commentaires"
comment_form_info : "Votre adresse email ne sera pas visible. Les champs obligatoires sont marqués"
comment_form_comment_label : "Commentaire"
comment_form_md_info : "Markdown est supporté."
comment_form_name_label : "Nom"
comment_form_email_label : "Adresse mail"
comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..."
fr-FR:
<<: *DEFAULT_FR
fr-BE:
<<: *DEFAULT_FR
fr-CH:
<<: *DEFAULT_FR
# Turkish
# -----------------
tr: &DEFAULT_TR
page : "Sayfa"
pagination_previous : "Önceki"
pagination_next : "Sonraki"
breadcrumb_home_label : "Ana Sayfa"
breadcrumb_separator : "/"
menu_label :
toc_label : "İçindekiler"
ext_link_label : "Doğrudan Bağlantı"
less_than : "Şu süreden az: "
minute_read : "dakika tahmini okuma süresi"
share_on_label : "Paylaş"
meta_label :
tags_label : "Etiketler:"
categories_label : "Kategoriler:"
date_label : "Güncelleme tarihi:"
comments_label : "Yorum yapın"
comments_title : "Yorumlar"
more_label : "Daha fazlasını öğrenin"
related_label : "Bunlar ilginizi çekebilir:"
follow_label : "Takip et:"
feed_label : "RSS"
powered_by : "Emeği geçenler: "
website_label : "Web sayfası"
email_label : "E-posta"
recent_posts : "Son yazılar"
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
comment_form_info : "Email adresiniz gösterilmeyecektir. Zorunlu alanlar işaretlenmiştir"
comment_form_comment_label : "Yorumunuz"
comment_form_md_info : "Markdown desteklenmektedir."
comment_form_name_label : "Adınız"
comment_form_email_label : "Email adresiniz"
comment_form_website_label : "Websiteniz (opsiyonel)"
comment_btn_submit : "Yorum Yap"
comment_btn_submitted : "Gönderildi"
comment_success_msg : "Yorumunuz için teşekkürler! Yorumunuz onaylandıktan sonra sitede gösterilecektir."
comment_error_msg : "Maalesef bir hata oluştu. Lütfen zorunlu olan tüm alanları doldurduğunuzdan emin olun ve sonrasında tekrar deneyin."
loading_label : "Yükleniyor..."
tr-TR:
<<: *DEFAULT_TR
# Portuguese
# -----------------
pt: &DEFAULT_PT
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Seguinte"
breadcrumb_home_label : "Início"
breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta Página"
ext_link_label : "Link Direto"
less_than : "menos de"
minute_read : "minutos de leitura"
share_on_label : "Partilhar no"
meta_label :
tags_label : "Etiquetas:"
categories_label : "Categorias:"
date_label : "Atualizado:"
comments_label : "Deixe um Comentário"
comments_title : "Comentários"
more_label : "Saber mais"
related_label : "Também pode gostar de"
follow_label : "Siga:"
feed_label : "Feed"
powered_by : "Feito com"
website_label : "Site"
email_label : "Email"
recent_posts : "Artigos Recentes"
undefined_wpm : "Parâmetro words_per_minute não definido em _config.yml"
comment_form_info : "O seu endereço email não será publicado. Os campos obrigatórios estão assinalados"
comment_form_comment_label : "Comentário"
comment_form_md_info : "Markdown é suportado."
comment_form_name_label : "Nome"
comment_form_email_label : "Endereço Email"
comment_form_website_label : "Site (opcional)"
comment_btn_submit : "Sumbeter Comentário"
comment_btn_submitted : "Submetido"
comment_success_msg : "Obrigado pelo seu comentário! Será visível no site logo que aprovado."
comment_error_msg : "Lamento, ocorreu um erro na sua submissão. Por favor verifique se todos os campos obrigatórios estão corretamente preenchidos e tente novamente."
loading_label : "A carregar..."
# Brazilian Portuguese
pt-BR:
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Próxima"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta página"
ext_link_label : "Link direto"
less_than : "meno que"
minute_read : "minutos de leitura"
share_on_label : "Compartilhe em"
meta_label :
tags_label : "Tags:"
categories_label : "Categorias:"
date_label : "Atualizado em:"
comments_label : "Deixe um comentário"
comments_title :
more_label : "Aprenda Mais"
related_label : "Você Talvez Goste Também"
follow_label : "Acompanhe em"
feed_label : "Feed"
powered_by : "Feito com"
website_label : "Site"
email_label : "Email"
recent_posts : "Postagens recentes"
undefined_wpm : "Parâmetro indefinido em word_per_minute no _config.yml"
comment_form_info :
comment_form_comment_label :
comment_form_md_info :
comment_form_name_label :
comment_form_email_label :
comment_form_website_label :
comment_btn_submit :
comment_btn_submitted :
comment_success_msg :
comment_error_msg :
loading_label :
pt-PT:
<<: *DEFAULT_PT
# Italian
# -----------------
it: &DEFAULT_IT
page : "Pagina"
pagination_previous : "Precedente"
pagination_next : "Prossima"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Indice della pagina"
ext_link_label : "Link"
less_than : "meno di"
minute_read : "minuto/i di lettura"
share_on_label : "Condividi"
meta_label :
tags_label : "Tags:"
categories_label : "Categorie:"
date_label : "Aggiornato:"
comments_label : "Scrivi un commento"
comments_title :
more_label : "Scopri di più"
related_label : "Potrebbe Piacerti Anche"
follow_label : "Segui:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Website"
email_label : "Email"
recent_posts : "Articoli Recenti"
undefined_wpm : "Parametro words_per_minute non definito in _config.yml"
comment_form_info : "Il tuo indirizzo email non sarà pubblicato. Sono segnati i campi obbligatori"
comment_form_comment_label : "Commenta"
comment_form_md_info : "Il linguaggio Markdown è supportato"
comment_form_name_label : "Nome"
comment_form_email_label : "Indirizzo email"
comment_form_website_label : "Sito Web (opzionale)"
comment_btn_submit : "Invia commento"
comment_btn_submitted : "Inviato"
comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
loading_label : "Caricamento..."
it-IT:
<<: *DEFAULT_IT
# Chinese (zh-CN Chinese - China)
# -----------------
zh: &DEFAULT_ZH
page : "页面"
pagination_previous : "向前"
pagination_next : "向后"
breadcrumb_home_label : "首页"
breadcrumb_separator : "/"
menu_label :
toc_label : "在本页上"
ext_link_label : "直接链接"
less_than : "少于"
minute_read : "分钟 阅读"
share_on_label : "分享"
meta_label :
tags_label : "标签:"
categories_label : "分类:"
date_label : "最新的:"
comments_label : "留下评论"
comments_title : "评论"
more_label : "了解更多"
related_label : "猜您还喜欢"
follow_label : "关注:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "网站"
email_label : "Email"
recent_posts : "最新文章"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Comment"
comment_form_md_info : "Markdown is supported."
comment_form_name_label : "Name"
comment_form_email_label : "Email address"
comment_form_website_label : "Website (optional)"
comment_btn_submit : "Submit Comment"
comment_btn_submitted : "Submitted"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..."
zh-CN:
<<: *DEFAULT_ZH
zh-HK:
<<: *DEFAULT_ZH
zh-SG:
<<: *DEFAULT_ZH
zh-TW:
<<: *DEFAULT_ZH
# German / Deutsch
# -----------------
de: &DEFAULT_DE
page : "Seite"
pagination_previous : "Vorherige"
pagination_next : "Nächste"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link"
less_than : "weniger als"
minute_read : "Minuten zum lesen"
share_on_label : "Teilen auf"
meta_label :
tags_label : "Tags:"
categories_label : "Kategorien:"
date_label : "Aktualisiert:"
comments_label : "Hinterlassen sie einen Kommentar"
comments_title : "Kommentare"
more_label : "Mehr anzeigen"
related_label : "Ihnen gefällt vielleicht auch"
follow_label : "Folgen:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Webseite"
email_label : "E-Mail"
recent_posts : "Aktuelle Beiträge"
undefined_wpm : "Undefinierter Parameter words_per_minute in _config.yml"
comment_form_info : "Ihre E-Mail Adresse wird nicht veröffentlicht. Benötigte Felder sind markiert"
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown wird unterstützt."
comment_form_name_label : "Name"
comment_form_email_label : "E-Mail Addresse"
comment_form_website_label : "Webseite (optional)"
comment_btn_submit : "Kommentar absenden"
comment_btn_submitted : "Versendet"
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut."
loading_label : "Lade..."
de-DE:
<<: *DEFAULT_DE
de-AT:
<<: *DEFAULT_DE
de-CH:
<<: *DEFAULT_DE
de-BE:
<<: *DEFAULT_DE
de-LI:
<<: *DEFAULT_DE
de-LU:
<<: *DEFAULT_DE
# Another locale
# --------------
# --------------
+30 -26
View File
@@ -1,34 +1,38 @@
{% include base_path %}
{% if post.header.teaser %}
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
{% 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 %}
<div class="{{ include.type | default: "list" }}__item">
{% if post.link %}
<a href="{{ post.link }}" target="_blank">
{% else %}
<a href="{{ base_path }}{{ post.url }}">
{% endif %}
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
{% if include.type == "grid" and teaser != blank %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "http" %}
"{{ teaser }}"
{% else %}
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
{% endif %}
alt="">
</div>
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | absolute_url }}"
{% endif %}
alt="">
</div>
{% endif %}
<h2 class="archive__item-title" itemprop="headline">
{% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
{% else %}
<a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
{% 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>
{% if post.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article>
</a>
</h2>
{% if post.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article>
</div>
+129 -40
View File
@@ -1,101 +1,190 @@
{% include base_path %}
{% if page.author %}
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
{% if page.author and site.data.authors[page.author] %}
{% assign author = site.data.authors[page.author] %}
{% else %}
{% assign author = site.author %}
{% endif %}
<div itemscope itemtype="http://schema.org/Person">
<div class="author__avatar">
{% if author.avatar contains "http" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}">
{% else %}
<img src="{{ author.avatar | prepend: "/images/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
{% if author.avatar %}
<div class="author__avatar">
{% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
{% else %}
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
{% endif %}
</div>
{% endif %}
<div class="author__content">
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
</p>
{% endif %}
</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">
<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">
{% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i>
<span itemprop="name"> {{ author.location }} </span>
</li>
{% endif %}
{% if author.uri %}
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label }}</a></li>
<li>
<a href="{{ author.uri }}" itemprop="url">
<i class="fa fa-fw fa-chain" aria-hidden="true"></i>
{{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a>
</li>
{% endif %}
{% if author.email %}
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label }}</a></li>
<li>
<a href="mailto:{{ author.email }}">
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i>
<meta itemprop="email" content="{{ author.email }}" />
{{ site.data.ui-text[site.locale].email_label | default: "Email" }}
</a>
</li>
{% endif %}
{% if author.keybase %}
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
<li><a href="https://keybase.io/{{ author.keybase }} " itemprop="sameAs">
<i class="fa fa-fw fa-key" aria-hidden="true"></i>
Keybase
</a></li>
{% endif %}
{% if author.twitter %}
<li><a href="http://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
<li><a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i>
Twitter
</a></li>
{% endif %}
{% if author.facebook %}
<li><a href="http://facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
<li><a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i>
Facebook
</a></li>
{% endif %}
{% if author.google_plus %}
<li><a href="http://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li>
<li><a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i>
Google+
</a></li>
{% endif %}
{% if author.linkedin %}
<li><a href="http://linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li>
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i>
LinkedIn
</a></li>
{% endif %}
{% if author.xing %}
<li><a href="http://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li>
<li><a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i>
XING
</a></li>
{% endif %}
{% if author.instagram %}
<li><a href="http://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
<li><a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i>
Instagram
</a></li>
{% endif %}
{% if author.tumblr %}
<li><a href="http://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li>
<li><a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i>
Tumblr
</a></li>
{% endif %}
{% if author.bitbucket %}
<li><a href="http://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
<li><a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i>
Bitbucket
</a></li>
{% endif %}
{% if author.github %}
<li><a href="http://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li>
<li><a href="https://github.com/{{ author.github }}" itemprop="sameAs">
<i class="fa fa-fw fa-github" aria-hidden="true"></i>
Github
</a></li>
{% endif %}
{% if author.stackoverflow %}
<li><a href="http://stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i>
Stackoverflow
</a></li>
{% endif %}
{% if author.lastfm %}
<li><a href="http://lastfm.com/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
<li><a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i>
Last.fm
</a></li>
{% endif %}
{% if author.dribbble %}
<li><a href="http://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li>
<li><a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i>
Dribbble
</a></li>
{% endif %}
{% if author.pinterest %}
<li><a href="http://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
<li><a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i>
Pinterest
</a></li>
{% endif %}
{% if author.foursquare %}
<li><a href="http://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li>
<li><a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i>
Foursquare
</a></li>
{% endif %}
{% if author.steam %}
<li><a href="http://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li>
<li><a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i>
Steam
</a></li>
{% endif %}
{% if author.youtube %}
<li><a href="https://youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> Youtube</a></li>
<li><a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i>
YouTube
</a></li>
{% endif %}
{% if author.soundcloud %}
<li><a href="http://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li>
<li><a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i>
Soundcloud
</a></li>
{% endif %}
{% if author.weibo %}
<li><a href="http://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
<li><a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i>
Weibo
</a></li>
{% endif %}
{% if author.flickr %}
<li><a href="http://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
<li><a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i>
Flickr
</a></li>
{% endif %}
{% if author.codepen %}
<li><a href="http://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
<li><a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i>
CodePen
</a></li>
{% endif %}
{% if author.vine %}
<li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li>
<li><a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
<i class="fa fa-fw fa-vine" aria-hidden="true"></i>
Vine
</a></li>
{% endif %}
</ul>
</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 %}
+4 -6
View File
@@ -1,5 +1,3 @@
{% include base_path %}
{% case site.categories.type %}
{% when "liquid" %}
{% assign path_type = "#" %}
@@ -21,20 +19,20 @@
{% for crumb in crumbs offset: 1 %}
{% if forloop.first %}
<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 }}" />
</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 %}
{% if forloop.last %}
<li class="current">{{ page.title }}</li>
{% else %}
{% assign i = i | plus: 1 %}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="{{ base_path }}{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
<meta itemprop="position" content="{{ i }}" />
</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 %}
{% endfor %}
</ol>
+4 -8
View File
@@ -1,15 +1,11 @@
{% include base_path %}
{% include base_path %}
{% case site.categories.type %}
{% case site.category_archive.type %}
{% when "liquid" %}
{% assign path_type = "#" %}
{% when "jekyll-archives" %}
{% assign path_type = nil %}
{% endcase %}
{% if site.categories.path %}
{% if site.category_archive.path %}
{% comment %}
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
@@ -18,12 +14,12 @@
{% assign category_hashes = (page_categories | split: ',' | sort:0) %}
<p class="page__taxonomy">
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label }} </strong>
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
<span itemprop="keywords">
{% for hash in category_hashes %}
{% assign keyValue = hash | split: '#' %}
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ base_path }}{{ category_word | slugify | prepend: path_type | prepend: site.categories.path }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %}
</span>
</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">
</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>
@@ -0,0 +1,13 @@
{% if site.comments.discourse.server %}
{% capture canonical %}{% if site.permalink contains '.html' %}{{ page.url | absolute_url }}{% else %}{{ page.url | absolute_url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<script type="text/javascript">
DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
discourseEmbedUrl: '{{ canonical }}' };
(function () {
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})();
</script>
<noscript>Please enable JavaScript to view the comments powered by [Discourse](http://forum.beta-europe.org/c/beta/website).</a></noscript>
{% endif %}
+1 -1
View File
@@ -19,4 +19,4 @@
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}
{% endif %}
@@ -1,2 +1,2 @@
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script>
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
@@ -3,10 +3,14 @@
{% case site.comments.provider %}
{% when "disqus" %}
{% include /comments-providers/disqus.html %}
{% when "discourse" %}
{% include /comments-providers/discourse.html %}
{% when "facebook" %}
{% include /comments-providers/facebook.html %}
{% when "google-plus" %}
{% include /comments-providers/google-plus.html %}
{% when "staticman" %}
{% include /comments-providers/staticman.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% endcase %}
@@ -0,0 +1,42 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');
$('#new_comment').submit(function () {
var form = this;
$(form).addClass('disabled');
$('#comment-form-submit').html('<i class="fa fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
contentType: 'application/x-www-form-urlencoded',
success: function (data) {
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
$('.page__comments-form .js-notice').removeClass('notice--danger');
$('.page__comments-form .js-notice').addClass('notice--success');
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
},
error: function (err) {
console.log(err);
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
$('.page__comments-form .js-notice').removeClass('notice--success');
$('.page__comments-form .js-notice').addClass('notice--danger');
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
$(form).removeClass('disabled');
}
});
return false;
});
function showAlert(message) {
$('.page__comments-form .js-notice').removeClass('hidden');
$('.page__comments-form .js-notice-text').html(message);
}
})(jQuery);
</script>
{% endif %}
+71 -6
View File
@@ -1,15 +1,80 @@
{% include base_path %}
<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 %}
{% when "disqus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="disqus_thread"></section>
{% when "facebook" %}
<section class="fb-comments" data-href="{{ base_path }}{{ page.url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
{% when "google-plus" %}
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
{% when "staticman" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% for comment in comments %}
{% assign email = comment[1].email %}
{% assign name = comment[1].name %}
{% assign url = comment[1].url %}
{% assign date = comment[1].date %}
{% assign message = comment[1].message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %}
{% endif %}
</div>
<!-- End static comments -->
<!-- Start new comment form -->
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
<div class="form__spinner">
<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
</div>
<fieldset>
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
</fieldset>
<fieldset>
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
</fieldset>
<fieldset>
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
</fieldset>
<fieldset>
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
</fieldset>
<fieldset class="hidden" style="display: none;">
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
</fieldset>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<fieldset>
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
</fieldset>
</form>
<!-- End new comment form -->
{% endif %}
</section>
{% when "custom" %}
<section id="comments"></section>
<section id="custom-comments"></section>
{% endcase %}
</div>
+5 -7
View File
@@ -1,5 +1,3 @@
{% include base_path %}
{% if include.id %}
{% assign feature_row = page.[include.id] %}
{% else %}
@@ -10,10 +8,10 @@
{% for f in feature_row %}
{% if f.url contains "http" %}
{% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %}
{% else %}
{% capture f_url %}{{ f.url | prepend: base_path }}{% endcapture %}
{% capture f_url %}{{ f.url | absolute_url }}{% endcapture %}
{% endif %}
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
@@ -21,10 +19,10 @@
{% if f.image_path %}
<div class="archive__item-teaser">
<img src=
{% if f.image_path contains "http" %}
{% if f.image_path contains "://" %}
"{{ f.image_path }}"
{% else %}
"{{ f.image_path | prepend: "/images/" | prepend: base_path }}"
"{{ f.image_path | absolute_url }}"
{% endif %}
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
</div>
@@ -42,7 +40,7 @@
{% endif %}
{% 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 %}
</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 | absolute_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
+2 -4
View File
@@ -1,5 +1,3 @@
{% include base_path %}
<div class="page__footer-follow">
<ul class="social-icons">
{% if site.data.ui-text[site.locale].follow_label %}
@@ -17,8 +15,8 @@
{% 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>
{% endif %}
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li>
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
</ul>
</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="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
+11 -14
View File
@@ -1,16 +1,12 @@
{% include base_path %}
{% if include.id %}
{% assign gallery = page.[include.id] %}
{% else %}
{% assign gallery = page.gallery %}
{% endif %}
{% capture gallery_size %}{{ gallery | size }}{% endcapture %}
{% if gallery_size == '2' %}
{% if gallery.size == 2 %}
{% assign gallery_layout = 'half' %}
{% elsif gallery_size >= '3' %}
{% elsif gallery.size >= 3 %}
{% assign gallery_layout = 'third' %}
{% else %}
{% assign gallery_layout = '' %}
@@ -20,28 +16,29 @@
{% for img in gallery %}
{% if img.url %}
<a href=
{% if img.url contains "http" %}
{% if img.url contains "://" %}
"{{ img.url }}"
{% else %}
"{{ img.url | prepend: "/images/" | prepend: base_path }}"
"{{ img.url | absolute_url }}"
{% endif %}
{% if img.title %}title="{{ img.title }}"{% endif %}
>
<img src=
{% if img.image_path contains "http" %}
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
"{{ img.image_path | absolute_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a>
{% else %}
<img src=
{% if img.image_path contains "http" %}
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
"{{ img.image_path | absolute_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %}
{% endfor %}
{% if include.caption %}
+2 -4
View File
@@ -1,10 +1,8 @@
{% include base_path %}
<meta charset="utf-8">
{% include seo.html %}
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
@@ -16,6 +14,6 @@
</script>
<!-- For all browsers -->
<link rel="stylesheet" href="{{ base_path }}/assets/css/main.css">
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
<meta http-equiv="cleartype" content="on">
+3 -5
View File
@@ -1,17 +1,15 @@
{% include base_path %}
<div class="masthead">
<div class="masthead__inner-wrap">
<div class="masthead__menu">
<nav id="site-nav" class="greedy-nav">
<button><div class="navicon"></div></button>
<ul class="visible-links">
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ base_path }}/">{{ site.title }}</a></li>
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></li>
{% for link in site.data.navigation.main %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = base_path %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
{% endfor %}
+12 -13
View File
@@ -1,17 +1,18 @@
{% include base_path %}
{% assign navigation = site.data.navigation[include.nav] %}
<nav class="nav__list">
{% if page.sidebar.title %}<header><h4 class="nav__title" style="padding: 0;">{{ page.sidebar.title }}</h4></header>{% endif %}
<ul>
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
<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 %}
<li>
{% if nav.url %}
{% comment %}internal/external URL check{% endcomment %}
{% if nav.url contains "http" %}
{% comment %} internal/external URL check {% endcomment %}
{% if nav.url contains "://" %}
{% assign domain = "" %}
{% else %}
{% assign domain = base_path %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
<a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
@@ -22,14 +23,14 @@
{% if nav.children != null %}
<ul>
{% for child in nav.children %}
{% comment %}internal/external URL check{% endcomment %}
{% if child.url contains "http" %}
{% comment %} internal/external URL check {% endcomment %}
{% if child.url contains "://" %}
{% assign domain = "" %}
{% else %}
{% assign domain = base_path %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
{% comment %}set "active" class on current page{% endcomment %}
{% comment %} set "active" class on current page {% endcomment %}
{% if child.url == page.url %}
{% assign active = "active" %}
{% else %}
@@ -43,6 +44,4 @@
</li>
{% endfor %}
</ul>
</nav>
</nav>
+15 -11
View File
@@ -1,31 +1,35 @@
{% include base_path %}
{% if page.header.image contains "http" %}
{% if page.header.image contains "://" %}
{% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %}
{% capture img_path %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
{% capture img_path %}{{ page.header.image | absolute_url }}{% endcapture %}
{% endif %}
{% if page.header.cta_url contains "http" %}
{% if page.header.cta_url contains "://" %}
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
{% else %}
{% capture cta_path %}{{ page.header.cta_url | prepend: base_path }}{% endcapture %}
{% capture cta_path %}{{ page.header.cta_url | absolute_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_image contains "http" %}
{% if page.header.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
{% elsif page.header.overlay_image %}
{% capture overlay_img_path %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endcapture %}
{% capture overlay_img_path %}{{ page.header.overlay_image | absolute_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_filter contains "rgba" %}
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
{% elsif page.header.overlay_filter %}
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
{% 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: 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 %}
<div class="wrapper">
<h1 class="page__title" itemprop="headline">
{% if paginator %}
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
{% else %}
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
{% endif %}
@@ -37,7 +41,7 @@
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% 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 %}
</div>
{% else %}
+2 -4
View File
@@ -1,9 +1,7 @@
{% include base_path %}
{% if site.tags.type and page.tags[0] %}
{% if site.tag_archive.type and page.tags[0] %}
{% include tag-list.html %}
{% endif %}
{% if site.categories.type and page.categories[0] %}
{% if site.category_archive.type and page.categories[0] %}
{% include category-list.html %}
{% endif %}
+9 -11
View File
@@ -1,24 +1,22 @@
{% include base_path %}
{% if paginator.total_pages > 1 %}
<nav class="pagination">
<ul>
{% comment %} Link for previous page {% endcomment %}
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li><a href="{{ base_path }}/">{{ site.data.ui-text[site.locale].pagination_previous }}</a></li>
<li><a href="{{ '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
{% else %}
<li><a href="{{ base_path }}/page{{ paginator.previous_page }}/">{{ site.data.ui-text[site.locale].pagination_previous }}</a></li>
<li><a href="{{ '/page' | absolute_url }}{{ paginator.previous_page | append: '/' }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
{% endif %}
{% 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 %}
{% comment %} First page {% endcomment %}
{% if paginator.page == 1 %}
<li><a href="#" class="disabled current">1</a></li>
{% else %}
<li><a href="{{ base_path }}/">1</a></li>
<li><a href="{{ '/' | absolute_url }}">1</a></li>
{% endif %}
{% assign page_start = 2 %}
@@ -36,7 +34,7 @@
{% for index in (page_start..page_end) %}
{% if index == paginator.page %}
<li><a href="{{ base_path }}/page{{ index }}/" class="disabled current">{{ index }}</a></li>
<li><a href="{{ '/page' | absolute_url }}{{ index | append: '/' }}" class="disabled current">{{ index }}</a></li>
{% else %}
{% comment %} Distance from current page and this link {% endcomment %}
{% assign dist = paginator.page | minus: index %}
@@ -44,7 +42,7 @@
{% comment %} Distance must be a positive value {% endcomment %}
{% assign dist = 0 | minus: dist %}
{% endif %}
<li><a href="{{ base_path }}/page{{ index }}/">{{ index }}</a></li>
<li><a href="{{ '/page' | absolute_url }}{{ index | append: '/' }}">{{ index }}</a></li>
{% endif %}
{% endfor %}
@@ -56,14 +54,14 @@
{% if paginator.page == paginator.total_pages %}
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
{% else %}
<li><a href="{{ base_path }}/page{{ paginator.total_pages }}/">{{ paginator.total_pages }}</a></li>
<li><a href="{{ '/page' | absolute_url }}{{ paginator.total_pages }}/">{{ paginator.total_pages }}</a></li>
{% endif %}
{% comment %} Link next page {% endcomment %}
{% if paginator.next_page %}
<li><a href="{{ base_path }}/page{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next }}</a></li>
<li><a href="{{ '/page' | absolute_url }}{{ paginator.next_page }}/">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
{% else %}
<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 %}
</ul>
</nav>
+4 -6
View File
@@ -1,16 +1,14 @@
{% include base_path %}
{% if page.previous or page.next %}
<nav class="pagination">
{% if page.previous %}
<a href="{{ base_path }}{{ page.previous.url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous }}</a>
<a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
{% else %}
<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 %}
{% if page.next %}
<a href="{{ base_path }}{{ page.next.url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next }}</a>
<a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
{% else %}
<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 %}
</nav>
{% endif %}
+5 -3
View File
@@ -1,3 +1,5 @@
{% assign words_per_minute = site.words_per_minute | default: 200 %}
{% if post.read_time %}
{% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %}
@@ -5,9 +7,9 @@
{% endif %}
{% if words < 180 %}
{{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words < 360 %}
1 {{ site.data.ui-text[site.locale].minute_read }}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
+1 -1
View File
@@ -1,4 +1,4 @@
<script src="{{ base_path }}/assets/js/main.min.js"></script>
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
{% include analytics.html %}
{% include /comments-providers/scripts.html %}
+28 -19
View File
@@ -1,5 +1,3 @@
{% include base_path %}
<!-- begin SEO -->
{% if site.url %}
{% assign seo_url = site.url | append: site.baseurl %}
@@ -18,13 +16,15 @@
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
{% endif %}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}{% endif %}</title>
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
{% if seo_description %}
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
{% endif %}
<meta name="description" content="{{ seo_description }}">
{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %}
{% if seo_author %}
{% if seo_author.twitter %}
@@ -39,7 +39,7 @@
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
{% endif %}
<meta property="og:locale" content="{{ site.locale }}">
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
@@ -60,11 +60,13 @@
{% if page.header.image %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
{% else %}
<meta name="twitter:card" content="summary">
{% if site.og_image %}
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
{% if page.header.teaser %}
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
{% elsif site.og_image %}
<meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
{% endif %}
{% endif %}
@@ -84,18 +86,25 @@
{% endif %}
{% if page.header.image %}
<meta property="og:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
{% elsif page.header.overlay_image %}
<meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
{% elsif page.header.teaser %}
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
{% elsif site.og_image %}
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
{% endif %}
{% if page.date %}
<meta property="og:type" content="article">
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% if page.next.url %}
<link rel="next" href="{{ page.next.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.next.title | escape }}">
{% 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 %}
{% if paginator.previous_page %}
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
{% endif %}
{% if paginator.next_page %}
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
{% endif %}
{% if site.og_image %}
@@ -104,7 +113,7 @@
"@context": "http://schema.org",
"@type": "Organization",
"url": {{ seo_url | jsonify }},
"logo": {{ site.og_image | prepend: "/images/" | prepend: base_path | jsonify }}
"logo": {{ site.og_image | absolute_url | jsonify }}
}
</script>
{% endif %}
@@ -113,7 +122,7 @@
<script type="application/ld+json">
{
"@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 }}",
"url" : {{ seo_url | jsonify }},
"sameAs" : {{ site.social.links | jsonify }}
@@ -127,10 +136,10 @@
{% if site.bing_site_verification %}
<meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
{% endif %}
{% if site.owner.alexa.verify %}
{% if site.alexa_site_verification %}
<meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
{% endif %}
{% if site.owner.yandex.verify %}
{% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %}
<!-- end SEO -->
<!-- end SEO -->
+2 -4
View File
@@ -1,5 +1,3 @@
{% include base_path %}
{% if page.author_profile or layout.author_profile or page.sidebar %}
<div class="sidebar sticky">
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
@@ -7,10 +5,10 @@
{% for s in page.sidebar %}
{% if s.image %}
<img src=
{% if s.image contains "http" %}
{% if s.image contains "://" %}
"{{ s.image }}"
{% else %}
"{{ s.image | prepend: "/images/" | prepend: base_path }}"
"{{ s.image | absolute_url }}"
{% endif %}
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
{% endif %}
+6 -8
View File
@@ -1,15 +1,13 @@
{% include base_path %}
<section class="page__share">
{% 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 %}
<a href="https://twitter.com/intent/tweet?text={{ base_path }}{{ page.url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ base_path }}{{ page.url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://plus.google.com/share?url={{ base_path }}{{ page.url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
<a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ base_path }}{{ page.url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>
+4 -6
View File
@@ -1,13 +1,11 @@
{% include base_path %}
{% case site.tags.type %}
{% case site.tag_archive.type %}
{% when "liquid" %}
{% assign path_type = "#" %}
{% when "jekyll-archives" %}
{% assign path_type = nil %}
{% endcase %}
{% if site.tags.path %}
{% if site.tag_archive.path %}
{% comment %}
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
@@ -16,12 +14,12 @@
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
<p class="page__taxonomy">
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label }} </strong>
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
<span itemprop="keywords">
{% for hash in tag_hashes %}
{% assign keyValue = hash | split: '#' %}
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
<a href="{{ base_path }}{{ tag_word | slugify | prepend: path_type | prepend: site.tags.path }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
{% endfor %}
</span>
</p>
-1
View File
@@ -8,7 +8,6 @@ author_profile: false
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{% include base_path %}
{% for post in page.posts %}
{% include archive-single.html %}
{% endfor %}
+1 -1
View File
@@ -2,7 +2,7 @@
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 %}
{% endif %}
+3 -6
View File
@@ -1,17 +1,14 @@
---
layout: compress
---
{% include base_path %}
<!doctype html>
<html lang="{{ site.locale | slice: 0,2 }}" class="no-js">
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<head>
{% include head.html %}
{% include head/custom.html %}
</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 masthead.html %}
@@ -20,12 +17,12 @@ layout: compress
<div class="page__footer">
<footer>
{% include footer/custom.html %}
{% include footer.html %}
</footer>
</div>
{% include scripts.html %}
{% include footer/custom.html %}
</body>
</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 %}
+6 -8
View File
@@ -2,9 +2,7 @@
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 %}
{% endif %}
@@ -26,7 +24,7 @@ layout: default
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
@@ -35,7 +33,7 @@ layout: default
<section class="page__content" itemprop="text">
{{ content }}
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label }}</a></div>{% endif %}
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
</section>
<footer class="page__meta">
@@ -44,9 +42,9 @@ layout: default
{% endif %}
{% include page__taxonomy.html %}
{% if page.modified %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
{% endif %}
</footer>
@@ -64,7 +62,7 @@ layout: default
{% if page.id and page.related and site.related_posts.size > 0 %}
<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 }}</h4>
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
{% endif %}
<div class="grid__wrapper">
{% for post in site.related_posts limit:4 %}
+1 -3
View File
@@ -2,9 +2,7 @@
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 %}
{% endif %}
@@ -2,6 +2,15 @@
ANIMATIONS
========================================================================== */
@-webkit-keyframes intro {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes intro {
0% {
opacity: 0;
@@ -35,7 +35,19 @@
.archive__item-title {
margin-bottom: 0.25em;
font-family: $sans-serif-narrow;
font-size: $type-size-5;
a + a {
opacity: 0.5;
}
}
/* remove border*/
.page__content {
.archive__item-title {
margin-top: 1em;
border-bottom: none;
}
}
.archive__item-excerpt {
@@ -55,7 +67,7 @@
}
}
a:hover {
.archive__item:hover {
.archive__item-teaser {
box-shadow: 0 0 10px rgba(#000, 0.25);
}
@@ -117,8 +129,8 @@ a:hover {
}
@include breakpoint($medium) {
margin-left: 0; // reset before mixin does its thing
margin-right: 0; // reset before mixin does its thing
margin-left: 0; /* reset before mixin does its thing*/
margin-right: 0; /* reset before mixin does its thing*/
@include gallery(2.5 of 10);
.archive__item-teaser {
@@ -149,7 +161,6 @@ a:hover {
@include breakpoint($small) {
margin-bottom: 0;
text-align: center;
@include gallery(4 of 12);
.feature__item-teaser {
@@ -158,14 +169,8 @@ a:hover {
}
}
.archive__item-body {
padding-left: 0.5em;
padding-right: 0.5em;
}
&--left {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
@@ -187,7 +192,6 @@ a:hover {
&--right {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
@@ -211,7 +215,6 @@ a:hover {
&--center {
@include full();
// margin-bottom: 2em;
font-size: 1.25rem;
.archive__item-teaser {
@@ -232,4 +235,4 @@ a:hover {
}
}
}
}
}
+16 -4
View File
@@ -2,6 +2,12 @@
BASE ELEMENTS
========================================================================== */
html {
/* sticky footer fix */
position: relative;
min-height: 100%;
}
body {
margin: 0;
padding: 0;
@@ -123,7 +129,7 @@ tt, code, kbd, samp, pre {
}
pre {
overflow-x: auto; // add scrollbars to wide code blocks
overflow-x: auto; /* add scrollbars to wide code blocks*/
}
p > code,
@@ -141,7 +147,7 @@ td > code {
&:before, &:after {
letter-spacing: -0.2em;
content: "\00a0"; // non-breaking space
content: "\00a0"; /* non-breaking space*/
}
}
@@ -173,9 +179,12 @@ li ol {
/* Figures and images */
figure {
display: -webkit-box;
display: flex;
justify-content: space-between;
align-items: flex-start;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
flex-wrap: wrap;
margin: 2em 0;
@@ -188,6 +197,7 @@ figure {
img {
width: 100%;
border-radius: $border-radius;
-webkit-transition: $global-transition;
transition: $global-transition;
}
@@ -234,6 +244,7 @@ figcaption {
color: inherit;
text-decoration: none;
border-bottom: 1px solid $light-gray;
-webkit-transition: $global-transition;
transition: $global-transition;
&:hover {
@@ -299,5 +310,6 @@ nav {
========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
-webkit-transition: $global-transition;
transition: $global-transition;
}
@@ -31,7 +31,7 @@
}
.icon + .hidden {
margin-left: -0.5em; // override for hidden text
margin-left: -0.5em; /* override for hidden text*/
}
/* fills width of parent container */
@@ -49,7 +49,7 @@
&--inverse {
color: $gray !important;
border: 1px solid $light-gray !important; // override
border: 1px solid $light-gray !important; /* override*/
background-color: #fff;
&:hover {
@@ -61,7 +61,7 @@
/* light outline */
&--light-outline {
border: 1px solid #fff !important; // override
border: 1px solid #fff !important; /* override*/
background-color: transparent;
}
@@ -111,7 +111,6 @@
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
opacity: 0.65;
}
@@ -3,16 +3,33 @@
========================================================================== */
.page__footer {
@include container;
@include full();
@include clearfix;
/* sticky footer fix start */
position: absolute;
bottom: 0;
width: 100%;
clear: both;
height: auto;
/* sticky footer fix end */
margin-top: 3em;
padding: 0 1em 3em;
color: mix(#fff, $gray, 25%);
animation: intro 0.3s both;
animation-delay: 0.45s;
-webkit-animation: intro 0.3s both;
animation: intro 0.3s both;
-webkit-animation-delay: 0.45s;
animation-delay: 0.45s;
background-color: $lighter-gray;
border-top: 1px solid $light-gray;
@include breakpoint($x-large) {
max-width: $x-large;
footer {
@include container;
@include clearfix;
margin-top: 2em;
padding: 0 1em 2em;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
a {
@@ -23,21 +40,18 @@
text-decoration: underline;
}
}
.fa {
color: mix(#fff, $gray, 25%);
}
}
.page__footer-copyright {
font-family: $global-font-family;
font-size: $type-size-7;
@include breakpoint($large) {
@include prefix(2.5 of 12);
}
}
.page__footer-follow {
@include breakpoint($large) {
@include prefix(2.5 of 12);
}
ul {
margin: 0;
+48 -7
View File
@@ -2,7 +2,7 @@
Forms
========================================================================== */
btnform {
form {
margin: 0 0 5px 0;
fieldset {
@@ -51,17 +51,20 @@ input,
button,
select,
textarea {
font-family: $sans-serif;
box-sizing: border-box;
font-family: $sans-serif;
}
label {
display: block;
margin-bottom: 10px / 8;
font-weight: bold;
margin-bottom: 0.25em;
color: $text-color;
cursor: pointer;
small {
font-size: $type-size-6;
}
input,
textarea,
select {
@@ -74,11 +77,13 @@ textarea,
select {
display: inline-block;
width: 100%;
padding: 4px;
margin-bottom: 5px / 4;
padding: 0.25em;
margin-bottom: 0.5em;
color: $text-color;
background-color: #fff;
border: 1px solid mix(#fff, #000, 80%);
color: $text-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
&:hover {
border-color: mix(#fff, $primary-color, 50%);
@@ -165,6 +170,10 @@ input[type="hidden"] {
display: none;
}
.form {
position: relative;
}
.radio,
.checkbox {
padding-left: 18px;
@@ -315,6 +324,38 @@ select:focus {
}
/*
.form--loading
========================================================================== */
.form--loading:before {
content: '';
}
.form--loading .form__spinner {
display: block;
}
.form:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7);
z-index: 10;
}
.form__spinner {
display: none;
position: absolute;
top: 50%;
left: 50%;
z-index: 11;
}
/*
Google search form
========================================================================== */
@@ -5,8 +5,10 @@
.masthead {
position: relative;
border-bottom: 1px solid $border-color;
animation: intro 0.3s both;
animation-delay: 0.15s;
-webkit-animation: intro 0.3s both;
animation: intro 0.3s both;
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
z-index: 20;
&__inner-wrap {
@@ -14,8 +16,6 @@
@include clearfix;
padding: 1em 1em 1em;
font-family: $sans-serif-narrow;
font-weight: 700;
text-transform: uppercase;
@include breakpoint($x-large) {
max-width: $x-large;
@@ -32,9 +32,6 @@
}
.masthead__menu {
@include breakpoint($large) {
@include prefix(2.5 of 12);
}
ul {
margin: 0;
@@ -47,10 +44,10 @@
.masthead__menu-item {
display: block;
list-style-type: none;
font-size: $type-size-6;
white-space: nowrap;
&--lg {
font-size: $type-size-5;
padding-right: 2em;
font-weight: 700;
}
}
@@ -3,9 +3,9 @@
========================================================================== */
%tab-focus {
// Default
/* Default*/
outline: thin dotted $warning-color;
// Webkit
/* Webkit*/
outline: 5px auto $warning-color;
outline-offset: -2px;
}
@@ -23,21 +23,24 @@
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;
// }
/*
* 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;
@@ -14,8 +14,10 @@
padding-left: 2em;
padding-right: 2em;
font-family: $sans-serif;
animation: intro 0.3s both;
animation-delay: 0.30s;
-webkit-animation: intro 0.3s both;
animation: intro 0.3s both;
-webkit-animation-delay: 0.30s;
animation-delay: 0.30s;
@include breakpoint($large) {
padding-left: 1em;
@@ -95,7 +97,7 @@
}
&.disabled {
color: $light-gray;
color: mix(#fff, $gray, 75%);
pointer-events: none;
cursor: not-allowed;
}
@@ -129,7 +131,7 @@
font-weight: bold;
text-align: center;
text-decoration: none;
color: mix(#fff, $gray, 25%);
color: $link-color;
border: 1px solid $light-gray;
border-radius: $border-radius;
@@ -149,7 +151,7 @@
}
&.disabled {
color: $light-gray;
color: mix(#fff, $gray, 75%);
pointer-events: none;
cursor: not-allowed;
}
@@ -227,17 +229,22 @@
&:before {
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 4px;
background: mix(#fff, $primary-color, 50%);
width: 0;
width: 100%;
-webkit-transition: $global-transition;
transition: $global-transition;
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
-ms-transform: scaleX(0) translate3d(0, 0 , 0);
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
}
&:hover {
&:before {
width: 100%;
}
&:hover:before {
-webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1); /* reveal*/
}
}
}
@@ -307,20 +314,104 @@
========================================================================== */
.nav__list {
font-size: 1.25rem;
margin-bottom: 1.5em;
ul {
margin-bottom: 1em;
input[type="checkbox"],
label {
display: none;
}
a {
display: block;
padding: 0.125em 0;
color: inherit;
@include breakpoint(max-width ($large - 1px)) {
&:hover {
text-decoration: underline;
label {
position: relative;
display: inline-block;
padding: 0.5em 2.5em 0.5em 1em;
color: $gray;
font-size: $type-size-6;
font-weight: bold;
border: 1px solid $light-gray;
border-radius: $border-radius;
z-index: 20;
-webkit-transition: 0.2s ease-out;
transition: 0.2s ease-out;
cursor: pointer;
&:before,
&:after {
content: '';
position: absolute;
right: 1em;
top: 1.25em;
width: 0.75em;
height: 0.125em;
line-height: 1;
background-color: $gray;
transition: 0.2s ease-out;
}
&:after {
transform: rotate(90deg);
}
&:hover {
color: #fff;
border-color: $gray;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
}
/* selected*/
input:checked + label {
color: white;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
// on hover show expand
label:hover:after {
transform: rotate(90deg);
}
input:checked + label:hover:after {
transform: rotate(0);
}
ul {
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 {
@@ -336,6 +427,33 @@
color: #fff;
}
}
@include breakpoint(max-width ($large - 1px)) {
position: relative;
max-height: 0;
opacity: 0;
overflow: hidden;
z-index: 10;
-webkit-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
-webkit-transform: translate(0, 10%);
-ms-transform: translate(0, 10%);
transform: translate(0, 10%);
}
}
@include breakpoint(max-width ($large - 1px)) {
.nav__list input:checked ~ .nav__items {
-webkit-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out;
max-height: 100vh;
overflow: visible;
opacity: 1;
margin-top: 1em;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
.nav__title {
@@ -414,7 +532,7 @@
font-weight: normal;
}
// hide sub sub links on small screens
/* hide sub sub links on small screens*/
li > ul li {
display: none;
@@ -11,34 +11,34 @@
*/
@mixin notice($notice-color) {
margin: 2em 0 !important; // override
margin: 2em 0 !important; /* override*/
padding: 1em;
font-family: $global-font-family;
font-size: $type-size-6 !important;
text-indent: initial; // override
text-indent: initial; /* override*/
background-color: mix(#fff, $notice-color, 90%);
border-radius: $border-radius;
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
h4 {
margin-top: 0 !important; // override
margin-top: 0 !important; /* override*/
margin-bottom: 0.75em;
}
@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;
font-size: 1em;
}
p {
&:last-child {
margin-bottom: 0 !important; // override
margin-bottom: 0 !important; /* override*/
}
}
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;
padding-top: 0;
}
@@ -57,7 +57,7 @@
ul {
&:last-child {
margin-bottom: 0; // override
margin-bottom: 0; /* override*/
}
}
}
+99 -4
View File
@@ -49,6 +49,12 @@
}
.page__content {
h2 {
padding-bottom: 0.5em;
border-bottom: 1px solid $border-color;
}
p, li, dl {
font-size: 1em;
}
@@ -57,7 +63,7 @@
p {
margin: 0 0 $indent-var;
// sibling indentation
/* sibling indentation*/
@if $paragraph-indent == true {
& + p {
text-indent: $indent-var;
@@ -113,16 +119,23 @@
margin-bottom: 2em;
padding: 3em 0;
@include clearfix;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
animation: intro 0.3s both;
animation-delay: 0.25s;
a {
color: #fff;
}
.wrapper {
padding-left: 2em;
padding-right: 2em;
padding-left: 1em;
padding-right: 1em;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
.page__title,
@@ -133,6 +146,10 @@
text-shadow: 1px 1px 4px rgba(#000, 0.5);
}
.page__lead {
max-width: $medium;
}
.page__title {
font-size: $type-size-2;
@@ -277,6 +294,84 @@
text-transform: uppercase;
}
.page__comments-form {
padding: 1em;
background: $lighter-gray;
transition: $global-transition;
&.disabled {
input,
button,
textarea,
label {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
}
}
.comment {
@include clearfix();
margin: 1em 0;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
.comment__avatar-wrapper {
float: left;
width: 60px;
height: 60px;
@include breakpoint($large) {
width: 100px;
height: 100px;
}
}
.comment__avatar {
width: 40px;
height: 40px;
border-radius: 50%;
@include breakpoint($large) {
width: 80px;
height: 80px;
padding: 5px;
border: 1px solid $border-color;
}
}
.comment__content-wrapper {
float: right;
width: calc(100% - 60px);
@include breakpoint($large) {
width: calc(100% - 100px);
}
}
.comment__author {
margin: 0;
a {
text-decoration: none;
}
}
.comment__date {
@extend .page__meta;
margin: 0;
a {
text-decoration: none;
}
}
/*
Related
@@ -15,4 +15,4 @@
.page__footer {
display: none;
}
}
}
+26 -13
View File
@@ -14,6 +14,14 @@ html {
font-size: 18px;
}
@include breakpoint($large) {
font-size: 20px;
}
@include breakpoint($x-large) {
font-size: 22px;
}
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
@@ -24,6 +32,11 @@ body { margin: 0; }
/* Selected elements */
::-moz-selection {
color: #fff;
background: #000;
}
::selection {
color: #fff;
background: #000;
@@ -100,9 +113,9 @@ sub {
img {
/* Responsive images (ensure images don't scale beyond their parents) */
max-width: 100%; // part 1: Set a maximum relative to the parent
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
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
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*/
vertical-align: middle;
border: 0;
@@ -129,12 +142,12 @@ textarea {
button,
input {
*overflow: visible; // inner spacing ie IE6/7
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
*overflow: visible; /* inner spacing ie IE6/7*/
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
}
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;
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
input[type="reset"],
input[type="submit"] {
-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
-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*/
}
label,
@@ -155,20 +168,20 @@ input[type="reset"],
input[type="submit"],
input[type="radio"],
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;
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
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 {
overflow: auto; // remove vertical scrollbar in IE6-9
vertical-align: top; // readability and alignment cross-browser
overflow: auto; /* remove vertical scrollbar in IE6-9*/
vertical-align: top; /* readability and alignment cross-browser*/
}
@@ -7,13 +7,17 @@
========================================================================== */
.sidebar {
-webkit-transform: translate3d(0, 0 , 0);
transform: translate3d(0, 0 , 0);
@include clearfix();
margin-bottom: 1em;
@include breakpoint($large) {
@include span(2 of 12);
opacity: 0.75;
transition: opacity 0.2s ease-in-out;
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
&:hover {
opacity: 1;
@@ -29,10 +33,6 @@
font-family: $sans-serif-narrow;
}
h3, h4 {
font-size: $type-size-5;
}
p, li {
font-family: $sans-serif;
font-size: $type-size-6;
@@ -164,6 +164,7 @@
background: #fff;
z-index: -1;
box-shadow: 0 0 10px rgba(#000, 0.25);
cursor: default;
@include breakpoint($large) {
display: block;
@@ -2,10 +2,13 @@
Syntax highlighting
========================================================================== */
div.highlighter-rouge, figure.highlight {
div.highlighter-rouge,
figure.highlight {
position: relative;
margin-bottom: 1em;
padding: 1em;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
border: 1px solid $border-color;
border-radius: $border-radius;
background-color: $code-background-color;
@@ -19,7 +22,6 @@ div.highlighter-rouge, figure.highlight {
background-color: $lighter-gray;
content: "\f121";
font-family: "fontawesome" !important;
font-size: $type-size-6;
line-height: 1;
text-transform: none;
speak: none;
@@ -27,15 +29,36 @@ div.highlighter-rouge, figure.highlight {
.highlight {
margin: 0;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
padding: 1em;
}
}
.highlight table td { padding: 5px; }
.highlight table pre { margin: 0; }
figure.highlight {
padding-left: 1em;
padding-right: 1em;
}
.highlight table {
font-size: 1em;
border: 0;
td {
padding: 5px;
border: 0;
// line numbers
&.gutter {
padding-right: 1em;
color: $light-gray;
}
}
pre {
margin: 0;
}
}
.highlight pre { width: 100%; }
/*
Solarized Light
@@ -179,7 +179,7 @@ body:hover .visually-hidden button {
vertical-align: middle;
}
// social icons
/* social icons*/
.social-icons {
.fa {
@@ -200,11 +200,6 @@ body:hover .visually-hidden button {
color: $facebook-color;
}
.fa-twitter,
.fa-twitter-square {
color: $twitter-color;
}
.fa-flickr {
color: $flickr-color;
}
@@ -300,6 +295,7 @@ body:hover .visually-hidden button {
height: $navicon-height;
background: #fff;
margin: auto;
-webkit-transition: 0.3s;
transition: 0.3s;
&:before,
@@ -310,6 +306,7 @@ body:hover .visually-hidden button {
width: $navicon-width;
height: $navicon-height;
background: #fff;
-webkit-transition: 0.3s;
transition: 0.3s;
}
@@ -323,22 +320,26 @@ body:hover .visually-hidden button {
}
.close .navicon {
// hide the middle line
/* hide the middle line*/
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{
transform-origin: 50% 50%;
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
top: 0;
width: $navicon-width;
}
// rotate the lines to form the x shape
/* rotate the lines to form the x shape*/
&:before{
transform: rotate3d(0,0,1,45deg);
-webkit-transform: rotate3d(0,0,1,45deg);
transform: rotate3d(0,0,1,45deg);
}
&:after{
transform: rotate3d(0,0,1,-45deg);
-webkit-transform: rotate3d(0,0,1,-45deg);
transform: rotate3d(0,0,1,-45deg);
}
}
@@ -376,6 +377,61 @@ body:hover .visually-hidden button {
}
/*
Modals
========================================================================== */
.show-modal {
overflow: hidden;
position: relative;
&:before {
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
background-color: rgba(255, 255, 255, 0.85);
}
.modal {
display: block;
}
}
.modal {
display: none;
position: fixed;
width: 300px;
top: 50%;
left: 50%;
margin-left: -150px;
margin-top: -150px;
min-height: 0;
z-index: 9999;
background: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
&__title {
margin: 0;
padding: 0.5em 1em;
}
&__supporting-text {
padding: 0 1em 0.5em 1em;
}
&__actions {
padding: 0.5em 1em;
border-top: 1px solid $border-color;
}
}
/*
Footnotes
========================================================================== */
@@ -401,4 +457,14 @@ a.reversefootnote {
&:hover {
text-decoration: underline;
}
}
/*
Required
========================================================================== */
.required {
color: $danger-color;
font-weight: bold;
}
+128
View File
@@ -0,0 +1,128 @@
/* ==========================================================================
Variables
========================================================================== */
/*
Typography
========================================================================== */
$doc-font-size : 16 !default;
/* paragraph indention */
$paragraph-indent : false !default; // true, false (default)
$indent-var : 1.3em !default;
/* system typefaces */
$serif : Georgia, Times, serif !default;
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
$monospace : Monaco, Consolas, "Lucida Console", monospace !default;
/* sans serif typefaces */
$sans-serif-narrow : $sans-serif !default;
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
/* serif typefaces */
$georgia : Georgia, serif !default;
$times : Times, serif !default;
$bodoni : "Bodoni MT", serif !default;
$calisto : "Calisto MT", serif !default;
$garamond : Garamond, serif !default;
$global-font-family : $sans-serif !default;
$header-font-family : $sans-serif !default;
$caption-font-family : $serif !default;
/* type scale */
$type-size-1 : 2.441em !default; // ~39.056px
$type-size-2 : 1.953em !default; // ~31.248px
$type-size-3 : 1.563em !default; // ~25.008px
$type-size-4 : 1.25em !default; // ~20px
$type-size-5 : 1em !default; // ~16px
$type-size-6 : 0.75em !default; // ~12px
$type-size-7 : 0.6875em !default; // ~11px
$type-size-8 : 0.625em !default; // ~10px
/*
Colors
========================================================================== */
$gray : #7a8288 !default;
$dark-gray : mix(#000, $gray, 40%) !default;
$darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff !default;
$background-color : #fff !default;
$code-background-color : #fafafa !default;
$code-background-color-dark : $light-gray !default;
$text-color : $dark-gray !default;
$border-color : $lighter-gray !default;
$primary-color : #7a8288 !default;
$success-color : #62c462 !default;
$warning-color : #f89406 !default;
$danger-color : #ee5f5b !default;
$info-color : #52adc8 !default;
/* brands */
$behance-color : #1769FF !default;
$dribbble-color : #ea4c89 !default;
$facebook-color : #3b5998 !default;
$flickr-color : #ff0084 !default;
$foursquare-color : #0072b1 !default;
$github-color : #171516 !default;
$google-plus-color : #dd4b39 !default;
$instagram-color : #517fa4 !default;
$lastfm-color : #d51007 !default;
$linkedin-color : #007bb6 !default;
$pinterest-color : #cb2027 !default;
$rss-color : #fa9b39 !default;
$soundcloud-color : #ff3300 !default;
$stackoverflow-color : #fe7a15 !default;
$tumblr-color : #32506d !default;
$twitter-color : #55acee !default;
$vimeo-color : #1ab7ea !default;
$vine-color : #00bf8f !default;
$youtube-color : #bb0000 !default;
$xing-color : #006567 !default;
/* links */
$link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
/*
Breakpoints
========================================================================== */
$small : 600px !default;
$medium : 768px !default;
$medium-wide : 900px !default;
$large : 1024px !default;
$x-large : 1280px !default;
/*
Grid
========================================================================== */
$right-sidebar-width-narrow : 200px !default;
$right-sidebar-width : 300px !default;
$right-sidebar-width-wide : 400px !default;
/*
Other
========================================================================== */
$border-radius : 4px !default;
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$navicon-width : 28px !default;
$navicon-height : 4px !default;
$global-transition : all 0.2s ease-in-out !default;
@@ -1,5 +1,5 @@
/*!
* Font Awesome 4.6.1 by @davegandy - http://fontawesome.io - @fontawesome
* Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@@ -438,7 +438,7 @@
.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; }
.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; }
.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; }
.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; }
.#{$fa-css-prefix}-pied-piper-pp:before { content: $fa-var-pied-piper-pp; }
.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; }
.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; }
.#{$fa-css-prefix}-joomla:before { content: $fa-var-joomla; }
@@ -488,6 +488,7 @@
.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; }
.#{$fa-css-prefix}-circle-o-notch:before { content: $fa-var-circle-o-notch; }
.#{$fa-css-prefix}-ra:before,
.#{$fa-css-prefix}-resistance:before,
.#{$fa-css-prefix}-rebel:before { content: $fa-var-rebel; }
.#{$fa-css-prefix}-ge:before,
.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; }
@@ -722,3 +723,11 @@
.#{$fa-css-prefix}-snapchat:before { content: $fa-var-snapchat; }
.#{$fa-css-prefix}-snapchat-ghost:before { content: $fa-var-snapchat-ghost; }
.#{$fa-css-prefix}-snapchat-square:before { content: $fa-var-snapchat-square; }
.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; }
.#{$fa-css-prefix}-first-order:before { content: $fa-var-first-order; }
.#{$fa-css-prefix}-yoast:before { content: $fa-var-yoast; }
.#{$fa-css-prefix}-themeisle:before { content: $fa-var-themeisle; }
.#{$fa-css-prefix}-google-plus-circle:before,
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
.#{$fa-css-prefix}-fa:before,
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
@@ -4,9 +4,9 @@
$fa-font-path: "../fonts" !default;
$fa-font-size-base: 14px !default;
$fa-line-height-base: 1 !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.6.1/fonts" !default; // for referencing Bootstrap CDN font files directly
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.6.3/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix: fa !default;
$fa-version: "4.6.1" !default;
$fa-version: "4.6.3" !default;
$fa-border-color: #eee !default;
$fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default;
@@ -240,6 +240,7 @@ $fa-var-external-link-square: "\f14c";
$fa-var-eye: "\f06e";
$fa-var-eye-slash: "\f070";
$fa-var-eyedropper: "\f1fb";
$fa-var-fa: "\f2b4";
$fa-var-facebook: "\f09a";
$fa-var-facebook-f: "\f09a";
$fa-var-facebook-official: "\f230";
@@ -274,6 +275,7 @@ $fa-var-filter: "\f0b0";
$fa-var-fire: "\f06d";
$fa-var-fire-extinguisher: "\f134";
$fa-var-firefox: "\f269";
$fa-var-first-order: "\f2b0";
$fa-var-flag: "\f024";
$fa-var-flag-checkered: "\f11e";
$fa-var-flag-o: "\f11d";
@@ -286,6 +288,7 @@ $fa-var-folder-o: "\f114";
$fa-var-folder-open: "\f07c";
$fa-var-folder-open-o: "\f115";
$fa-var-font: "\f031";
$fa-var-font-awesome: "\f2b4";
$fa-var-fonticons: "\f280";
$fa-var-fort-awesome: "\f286";
$fa-var-forumbee: "\f211";
@@ -317,6 +320,8 @@ $fa-var-glide-g: "\f2a6";
$fa-var-globe: "\f0ac";
$fa-var-google: "\f1a0";
$fa-var-google-plus: "\f0d5";
$fa-var-google-plus-circle: "\f2b3";
$fa-var-google-plus-official: "\f2b3";
$fa-var-google-plus-square: "\f0d4";
$fa-var-google-wallet: "\f1ee";
$fa-var-graduation-cap: "\f19d";
@@ -482,8 +487,9 @@ $fa-var-phone-square: "\f098";
$fa-var-photo: "\f03e";
$fa-var-picture-o: "\f03e";
$fa-var-pie-chart: "\f200";
$fa-var-pied-piper: "\f1a7";
$fa-var-pied-piper: "\f2ae";
$fa-var-pied-piper-alt: "\f1a8";
$fa-var-pied-piper-pp: "\f1a7";
$fa-var-pinterest: "\f0d2";
$fa-var-pinterest-p: "\f231";
$fa-var-pinterest-square: "\f0d3";
@@ -522,6 +528,7 @@ $fa-var-reorder: "\f0c9";
$fa-var-repeat: "\f01e";
$fa-var-reply: "\f112";
$fa-var-reply-all: "\f122";
$fa-var-resistance: "\f1d0";
$fa-var-retweet: "\f079";
$fa-var-rmb: "\f157";
$fa-var-road: "\f018";
@@ -636,6 +643,7 @@ $fa-var-text-width: "\f035";
$fa-var-th: "\f00a";
$fa-var-th-large: "\f009";
$fa-var-th-list: "\f00b";
$fa-var-themeisle: "\f2b2";
$fa-var-thumb-tack: "\f08d";
$fa-var-thumbs-down: "\f165";
$fa-var-thumbs-o-down: "\f088";
@@ -729,6 +737,7 @@ $fa-var-yc: "\f23b";
$fa-var-yc-square: "\f1d4";
$fa-var-yelp: "\f1e9";
$fa-var-yen: "\f157";
$fa-var-yoast: "\f2b1";
$fa-var-youtube: "\f167";
$fa-var-youtube-play: "\f16a";
$fa-var-youtube-square: "\f166";
@@ -43,4 +43,4 @@ $mfp-caption-subtitle-color: #bdbdbd; // Caption sub
.mfp-counter { font-family: $serif; } // Caption font family
// A11y
$mfp-use-visuallyhidden: false;
$mfp-use-visuallyhidden: false;

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