Commit graph

189 commits

Author SHA1 Message Date
Michael Rose
19f6d32745 Replace hardcoded text with strings stored in _data file 2017-11-15 15:50:29 -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
e09753fa0a Release 4.7.0 💎 2017-11-06 20:22:30 -05: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
8dcd353e90 Release 4.6.0 💎 2017-09-12 14:59: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
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
b29e4bf5c9 Replace base_path with absolute_url filter 2016-11-04 12:50:03 -04:00
Michael Rose
18713fd757 Create home page layout with paginated recent posts 2016-10-06 19:31:12 -04:00
Michael Rose
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -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
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
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
fc0f8f5b1d Set default lang to en 2016-07-15 10:27:30 -04:00
Michael Rose
2e2e42d1f0 Move custom footer into <footer> 2016-06-06 15:16:43 -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
03dac00db9 Update docs 2016-04-13 17:10:01 -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
b2611c3f2e Fix path bugs in breadcrumbs 2016-04-04 14:20:47 -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
479bce3682 Rough out splash page _layout with styles and test content 2016-03-23 16:35:01 -04:00
Michael Rose
3663ba897a Create includes for greater layout flexibility 2016-03-23 12:56:23 -04:00
Michael Rose
d5c3383f2a Disable breadcrumbs on homepage 2016-03-23 11:42:58 -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
c09a8b2c6f Add default 'no-js' class to be removed with JS if enabled 2016-03-21 15:59:50 -04:00
Michael Rose
5c79a09f08 Add custom footer include 2016-03-21 14:11:39 -04:00
Michael Rose
7f30ab04ea Remove Google webfonts as default and include for custom <head> includes
- Create font stacks using system fonts for improved performance
2016-03-21 14:11:14 -04:00
Michael Rose
780b30c9f6 Massage the grid layout 2016-03-20 15:20:33 -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
f85dd7aee2 Enable Stickyfill on screen width > 768px 2016-03-17 15:38:07 -04:00
Michael Rose
6c6546c1ea Gut grid mixins and replace with Susy for greater flexibility 2016-03-15 12:34:14 -04:00
Michael Rose
c7a7a5d707 Enable sticky sidebar
- Hide sidebar on small screens
2016-03-14 21:30:03 -04:00
Michael Rose
7fa159a9a2 Only enable breadcrumbs when using Jekyll Archives category pages 2016-03-11 21:09:09 -05:00
Michael Rose
2c2d5fb616 Adjust sidebar styling
- Disable sticky
- Show for small screens and adjust accordingly
2016-03-11 16:36:41 -05:00
Michael Rose
0b7f243aeb Make sure breadcrumbs, tag lists, and category lists only display when enabled 2016-03-11 16:17:20 -05:00
Michael Rose
5d9e0af805 More style cleanup and housekeeping 2016-03-11 15:55:06 -05:00
Michael Rose
3aa50cc5a5 Add support for Jekyll Archives plugin
- Option to select GitHub Pages compatible tag/category page archive or plugin generated archives
2016-03-11 09:39:20 -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
3df0afbdc9 Add smooth scroll and sticky scripts 2016-03-10 13:06:17 -05:00
Michael Rose
caefcce729 Cleanup SCSS 2016-03-10 11:13:54 -05:00
Michael Rose
d84f35c0e1 Correct headline hierarchy 2016-03-09 22:18:10 -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
0ccaef5a96 Add space after YAML Front Matter 2016-03-07 09:51:50 -05:00
Michael Rose
cf2fbef815 Add flag to enable sidebar author profile or alternate info 2016-03-06 22:05:43 -05:00
Michael Rose
0665dccffb Rename post.html _layout to single 2016-03-06 21:11:27 -05:00
Michael Rose
427ed394ad Use archive template for home page
- Remove home specific _layout
2016-03-06 21:00:48 -05:00
Michael Rose
aa8e427570 Markdownify titles and excerpts 2016-03-05 22:11:00 -05:00
Michael Rose
0a4c90e031 DRY up archives by using an include 2016-03-05 21:29:39 -05:00
Michael Rose
7c77274567 Add breadcrumb navigation include
- Disable by default
- Add schema.org markup
- Add basic styling
2016-03-04 22:57:12 -05:00
Michael Rose
3b13509329 Update and add samples 2016-03-04 12:37:24 -05:00
Michael Rose
acd8720126 Allow Markdown for header.image.caption
- Simplify and remove extra variables by condensing into one
2016-02-25 08:15:54 -05:00
Michael Rose
c71992e1c4 Add archives for pages and posts by [category, year, tags] 2016-02-24 22:08:59 -05:00
Michael Rose
538d4cf450 Update header images
- Rename image.feature to header.image
2016-02-24 21:23:29 -05:00
Michael Rose
813c8c8ca6 Cleanup auto generated excerpts 2016-02-24 16:10:45 -05:00
Michael Rose
b7b887f6e4 Enable share buttons on all _posts (default) 2016-02-23 11:19:44 -05:00
Michael Rose
0bb176b456 Set defaults for _posts
- layout ~> post.html
- enable comments
2016-02-23 10:47:43 -05:00
Michael Rose
d14a360cd3 Improve SEO include 2016-02-23 10:13:15 -05:00
Michael Rose
7139d61c62 Add basic schema structure 2016-02-22 22:46:59 -05:00
Michael Rose
75a913d179 Consolidate layouts
- Remove page.html
- Rename post-index.html ~> archive.html
2016-02-22 22:32:17 -05:00
Michael Rose
338d06673c Add compress.html layout
- Update config
- Remove problematic inline JS comments
2016-02-22 22:03:47 -05:00
Michael Rose
ddb78bf337 Rename classes for consistency 2016-02-22 21:44:55 -05:00
Michael Rose
a572dbaae0 Include absolute URL shorthand 2016-02-22 21:22:07 -05:00
Michael Rose
7c1792312f DRY up layouts by creating a default 2016-02-22 16:46:49 -05:00
Michael Rose
97b4571370 Add support for baseurl 2016-02-22 16:16:15 -05:00
Michael Rose
4348fc59b3 Remove "_" from includes 2016-02-22 14:58:16 -05:00
Kamil Szymanski
a4527d7e53 Fix home markup for link posts 2015-11-29 15:35:17 +01:00
andreykurenkov
985a6fd47d Merged improvement to post-index.html 2015-08-05 19:24:19 -07:00
andreykurenkov
0498eb167c Revised year listing that is more robust to changes- 2015-08-05 19:23:00 -07:00
Craig Dodd
f06b4c163d Remove trailing whitespace 2015-04-17 11:43:36 +01:00
Michael Rose
3d685a192f Show related posts only when there are 1 or more 2015-04-08 14:49:47 -04:00
Michael Rose
87b8d0b129 Add optional social sharing buttons
- Social share buttons appear at the end of every post and page unless you add share: false to their YAML Front Matter
- Fixes #42
2015-01-21 11:21:50 -05:00