Commit graph

132 commits

Author SHA1 Message Date
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