M _config.yml => _config.yml +1 -2
@@ 6,7 6,7 @@ url: http://mmistakes.github.io/minimal-mistakes
# Owner/author information goes here.
owner:
name: Michael Rose
- avatar: "/images/bio-photo.jpg"
+ avatar: bio-photo.jpg
bio: "Just another boring, time traveling, tattooed, designer from Buffalo New York."
email: michael@mademistakes.com
twitter: "@mmistakes"
@@ 23,7 23,6 @@ pygments: true
markdown: kramdown
# https://github.com/mojombo/jekyll/wiki/Permalinks
-permalink: /:categories/:title
maruku:
use_tex: false
M _includes/author-bio.html => _includes/author-bio.html +1 -1
@@ 1,3 1,3 @@
-<img src="{{ site.owner.avatar }}" class="bio-photo" alt="{{ site.owner.name }} bio photo" width="100" height="100"></a>
+<img src="{{ site.url }}/images/{{ site.owner.avatar }}" class="bio-photo" alt="{{ site.owner.name }} bio photo" width="100" height="100"></a>
<h4>{{ site.owner.name }}</h4>
<p>{{ site.owner.bio }}</p>=
\ No newline at end of file
M _includes/head.html => _includes/head.html +4 -4
@@ 24,7 24,7 @@
<meta name="msvalidate.01" content="{{ site.bing_verify }}">
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
-<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
+<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<link rel="author" href="{{ site.owner.google_plus }}">
<!-- http://t.co/dKP3o1e -->
@@ 35,13 35,13 @@
<!-- Google Webfonts -->
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700|PT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
<!-- For all browsers -->
-<link rel="stylesheet" href="/assets/css/main.css">
+<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
<!--[if (lt IE 9) & (!IEMobile)]>
-<link rel="stylesheet" href="/assets/css/ie.css">
+<link rel="stylesheet" href="{{ site.url }}/assets/css/ie.css">
<![endif]-->
<meta http-equiv="cleartype" content="on">
<!-- Load Modernizr -->
-<script src="/assets/js/vendor/modernizr-2.6.2.custom.min.js"></script>>
\ No newline at end of file
+<script src="{{ site.url }}/assets/js/vendor/modernizr-2.6.2.custom.min.js"></script><
\ No newline at end of file
M _includes/navigation.html => _includes/navigation.html +3 -3
@@ 5,9 5,9 @@
<div class="top-navigation">
<nav role="navigation">
<ul>
- <li><a href="/about">About</a></li>
- <li><a href="/articles">Sample Posts</a></li>
- <li><a href="/theme-setup">Theme Setup</a></li>
+ <li><a href="{{ site.url }}/about">About</a></li>
+ <li><a href="{{ site.url }}/articles">Sample Posts</a></li>
+ <li><a href="{{ site.url }}/theme-setup">Theme Setup</a></li>
</ul>
</nav>
</div><!-- /.top-navigation -->
M _includes/scripts.html => _includes/scripts.html +2 -2
@@ 1,6 1,6 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-<script>window.jQuery || document.write('<script src="/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
-<script src="/assets/js/main.min.js"></script>
+<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
+<script src="{{ site.url }}/assets/js/main.min.js"></script>
<!-- Asynchronous Google Analytics snippet -->
<script>
var _gaq = _gaq || [];
M _layouts/home.html => _layouts/home.html +1 -1
@@ 18,7 18,7 @@
<h1>{{ page.title }}</h1>
{% if page.tagline %}<h2>{{ page.tagline }}</h2>{% endif %}
</div><!--/ .headline-wrap -->
- <img src="/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
+ <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
</div><!-- /.image-wrap -->
<div class="article-author-top">
M _layouts/page.html => _layouts/page.html +1 -1
@@ 14,7 14,7 @@
{% include navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
- <img src="/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
+ <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
</div><!-- /.image-wrap -->{% endif %}
<div id="main" role="main">
M _layouts/post-index.html => _layouts/post-index.html +1 -1
@@ 18,7 18,7 @@
<h1>{{ page.title }}</h1>
{% if page.tagline %}<h2>{{ page.tagline }}</h2>{% endif %}
</div><!--/ .headline-wrap -->
- <img src="/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
+ <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
</div><!-- /.image-wrap -->
<div class="article-author-top">
M _layouts/post.html => _layouts/post.html +1 -1
@@ 14,7 14,7 @@
{% include navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
- <img src="/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
+ <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
</div><!-- /.image-wrap -->{% endif %}
<div id="main" role="main" itemscope itemtype="http://schema.org/BlogPosting">
M theme-setup.md => theme-setup.md +1 -1
@@ 100,4 100,4 @@ Not sure if this only effects Kramdown or if it's an issue with Markdown in gene
<iframe width="560" height="315" src="http://www.youtube.com/embed/PWf4WUoMXwg" frameborder="0"> </iframe>
~~~
-[^1]: Used to generate absolute urls in *sitemap.xml*, *feed.xml*, and for canonical urls in *head.html*. Don't include a trailing `\` in your base url ie: http://mademistakes.com>
\ No newline at end of file
+[^1]: Used to generate absolute urls in *sitemap.xml*, *feed.xml*, and for canonical urls in *head.html*. Don't include a trailing `\` in your base url ie: http://mademistakes.com. When developing locally remove or comment out this line so local css, js, and images are used.<
\ No newline at end of file