diff --git a/404.md b/404.md index 0587e87af..df95ce750 100644 --- a/404.md +++ b/404.md @@ -5,13 +5,13 @@ description: "Page not found. Your pixels are in another canvas." comments: false share: false permalink: /404.html ---- +--- Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below. + {% include icons.html %} {% if page.image.background or site.background %} {% capture background %}{% if page.image.background %}{{ page.image.background }}{% else %}{{ site.background }}{% endif %}{% endcapture %} -{% unless background contains 'http://' or background contains 'https://' %}{% capture background %}{{ site.url }}/images/{{ background }}{% endcapture %}{% endunless %} +{% unless background contains 'http://' or background contains 'https://' %}{% capture background %}{{ background | prepend: "/images/" | prepend: site.baseurl }}{% endcapture %}{% endunless %} {% endif %} diff --git a/_includes/header.html b/_includes/header.html index 73ccb8fe4..af88e9774 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -5,11 +5,11 @@
@@ -76,24 +76,24 @@

diff --git a/_includes/icons.html b/_includes/icons.html index 1417cf93b..feebdc9dd 100644 --- a/_includes/icons.html +++ b/_includes/icons.html @@ -1,13 +1,13 @@ - + - + - + - + - + - + diff --git a/_includes/pagination.html b/_includes/pagination.html index 3d103ecc4..4df8124b1 100644 --- a/_includes/pagination.html +++ b/_includes/pagination.html @@ -4,9 +4,9 @@ {% comment %} Link for previous page {% endcomment %} {% if paginator.previous_page %} {% if paginator.previous_page == 1 %} -
  • Previous
  • +
  • Previous
  • {% else %} -
  • Previous
  • +
  • Previous
  • {% endif %} {% endif %} @@ -14,7 +14,7 @@ {% if paginator.page == 1 %}
  • 1
  • {% else %} -
  • 1
  • +
  • 1
  • {% endif %} {% assign page_start = 2 %} @@ -40,7 +40,7 @@ {% comment %} Distance must be a positive value {% endcomment %} {% assign dist = 0 | minus: dist %} {% endif %} -
  • {{index}}
  • +
  • {{index}}
  • {% endif %} {% endfor %} @@ -52,14 +52,14 @@ {% if paginator.page == paginator.total_pages %}
  • {{ paginator.page }}
  • {% else %} -
  • {{ paginator.total_pages }}
  • +
  • {{ paginator.total_pages }}
  • {% endif %} {% comment %} Link next page {% endcomment %} {% if paginator.next_page %} -
  • Next
  • +
  • Next
  • {% endif %}
    diff --git a/_includes/read-more.html b/_includes/read-more.html index 97afc0fef..64b2e071f 100644 --- a/_includes/read-more.html +++ b/_includes/read-more.html @@ -1,17 +1,17 @@
    {% for post in site.related_posts limit:1 %}
    - Read More + Read More
    -

    {{ post.title }}

    -

    {% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 140 }}…{% endif %} Continue reading

    +

    {{ post.title }}

    +

    {% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 140 }}…{% endif %} Continue reading

    {% endfor %}
    {% for post in site.related_posts limit:2 offset:1 %}
    -

    {{ post.title }}

    +

    {{ post.title }}

    Published on {{ post.date | date: "%B %d, %Y" }}
    {% endfor %} diff --git a/_includes/scripts.html b/_includes/scripts.html index bdceed4fd..dfdb8187c 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -1,6 +1,6 @@ - - + + diff --git a/_includes/social-share.html b/_includes/social-share.html index d6f72d02e..abf0facbb 100644 --- a/_includes/social-share.html +++ b/_includes/social-share.html @@ -1,7 +1,7 @@ -