Replace absolute_url
with relative_url
This commit is contained in:
@@ -8,7 +8,7 @@ tags:
|
||||
---
|
||||
|
||||
{% capture fig_img %}
|
||||

|
||||

|
||||
{% endcapture %}
|
||||
|
||||
<figure>
|
||||
|
@@ -11,7 +11,7 @@ tags:
|
||||
- edge case
|
||||
- image
|
||||
- layout
|
||||
last_modified_at: 2016-11-03T11:45:09-04:00
|
||||
last_modified_at: 2018-03-20T16:00:52-04:00
|
||||
---
|
||||
|
||||
This post should display a **header with an overlay image**, if the theme supports it.
|
||||
@@ -24,7 +24,7 @@ This post tests overlay header images.
|
||||
|
||||
You can use it by specifying the opacity (between 0 and 1) of a black overlay like so:
|
||||
|
||||

|
||||

|
||||
|
||||
```yaml
|
||||
excerpt: "This post should [...]"
|
||||
@@ -38,7 +38,7 @@ header:
|
||||
|
||||
Or if you want to do more fancy things, go full rgba:
|
||||
|
||||

|
||||

|
||||
|
||||
```yaml
|
||||
excerpt: "This post should [...]"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Gemified Theme -- Alpha Release"
|
||||
last_modified_at: 2017-10-20T12:29:34-04:00
|
||||
last_modified_at: 2018-03-20T16:00:58-04:00
|
||||
categories:
|
||||
- Jekyll
|
||||
tags:
|
||||
@@ -68,17 +68,17 @@ Run `bundle install` (or `bundle update` if you're updating an existing repo) to
|
||||
|
||||
Add `theme: "minimal-mistakes-jekyll"` to your `_config.yml` file.
|
||||
|
||||
If you're migrating from an existing Minimal Mistakes site you shouldn't have to change anything else after this. If it's a new site consult then docs to [properly config]({{ "/docs/configuration/" | absolute_url }}).
|
||||
If you're migrating from an existing Minimal Mistakes site you shouldn't have to change anything else after this. If it's a new site consult then docs to [properly config]({{ "/docs/configuration/" | relative_url }}).
|
||||
|
||||
**Please Note:** Paths for image headers, overlays, teasers, [galleries]({{ "/docs/helpers/#gallery" | absolute_url }}), and [feature rows]({{ "/docs/helpers/#feature-row" | absolute_url }}) have changed and now require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: assets/images/filename.jpg`. The preferred location is now `assets/images` but can be placed elsewhere or external hosted. This applies for image references in `_config.yml` and `author.yml`.
|
||||
**Please Note:** Paths for image headers, overlays, teasers, [galleries]({{ "/docs/helpers/#gallery" | relative_url }}), and [feature rows]({{ "/docs/helpers/#feature-row" | relative_url }}) have changed and now require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: assets/images/filename.jpg`. The preferred location is now `assets/images` but can be placed elsewhere or external hosted. This applies for image references in `_config.yml` and `author.yml`.
|
||||
{: .notice--danger}
|
||||
|
||||
## Step 5: `jekyll new` Tweaks
|
||||
|
||||
If this is a new site be sure to add the following files to `_data/` and customize as you see fit. There is currently no way of bundling them in with the theme, so be sure to consult the docs on how to properly use both.
|
||||
|
||||
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ "/docs/ui-text/" | absolute_url }})
|
||||
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ "/docs/navigation/" | absolute_url }})
|
||||
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ "/docs/ui-text/" | relative_url }})
|
||||
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ "/docs/navigation/" | relative_url }})
|
||||
|
||||
You'll also need to:
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Gemified Theme -- Beta Release"
|
||||
last_modified_at: 2017-10-20T12:29:16-04:00
|
||||
last_modified_at: 2018-03-20T16:01:04-04:00
|
||||
categories:
|
||||
- Jekyll
|
||||
tags:
|
||||
@@ -52,17 +52,17 @@ Run `bundle install` (or `bundle update` if you're updating an existing repo) to
|
||||
|
||||
Add `theme: "minimal-mistakes-jekyll"` to your `_config.yml` file.
|
||||
|
||||
If you're migrating from an existing Minimal Mistakes site you shouldn't have to change anything else after this. If it's a new site consult then docs to [properly config]({{ "/docs/configuration/" | absolute_url }}).
|
||||
If you're migrating from an existing Minimal Mistakes site you shouldn't have to change anything else after this. If it's a new site consult then docs to [properly config]({{ "/docs/configuration/" | relative_url }}).
|
||||
|
||||
**Please Note:** Paths for image headers, overlays, teasers, [galleries]({{ "/docs/helpers/#gallery" | absolute_url }}), and [feature rows]({{ "/docs/helpers/#feature-row" | absolute_url }}) have changed and now require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: assets/images/filename.jpg`. The preferred location is now `assets/images` but can be placed elsewhere or external hosted. This all applies for image references in `_config.yml` and `author.yml` as well.
|
||||
**Please Note:** Paths for image headers, overlays, teasers, [galleries]({{ "/docs/helpers/#gallery" | relative_url }}), and [feature rows]({{ "/docs/helpers/#feature-row" | relative_url }}) have changed and now require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: assets/images/filename.jpg`. The preferred location is now `assets/images` but can be placed elsewhere or external hosted. This all applies for image references in `_config.yml` and `author.yml` as well.
|
||||
{: .notice--danger}
|
||||
|
||||
## Step 5: `jekyll new` Tweaks
|
||||
|
||||
If this is a new site be sure to add the following files to `_data/` and customize as you see fit. There is currently no way of bundling them in with the theme, so be sure to consult the docs on how to properly use both.
|
||||
|
||||
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ "/docs/ui-text/" | absolute_url }})
|
||||
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ "/docs/navigation/" | absolute_url }})
|
||||
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ "/docs/ui-text/" | relative_url }})
|
||||
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ "/docs/navigation/" | relative_url }})
|
||||
|
||||
You'll also need to:
|
||||
|
||||
|
Reference in New Issue
Block a user