Commit graph

35 commits

Author SHA1 Message Date
Michael Rose
866fb17d9e Toggle table of contents via front matter (#1310)
* Add jekyll-toc include
* Reduce whitespace generated by comments
* Add table of contents include to `single` layout
* Replace `toc` include with jekyll-toc enabled YAML Front Matter
* Update README
* Update table of contents documentation
  - Revise `toc` helper include to mention that it will be deprecated in the next major version.
  - Add documentation to `single` layout explaining how to enable table of contents on those pages.
* Update CHANGELOG and history
* Update LICENSE

Close #1222
2017-10-20 14:54:06 -04:00
Michael Rose
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
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
Sebastian Wiesner
cf4f8277c1 Replace modified with last_modified_at (#930)
Fixes #929
2017-04-04 09:12:32 -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
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
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -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
cc0b266541 Add en default text to site.locale strings
- Close #407
2016-07-29 12:16:53 -04:00
Michael Rose
55efbd1782 Make page.title conditional in <h1>
- Fix #312
2016-05-16 09:42:16 -04:00
Michael Rose
a473d9467d Disable breadcrumbs on paginated home pages 2016-04-14 14:36:48 -04:00
Michael Rose
8115e439b2 Remove site.share conditional 2016-04-07 20:45:24 -04:00
Michael Rose
add3811ba7 Remove site.read_time condition 2016-04-07 16:25:50 -04:00
Michael Rose
1e53e7fca2 Allow breadcrumbs to be enabled with non-Jekyll Archives plugin 2016-04-07 16:05:17 -04:00
Michael Rose
803096d9fa Add icons to page meta labels (tags, categories, and date) 2016-04-03 21:35:53 -04:00
Michael Rose
85fb0d0283 Style tweaks to pagination, right sidebar, and background color 2016-03-29 23:13:00 -04:00
Michael Rose
cae92a8770 Add header overlay sample posts 2016-03-23 21:50:22 -04:00
Michael Rose
3663ba897a Create includes for greater layout flexibility 2016-03-23 12:56:23 -04:00
Michael Rose
f029ce6e25 Add reading time to archive layout and include icon 2016-03-22 22:28:12 -04:00
Michael Rose
bf4bf6ed82 Add optional reading time to single _layout 2016-03-21 21:42:55 -04:00
Michael Rose
d5ce1b2226 Simplify styling 2016-03-19 21:50:18 -04:00
Michael Rose
109f4ffb44 DRY up archive include
- Combine grid and list view into one include
2016-03-19 20:58:17 -04:00
Michael Rose
eb2f3d052a Create grid styling for related posts module
- Add default teaser image
- Disable image watch gulp task
2016-03-18 15:07:02 -04:00
Michael Rose
266f87d5ab Customizable comments label 2016-03-17 22:55:13 -04:00
Michael Rose
5d9e0af805 More style cleanup and housekeeping 2016-03-11 15:55:06 -05:00
Michael Rose
4427cf4c8e Add page taxonomy links for tags and categories
- Customizable text via _data file
- Enable/disable links by setting archive page filenames in _config.yml
2016-03-10 21:53:28 -05:00
Michael Rose
f63b8fe294 Add file extensions back to non-helper _includes 2016-03-10 21:13:01 -05:00
Michael Rose
8d046af7a9 Continue to refine styles and layouts 2016-03-10 13:06:59 -05:00
Michael Rose
caefcce729 Cleanup SCSS 2016-03-10 11:13:54 -05:00
Michael Rose
feb504592c Remove locale hash to shorten Liquid variable names 2016-03-09 20:49:17 -05:00
Michael Rose
ea8fb6fe33 Add support for localizing UI text with a _data file 2016-03-09 16:33:27 -05:00
Michael Rose
455067a000 Add option to disable social sharing globally 2016-03-07 11:48:25 -05:00
Michael Rose
9164c5053d Add more analytics and commenting options 2016-03-07 11:29:35 -05:00
Michael Rose
3bd495f1d4 Remove extensions from _includes to simplify naming 2016-03-07 10:27:07 -05:00
Michael Rose
0665dccffb Rename post.html _layout to single 2016-03-06 21:11:27 -05:00
Renamed from _layouts/post.html (Browse further)