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
Fix figures when they are inside of a list (#2094)
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
Merge branch 'feature/image-helper' into develop
Rename image helper to figure
Do not assume images would be placed in `/assets/images/`
In order to add an image to a post, just use the following syntax:
{% include image image_path="/full/path/to/MyPostImage.png" caption="The optional image caption" %}
or
{% include image image_path="https://example.com/images/MyPostImage.png" caption="The optional image caption" alt="The optional alt text" %}
Replace base_path with `absolute_url` filter
add image helper for easier image insertion in posts