Replace {{ base_path }
with absolute_url
filter
This commit is contained in:
parent
57a4324fa0
commit
73d12ab1b1
10 changed files with 11 additions and 25 deletions
|
@ -12,16 +12,14 @@ layouts_gallery:
|
||||||
- url: /assets/images/mm-layout-archive.png
|
- url: /assets/images/mm-layout-archive.png
|
||||||
image_path: /assets/images/mm-layout-archive.png
|
image_path: /assets/images/mm-layout-archive.png
|
||||||
alt: "archive layout example"
|
alt: "archive layout example"
|
||||||
modified: 2016-10-10T11:51:50-04:00
|
modified: 2016-11-03T11:55:22-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
{% include gallery id="layouts_gallery" caption="Examples of included layouts `splash`, `single`, and `archive`." %}
|
{% include gallery id="layouts_gallery" caption="Examples of included layouts `splash`, `single`, and `archive`." %}
|
||||||
|
|
||||||
[Install the Theme]({{ base_path }}/docs/quick-start-guide/){: .btn .btn--success .btn--large}
|
[Install the Theme]({{ "/docs/quick-start-guide/" | absolute_url }}){: .btn .btn--success .btn--large}
|
||||||
|
|
||||||
## Notable Features
|
## Notable Features
|
||||||
|
|
||||||
|
@ -48,14 +46,14 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
||||||
|
|
||||||
For even more demo pages check the [posts archive][year-archive].
|
For even more demo pages check the [posts archive][year-archive].
|
||||||
|
|
||||||
[header-image-post]: {{ base_path }}{% post_url 2012-03-15-layout-header-image-text-readability %}
|
[header-image-post]: {{ "" | absolute_url }}{% post_url 2012-03-15-layout-header-image-text-readability %}
|
||||||
[gallery-post]: {{ base_path }}{% post_url 2010-09-09-post-gallery %}
|
[gallery-post]: {{ "" | absolute_url }}{% post_url 2010-09-09-post-gallery %}
|
||||||
[html-tags-post]: {{ base_path }}{% post_url 2013-01-11-markup-html-tags-and-formatting %}
|
[html-tags-post]: {{ "" | absolute_url }}{% post_url 2013-01-11-markup-html-tags-and-formatting %}
|
||||||
[syntax-post]: {{ base_path }}{% post_url 2013-08-16-markup-syntax-highlighting %}
|
[syntax-post]: {{ "" | absolute_url }}{% post_url 2013-08-16-markup-syntax-highlighting %}
|
||||||
[sample-collection]: {{ base_path }}/recipes/chocolate-chip-cookies/
|
[sample-collection]: {{ "/recipes/chocolate-chip-cookies/" | absolute_url }}
|
||||||
[categories-archive]: {{ base_path }}/categories/
|
[categories-archive]: {{ "/categories/" | absolute_url }}
|
||||||
[tags-archive]: {{ base_path }}/tags/
|
[tags-archive]: {{ "/tags/" | absolute_url }}
|
||||||
[year-archive]: {{ base_path }}/year-archive/
|
[year-archive]: {{ "/year-archive/" | absolute_url }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@ title: "Posts by Category"
|
||||||
author_profile: true
|
author_profile: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
{% include group-by-array collection=site.posts field="categories" %}
|
{% include group-by-array collection=site.posts field="categories" %}
|
||||||
|
|
||||||
{% for category in group_names %}
|
{% for category in group_names %}
|
||||||
|
|
|
@ -5,7 +5,6 @@ permalink: /collection-archive/
|
||||||
author_profile: true
|
author_profile: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
{% capture written_label %}'None'{% endcapture %}
|
{% capture written_label %}'None'{% endcapture %}
|
||||||
|
|
||||||
{% for collection in site.collections %}
|
{% for collection in site.collections %}
|
||||||
|
|
|
@ -5,7 +5,6 @@ permalink: /page-archive/
|
||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
{% for post in site.pages %}
|
{% for post in site.pages %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
|
@ -5,8 +5,6 @@ permalink: /portfolio/
|
||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
|
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.portfolio %}
|
{% for post in site.portfolio %}
|
||||||
{% include archive-single.html type="grid" %}
|
{% include archive-single.html type="grid" %}
|
||||||
|
|
|
@ -5,8 +5,6 @@ permalink: /recipes/
|
||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
|
|
||||||
{% for post in site.recipes %}
|
{% for post in site.recipes %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
|
@ -5,8 +5,6 @@ permalink: /sitemap/
|
||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
|
|
||||||
A list of all the posts and pages found on the site. For you robots out there is an [XML version]({{ base_path }}/sitemap.xml) available for digesting as well.
|
A list of all the posts and pages found on the site. For you robots out there is an [XML version]({{ base_path }}/sitemap.xml) available for digesting as well.
|
||||||
|
|
||||||
<h2>Pages</h2>
|
<h2>Pages</h2>
|
||||||
|
|
|
@ -5,7 +5,6 @@ title: "Posts by Tags"
|
||||||
author_profile: true
|
author_profile: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
{% include group-by-array collection=site.posts field="tags" %}
|
{% include group-by-array collection=site.posts field="tags" %}
|
||||||
|
|
||||||
{% for tag in group_names %}
|
{% for tag in group_names %}
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
permalink: /terms/
|
permalink: /terms/
|
||||||
title: "Terms and Privacy Policy"
|
title: "Terms and Privacy Policy"
|
||||||
modified: 2016-06-06
|
modified: 2016-11-03T11:57:46-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
{% include toc %}
|
{% include toc %}
|
||||||
|
|
||||||
## Privacy Policy
|
## Privacy Policy
|
||||||
|
|
|
@ -5,7 +5,6 @@ title: "Posts by Year"
|
||||||
author_profile: true
|
author_profile: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include base_path %}
|
|
||||||
{% capture written_year %}'None'{% endcapture %}
|
{% capture written_year %}'None'{% endcapture %}
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||||
|
|
Loading…
Reference in a new issue