Files
.github
_data
_includes
analytics-providers
comments-providers
footer
head
search
analytics.html
archive-single.html
author-profile-custom-links.html
author-profile.html
base_path
breadcrumbs.html
browser-upgrade.html
category-list.html
comment.html
comments.html
documents-collection.html
feature_row
figure
footer.html
gallery
group-by-array
head.html
masthead.html
nav_list
page__hero.html
page__hero_video.html
page__taxonomy.html
paginator.html
post_pagination.html
posts-category.html
posts-tag.html
read-time.html
scripts.html
seo.html
sidebar.html
social-share.html
tag-list.html
toc
toc.html
video
_layouts
_sass
assets
docs
test
.editorconfig
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
Rakefile
_config.yml
banner.js
index.html
minimal-mistakes-jekyll.gemspec
package.json
screenshot-layouts.png
screenshot.png
staticman.yml
website/_includes/head.html
Michael Rose c8226a32a6 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 
2018-03-20 11:35:36 -04:00

43 lines
1.2 KiB
HTML

<meta charset="utf-8">
{% include seo.html %}
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
</script>
<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<!--[if lte IE 9]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
padding-right: 3em;
}
.greedy-nav button {
position: absolute;
top: 0;
right: 0;
height: 100%;
}
</style>
<![endif]-->
{% if site.head_scripts %}
{% for script in site.head_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
{% endif %}