Commit graph

73 commits

Author SHA1 Message Date
Michael Rose
42de7a56fc Improve author link flexibility
Deprecate social networking links in `_config.yml` in favor or new `author.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
author:
  links:
    - label: "Your Website"
      icon: "fas fa-fw fa-link"
      url: "https://your-site.com"
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```

Fixes #1581
2018-09-10 15:05:07 -04:00
Michael Rose
68df0b6b63 Add header actions array support for multiple call to action links
```
header:
  overlay_image: /assets/images/unsplash-image-1.jpg
  og_image: /assets/images/page-header-og-image.png
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  actions:
    - label: "Learn More"
      url: "https://unsplash.com"
```

Fixes #1461
2018-09-10 11:04:06 -04:00
Michael Rose
833ab3933d Add support to gallery helper for defining column layout
e.g. `{% include gallery id="gallery" layout="half" caption="2 column gallery caption" %}

Fixes #1821
2018-09-10 10:24:24 -04:00
Michael Rose
961d0b4db8 Add table of contents test post 2018-08-15 09:38:08 -04:00
Michael Rose
2d808b783d Add table of contents test posts 2018-08-15 09:35:02 -04:00
Michael Rose
0c1157977d Fix capitalization 2018-08-15 09:07:18 -04:00
Michael Rose
f008388e39 Add test menu items 2018-08-10 08:55:06 -04:00
Michael Rose
f9c418c740 Update Staticman commit message to include name 2018-08-10 08:04:00 -04:00
Mark Crossfield
26e3864478 Add {{ content }} to home layout (#1775)
* 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.
2018-08-09 09:23:57 -04:00
Michael Rose
4fbc846414 Add sticky table of contents test posts 2018-05-31 10:22:13 -04:00
Michael Rose
789f4a5aeb Remove duplicate images 2018-05-31 10:17:59 -04:00
Michael Rose
d497e787e9 Add missing images to /test 2018-05-31 10:17:11 -04:00
Michael Rose
648254b2b5 Add support for captioning images in feature row helper
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close #1440
2018-05-15 15:41:45 -04:00
Michael Rose
3ffe095474 Roll back Jekyll Algolia 2018-05-03 15:30:00 -04:00
Michael Rose
0b7a26687d Rollback Jekyll Algolia 2018-05-03 15:20:10 -04:00
Michael Rose
68c8c75419 Revert "Enable jekyll-remote-theme"
This reverts commit 2cfe3c4440.
2018-05-03 15:19:07 -04:00
Michael Rose
2cfe3c4440 Enable jekyll-remote-theme 2018-05-03 15:16:05 -04:00
Michael Rose
9bc97aee23 Test external URL 2018-03-20 16:16:50 -04:00
Michael Rose
a8d3b4b613 Use collection layout 2018-03-20 14:47:23 -04:00
Michael Rose
31b20a6ad0 Add wide modifier to archive layout 2018-03-20 14:47:13 -04:00
Michael Rose
ba5d25c419 Replace hard coded archive pages with new layouts 2018-03-20 14:39:40 -04:00
Michael Rose
d6605146ac Add posts, categories, category, tags, tag, and collection layouts
Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
2018-03-20 12:45:28 -04:00
Michael Rose
1493db8fdf Remove apostrophe 2018-02-19 08:13:24 -05:00
Michael Rose
f878aa943b Add link to jekyll-algolia's documentation 2018-02-19 08:10:26 -05:00
Michael Rose
acdd3443de
Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Michael Rose
b59d53e34b Add sample wide pages and update documentation 2018-02-05 14:34:32 -05:00
Andrea
3598e8ebf2 Fix docs. Change Isaac Newton with Albert Einstein (#1508) 2018-01-30 20:28:44 -05:00
Michael Rose
ed840e9809 Add archive feature row test page 2018-01-17 12:54:28 -05:00
Michael Rose
0ec52b57ce Replace toc include with toc: true 2018-01-17 12:48:33 -05:00
Michael Rose
637d113179 Remove base_path include from pages 2018-01-17 12:48:19 -05:00
Michael Rose
e305cc79f1 Replace Vimeo video with working one 2018-01-09 14:28:43 -05:00
Michael Rose
7de9152d0f Change /test navigation links 2018-01-09 13:56:19 -05:00
Michael Rose
9634bb84fb Simplify year archive Liquid 2018-01-05 20:47:34 -05:00
Michael Rose
3f469f268f
Improve syntax highlighting styles (#1450)
* Cleanup syntax highlighting styles
* Replace hardcoded color values with [base16](http://chriskempson.com/projects/base16/) Sass variables
* Harmonize padding between GFM code blocks and `{% highlight %}` code blocks
*  Improve readability of line numbers
* Add longer code block example to test double digit line numbers
* Adjust code block colors for specific skins
2018-01-04 20:46:10 -05:00
Nick Garlis
3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00
Michael Rose
3c5e913aaf Fix line number width in code blocks
Code blocks with short line widths can cause `td.gutter` width to stretch, adding in undesired white space.

Declaring widths on the table's columns fixes #1437

Add `{% highlight linenos %}` examples to test and demo sites.
2018-01-03 09:45:21 -05:00
Michael Rose
1ad02b9022 Add author.name 2017-12-11 12:41:27 -05:00
Michael Rose
7eb00bbd61
Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose
a9cad4f066 Add search index excluded post
Post to test `search: false`
2017-11-28 08:38:07 -05:00
Michael Rose
ed7c12b20b Fix button class 2017-11-27 12:37:48 -05:00
Michael Rose
281c1288c2 Remove Alexa.com verification
Alexa "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature has been retired.

Close #1350
2017-11-27 11:37:33 -05:00
Michael Rose
7e8700df75 Add search page link to masthead 2017-11-15 15:04:32 -05:00
Nick Garlis
cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00
Michael Rose
47f537b40d Add plum skin 2017-11-06 16:20:33 -05:00
Michael Rose
fc852d3d47 Add neon skin 2017-11-06 12:18:47 -05:00
Pradhyo Bijja
e05159c290 Aqua skin (#1336)
* Add new skin and update docs

* Better screenshots for aqua skin
2017-11-06 11:24:00 -05:00
Michael Rose
869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00
Michael Rose
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
Ohad Schneider
611cecc51a Test strict front matter (#1236) 2017-09-11 12:10:09 -04:00