Skip to content

Commit 183beee

Browse files
committed
Fixed (?) disqus https problem with js hack
1 parent b156a11 commit 183beee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

theme/templates/base.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script>
5+
if (window.location.host.substr(-10) == '.github.io' && window.location.protocol != 'https:') {
6+
window.location.protocol = 'https:';
7+
}
8+
</script>
9+
410
<link href='http://fonts.googleapis.com/css?family=Noticia+Text:400,700' rel='stylesheet' type='text/css' />
511
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
612
<meta name="description" content="{{ DESCRIPTION }}">

0 commit comments

Comments
 (0)