Permalink
Browse files

Use protocol-relative URLs when loading fonts from Google Web Fonts

  • Loading branch information...
1 parent 6ba0854 commit 14d1f1adc31e6ef7efeb96ff6b51356aacfe41d6 @kuyan committed Dec 21, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 templates/base.html
View
6 templates/base.html
@@ -9,7 +9,7 @@
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0">
- <link href='http://fonts.googleapis.com/css?family=Droid+Sans:700,400|Droid+Sans+Mono' rel='stylesheet' type='text/css'>
+ <link href="//fonts.googleapis.com/css?family=Droid+Sans:700,400|Droid+Sans+Mono" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
<!--[if lt IE 9]>
@@ -20,9 +20,7 @@
{% endblock %}
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
- {% if FEED_RSS %}
- <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
- {% endif %}
+ {% if FEED_RSS %}<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />{% endif %}
</head>
<body>

0 comments on commit 14d1f1a

Please sign in to comment.