Skip to content

Commit

Permalink
Fixed (?) disqus https problem with js hack
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkriff committed Jan 29, 2016
1 parent b156a11 commit 183beee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme/templates/base.html
@@ -1,6 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<script>
if (window.location.host.substr(-10) == '.github.io' && window.location.protocol != 'https:') {
window.location.protocol = 'https:';
}
</script>

<link href='http://fonts.googleapis.com/css?family=Noticia+Text:400,700' rel='stylesheet' type='text/css' /> <link href='http://fonts.googleapis.com/css?family=Noticia+Text:400,700' rel='stylesheet' type='text/css' />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="{{ DESCRIPTION }}"> <meta name="description" content="{{ DESCRIPTION }}">
Expand Down

0 comments on commit 183beee

Please sign in to comment.