diff --git a/README.md b/README.md index 5a17ad1a..80d25400 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ General notes and suggestions for customizing Minimal Mistakes. ## Setup for an Existing Jekyll site 1. Clone the following folders: `_includes`, `_layouts`, `assets`, and `images`. -2. Clone the following files and personalize content as need: `about.md`, `articles.html`, `index.md`, `feed.xml`, `sitemap.xml` +2. Clone the following files and personalize content as need: `about.md`, `posts.md`, `index.md`, `feed.xml`, `sitemap.xml` 3. Set the following variables in your `config.yml` file: ``` yaml @@ -71,7 +71,7 @@ bing_verify: # For external links add external: true links: - title: Theme Setup - url: /theme-setup + url: /theme-setup/ - title: External Link url: http://mademistakes.com external: true diff --git a/_config.yml b/_config.yml index a377fa6f..0eee9491 100644 --- a/_config.yml +++ b/_config.yml @@ -32,8 +32,8 @@ bing_verify: links: - title: About url: /about/ - - title: Articles - url: /articles/ + - title: Posts + url: /posts/ - title: Theme Setup url: /theme-setup/ - title: Made Mistakes @@ -47,7 +47,7 @@ pygments: true markdown: kramdown # https://github.com/mojombo/jekyll/wiki/Permalinks -permalink: /:categories/:title +permalink: /:categories/:title/ kramdown: auto_ids: true diff --git a/_layouts/home.html b/_layouts/home.html index 24e7687e..f889e35f 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -7,14 +7,14 @@ {% include _head.html %} - + {% include _browser-upgrade.html %} {% include _navigation.html %} {% if page.image.feature %}
- {{ page.title }} feature image + {{ page.title }} feature image {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %}
{% endif %} @@ -22,12 +22,12 @@ {% include _author-bio.html %} -
+

Articles

{% for post in site.posts limit:5 %} -
-

{{ post.title }}

-

{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}

+
+

{{ post.title }}

+

{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}

{% endfor %}
diff --git a/_layouts/page.html b/_layouts/page.html index 371197de..ae3ad7fa 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -7,24 +7,24 @@ {% include _head.html %} - + {% include _browser-upgrade.html %} {% include _navigation.html %} {% if page.image.feature %}
- {{ page.title }} feature image + {{ page.title }} feature image {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %}
{% endif %} -
+
-
-

{{ page.title }}

-
+
+

{{ page.title }}

+
{{ content }}
diff --git a/_layouts/post-index.html b/_layouts/post-index.html index ffea18ef..50f32c28 100644 --- a/_layouts/post-index.html +++ b/_layouts/post-index.html @@ -7,7 +7,7 @@ {% include _head.html %} - + {% include _browser-upgrade.html %} @@ -22,8 +22,8 @@ {% include _author-bio.html %}
-
-

{{ page.title }}

+
+

{{ page.title }}

{% for post in site.posts %} {% unless post.next %}

{{ post.date | date: '%Y' }}

@@ -34,9 +34,9 @@

{{ post.date | date: '%Y' }}

{% endif %} {% endunless %} -
-

{{ post.title }}

-

{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}

+
+

{{ post.title }}

+

{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}

{% endfor %}
diff --git a/_layouts/post.html b/_layouts/post.html index a91f9a8f..e258d12e 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,34 +7,34 @@ {% include _head.html %} - + {% include _browser-upgrade.html %} {% include _navigation.html %} {% if page.image.feature %}
- {{ page.title }} feature image + {{ page.title }} feature image {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %}
{% endif %} -
+
-
+
-

{{ page.title }}

+

{{ page.title }}

{{ page.tagline }}

-
+
{{ content }}
- +
@@ -42,7 +42,7 @@