Commit graph

68 commits

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

Close #1208
2017-09-12 12:01:43 -04:00
Michael Rose
dc47f82af2 Bump 💎 to 4.5.2 2017-09-06 15:14:15 -04:00
Michael Rose
2080469952 Show 4 latest posts when site.related_posts is nil
`site.related_posts` should return an array of latest posts when no related ones are found due to `lsi` being disabled (GitHub Page's doesn't support it).

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

Fixes #554
Related: #978 #1022
2017-09-05 13:02:37 -04:00
Michael Rose
1629f0e4a7 Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00
Michael Rose
13e299a8f3 Release 💎 4.5.0 2017-08-04 12:41:05 -04:00
Michael Rose
0f2d564837 Bump version to 4.4.2 2017-07-07 15:49:17 -04:00
Michael Rose
9361c53c43 Release 💎 4.4.1 2017-04-21 20:03:08 -04:00
Michael Rose
19568e95ae Release 💎 4.4.0 2017-04-18 12:58:46 -04:00
Sebastian Wiesner
cf4f8277c1 Replace modified with last_modified_at (#930)
Fixes #929
2017-04-04 09:12:32 -04:00
Michael Rose
d5d7c437b9 Bump version to 4.3.1 2017-03-22 09:45:03 -04:00
Nicolas Cavigneaux
958b399741 Remove buggy conditional around related posts header (#901)
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

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

Fix #900
2017-03-16 10:21:13 -04:00
Michael Rose
9e9d26ea97 Update theme meta info 2017-02-21 10:50:57 -05:00
Michael Rose
cb62cd7f71 Add theme meta info to _layouts/default.html 2017-02-21 10:12:49 -05:00
Michael Rose
66c154e37f Add video header support to archive and splash layouts 2017-01-24 10:09:22 -05:00
Justin Too
65a6654582 Add page hero video for vimeo/youtube using embedresponsively.com code (#788) 2017-01-24 09:29:34 -05:00
Michael Rose
6f70f3aeda Add Google AdSense to demo site 2016-11-21 09:33:35 -05:00
Michael Rose
b29e4bf5c9 Replace base_path with absolute_url filter 2016-11-04 12:50:03 -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