Commit graph

16 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
6f70f3aeda Add Google AdSense to demo site 2016-11-21 09:33:35 -05:00
Michael Rose
b29e4bf5c9 Replace base_path with absolute_url filter 2016-11-04 12:50:03 -04:00
Michael Rose
57a4324fa0 Move gh-pages branch files into /docs and add test files
- Jekyll ignore `/docs` and `/test` folders when using from root
- Update Staticman config to point to correct branch and data file location
- Replace `{{ base_path }}` references with `absolute_url` filter
- Update documentation
2016-11-03 11:52:04 -04:00