diff options
Diffstat (limited to '.themes/classic/source/_includes')
| -rw-r--r-- | .themes/classic/source/_includes/asides/github.html | 2 | ||||
| -rw-r--r-- | .themes/classic/source/_includes/asides/twitter.html | 19 | ||||
| -rw-r--r-- | .themes/classic/source/_includes/head.html | 7 |
3 files changed, 5 insertions, 23 deletions
diff --git a/.themes/classic/source/_includes/asides/github.html b/.themes/classic/source/_includes/asides/github.html index cb267f09..b0bf9596 100644 --- a/.themes/classic/source/_includes/asides/github.html +++ b/.themes/classic/source/_includes/asides/github.html @@ -8,7 +8,7 @@ <a href="https://github.com/{{site.github_user}}">@{{site.github_user}}</a> on GitHub {% endif %} <script type="text/javascript"> - $.domReady(function(){ + $(document).ready(function(){ if (!window.jXHR){ var jxhr = document.createElement('script'); jxhr.type = 'text/javascript'; diff --git a/.themes/classic/source/_includes/asides/twitter.html b/.themes/classic/source/_includes/asides/twitter.html deleted file mode 100644 index bab5de47..00000000 --- a/.themes/classic/source/_includes/asides/twitter.html +++ /dev/null @@ -1,19 +0,0 @@ -{% if site.twitter_user %} -<section> - <h1>Latest Tweets</h1> - <ul id="tweets"> - <li class="loading">Status updating...</li> - </ul> - <script type="text/javascript"> - $.domReady(function(){ - getTwitterFeed("{{site.twitter_user}}", {{site.twitter_tweet_count}}, {{site.twitter_show_replies}}); - }); - </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-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a> - {% else %} - <p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p> - {% endif %} -</section> -{% endif %} diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html index 8de6679f..7a727b27 100644 --- a/.themes/classic/source/_includes/head.html +++ b/.themes/classic/source/_includes/head.html @@ -16,14 +16,15 @@ <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1"> - {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{% if page.url contains site.category_dir %}/{% endif %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %} + {% 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="{{ root_url }}/favicon.png" rel="icon"> <link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css"> <link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml"> - {% include custom/head.html %} <script src="{{ root_url }}/javascripts/modernizr-2.0.js"></script> - <script src="{{ root_url }}/javascripts/ender.js"></script> + <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> + <script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/lib/jquery.min.js"%3E%3C/script%3E'))</script> <script src="{{ root_url }}/javascripts/octopress.js" type="text/javascript"></script> + {% include custom/head.html %} {% include google_analytics.html %} </head> |
