Commit graph

15 commits

Author SHA1 Message Date
iBug ♦
bcd6126612
Use relative_url and absolute_url where possible (#2387)
* Use relative_url and absolute_url where possible

Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236

* One more unneeded {% assign %}

* Remove one more assign as noted by mmistakes

* Consolidate 4 more captures

* Consolidate an extra assign on "active" class
2020-03-06 15:37:07 -05: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
c8226a32a6 Replace absolute_url with relative_url
Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
2018-03-20 11:35:36 -04:00
Michael Rose
e8d83de8b7 Fix Liquid syntax error: Expected id but found open_square in "{{page.[include.id] }}" 2017-09-04 21:14:36 -04:00
Michael Rose
d3b2e49044 Remove prepend: "/" from includes and add to image path's instead 2016-10-10 11:48:30 -04:00
Michael Rose
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Michael Rose
77c5642803 Allow images to be placed in other folders
- Remove `images/` only restriction and encourage placement in `assets/images/` instead
2016-09-21 22:15:17 -04:00
Michael Rose
2d818cc8d1 Fix gallery size bug
-  Improperly evaluated size of gallery arrays as strings and not integers
- Close #402
2016-07-20 16:05:31 -04:00
Michael Rose
b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Michael Rose
b7185c8155 Add support for gallery image captions in Magnific Popup overlays
- Apply optional `title` attribute to image anchors that trigger Magnific Popup overlays
- Close #334
2016-06-01 21:26:14 -04:00
Michael Rose
b642972d82 Rename variables to stay consistent with naming convention 2016-03-23 16:31:30 -04:00
Michael Rose
5a14bfb98c Add .full image class for spanning the entire content container 2016-03-15 12:55:19 -04:00
Michael Rose
3bd495f1d4 Remove extensions from _includes to simplify naming 2016-03-07 10:27:07 -05:00
Michael Rose
8e838e1062 Improve gallery include variable names 2016-03-05 21:29:08 -05:00
Michael Rose
bc67d8d136 Update gallery sample post and build _include 2016-03-03 16:24:18 -05:00