aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/asides
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-16 09:29:09 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-16 09:29:09 -0400
commitf81bdbc1a8e341d9d3fe1eba3b77beadfe59b3d6 (patch)
tree31458d76b97e7e6af151be3bbf666bd58d7f9739 /.themes/classic/source/_includes/asides
parent4855ef5d2f976b07d624dddb85b46075009d5a6d (diff)
downloadmy_new_personal_website-f81bdbc1a8e341d9d3fe1eba3b77beadfe59b3d6.tar.xz
my_new_personal_website-f81bdbc1a8e341d9d3fe1eba3b77beadfe59b3d6.zip
Added support and documentation for deploying to subdirectories (like
with gh-pages)
Diffstat (limited to '.themes/classic/source/_includes/asides')
-rw-r--r--.themes/classic/source/_includes/asides/pinboard.html2
-rw-r--r--.themes/classic/source/_includes/asides/recent_posts.html2
-rw-r--r--.themes/classic/source/_includes/asides/twitter.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/.themes/classic/source/_includes/asides/pinboard.html b/.themes/classic/source/_includes/asides/pinboard.html
index 1cbb1379..bf656663 100644
--- a/.themes/classic/source/_includes/asides/pinboard.html
+++ b/.themes/classic/source/_includes/asides/pinboard.html
@@ -12,7 +12,7 @@
var pinboardInit = document.createElement('script');
pinboardInit.type = 'text/javascript';
pinboardInit.async = true;
- pinboardInit.src = '/javascripts/pinboard.js';
+ pinboardInit.src = '{{ site.root }}/javascripts/pinboard.js';
document.getElementsByTagName('head')[0].appendChild(pinboardInit);
})();
</script>
diff --git a/.themes/classic/source/_includes/asides/recent_posts.html b/.themes/classic/source/_includes/asides/recent_posts.html
index 1f100960..9b8f47a2 100644
--- a/.themes/classic/source/_includes/asides/recent_posts.html
+++ b/.themes/classic/source/_includes/asides/recent_posts.html
@@ -3,7 +3,7 @@
<ul id="recent_posts">
{% for post in site.posts limit: site.recent_posts %}
<li class="post">
- <a href="{{ post.url }}">{{ post.title }}</a>
+ <a href="{{ site.root }}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
diff --git a/.themes/classic/source/_includes/asides/twitter.html b/.themes/classic/source/_includes/asides/twitter.html
index 15cab8bc..d10d9e28 100644
--- a/.themes/classic/source/_includes/asides/twitter.html
+++ b/.themes/classic/source/_includes/asides/twitter.html
@@ -9,7 +9,7 @@
getTwitterFeed("{{site.twitter_user}}", {{site.twitter_tweet_count}}, {{site.twitter_show_replies}});
});
</script>
- <script src="/javascripts/twitter.js" type="text/javascript"> </script>
+ <script src="{{ site.root }}/javascripts/twitter.js" type="text/javascript"> </script>
{% if site.twitter_follow_button %}
<a href="http://twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-width="208px" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a>
{% else %}