diff options
| author | Brandon Mathis <brandon@imathis.com> | 2011-07-21 23:50:32 -0400 |
|---|---|---|
| committer | Brandon Mathis <brandon@imathis.com> | 2011-07-22 00:00:18 -0400 |
| commit | 39d56bc98834b09fc6939fd27bde8848efbb251d (patch) | |
| tree | 404e6d12464884a763949215bb66081c74cf56c9 /.themes/classic/source/_includes/asides | |
| parent | 44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 (diff) | |
| download | my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.tar.xz my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.zip | |
Finally a nice solution for mapping relative urls
Diffstat (limited to '.themes/classic/source/_includes/asides')
| -rw-r--r-- | .themes/classic/source/_includes/asides/pinboard.html | 2 | ||||
| -rw-r--r-- | .themes/classic/source/_includes/asides/recent_posts.html | 2 | ||||
| -rw-r--r-- | .themes/classic/source/_includes/asides/twitter.html | 2 |
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 bf656663..c89c3e7b 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 = '{{ site.root }}/javascripts/pinboard.js'; + pinboardInit.src = '{{ root_url }}/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 9b8f47a2..cc628145 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="{{ site.root }}{{ post.url }}">{{ post.title }}</a> + <a href="{{ root_url }}{{ 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 d10d9e28..fe4eda6a 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="{{ site.root }}/javascripts/twitter.js" type="text/javascript"> </script> + <script src="{{ root_url }}/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 %} |
