Adjust minimum and maximum levels to allow all headings and fix CSS to style indentation and nested lists properly in jekyll-toc and Kramdown generated table of contents.
Fixes#1782
* Add `{{ content }}` to `home` layout
Allow the author to add content which will appear above the list of
recent posts. This also allows the `home` layout to be extended.
Add text to index.html in tests to indicate that the content appears in
the correct spot.
* Add paragraph markup
Since this is a HTML file, proper paragraph markup is needed.
"Stick" table of contents to top of the page by adding:
```
toc: true
toc_sticky: true
```
to a post or page's YAML Front Matter.
Note: only supported with `single` layout.
Implement feature #1652 google custom search support. For now we only support the look and feel "results only" and the engine must be set to use that layout. Add a google section to the search providers and search_form and search layout.
Close#1652
Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
* 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
* 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
`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
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