Skip to content

Commit

Permalink
Make site https safe
Browse files Browse the repository at this point in the history
  • Loading branch information
creationix committed Mar 31, 2016
1 parent e03a7c6 commit cc8fa31
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
18 changes: 9 additions & 9 deletions skin/article.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
%hr{style:"clear:both"}
#disqus_thread.body
:script
var disqus_url = "http://howtonode.org/#{article.name}";
%script(src="http://disqus.com/forums/howtonodeorg/embed.js" type="text/javascript")
%a.view-thread(href="http://disqus.com/forums/howtonodeorg/?url=ref")
var disqus_url = "//howtonode.org/#{article.name}";
%script(src="//disqus.com/forums/howtonodeorg/embed.js" type="text/javascript")
%a.view-thread(href="//disqus.com/forums/howtonodeorg/?url=ref")
View the discussion thread.
%a.dsq-brlink(href="http://disqus.com")
%a.dsq-brlink(href="//disqus.com")
blog comments powered by
%span.logo-disqus
Disqus
Expand All @@ -29,7 +29,7 @@
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/howtonodeorg/get_num_replies.js' + query + '"></' + 'script>');
document.write('<script charset="utf-8" type="text/javascript" src="//disqus.com/forums/howtonodeorg/get_num_replies.js' + query + '"></' + 'script>');
})();


Expand Down Expand Up @@ -65,9 +65,9 @@
.aside
%h4
About this Article
%a.twitter-share-button{href:"http://twitter.com/share",data-count:"horizontal",data-via:"creationix"}
%a.twitter-share-button{href:"//twitter.com/share",data-count:"horizontal",data-via:"creationix"}
Tweet
%script{src:"http://platform.twitter.com/widgets.js"}
%script{src:"//platform.twitter.com/widgets.js"}
:if article.date
%dl{title: article.date}
%dt
Expand All @@ -86,7 +86,7 @@
%dt
Node Version:
%dd
%a{ href: "http://github.com/joyent/node/tree/" + article.node }
%a{ href: "//github.com/joyent/node/tree/" + article.node }
node #{article.node}

:if article.dependencies
Expand All @@ -97,7 +97,7 @@
%ul
:each dependency in article.dependencies
%li
%a{ href: "http://github.com/creationix/haml-js/tree/8ea2df3a90ff488ed253d5872e0f4a387f393e5d" }
%a{ href: "//github.com/creationix/haml-js/tree/8ea2df3a90ff488ed253d5872e0f4a387f393e5d" }
haml-js v0.2.2
:if article.uniqueSnippets
Expand Down
14 changes: 7 additions & 7 deletions skin/feed.xml.haml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
%rss(version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom")
%rss(version="2.0" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:atom="https://www.w3.org/2005/Atom")
%channel
%title How To Node
%atom:link(href="http://howtonode.org/feed.xml" rel="self" type="application/rss+xml")
%link http://howtonode.org
%atom:link(href="https://howtonode.org/feed.xml" rel="self" type="application/rss+xml")
%link https://howtonode.org
%description How To Node is a blog featuring projects and tutorials relating to the Node.js project.
%pubDate&= formatRFC822Date(new Date())
%generator http://github.com/creationix/wheat
%generator https://github.com/creationix/wheat
%language en
:each article in articles
%item
%title&= article.title
%link&= "http://howtonode.org/" + article.name
%comments&= "http://howtonode.org/" + article.name + "#disqus_thread"
%link&= "https://howtonode.org/" + article.name
%comments&= "https://howtonode.org/" + article.name + "#disqus_thread"
%pubDate&= formatRFC822Date(article.date)
%guid(isPermaLink="true")&= "http://howtonode.org/" + article.name
%guid(isPermaLink="true")&= "https://howtonode.org/" + article.name
%description&= markdownEncode(article.markdown)
%author&= article.author && (article.author.email + " (" + article.author.name + ")")
8 changes: 4 additions & 4 deletions skin/index.haml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
%span.versiontag&= article.node
.bubble
%h4 Related Reading
%a{target:"books",href:"http://www.manning.com/sholmes/?a_aid=creationix&a_bid=0aeb7cac"}
%img{style:"height:188px;width:150px;border:0;",src:"http://www.manning.com/sholmes/sholmes_cover150.jpg"}
%a{target:"books",href:"http://manning.com/cantelon2/?a_aid=creationix&a_bid=9b654188"}
%img{style:"height:188px;width:150px;border:0;",src:"http://manning.com/cantelon2/cantelon2_cover150.jpg"}
%a{target:"books",href:"//www.manning.com/sholmes/?a_aid=creationix&a_bid=0aeb7cac"}
%img{style:"height:188px;width:150px;border:0;",src:"//www.manning.com/sholmes/sholmes_cover150.jpg"}
%a{target:"books",href:"//manning.com/cantelon2/?a_aid=creationix&a_bid=9b654188"}
%img{style:"height:188px;width:150px;border:0;",src:"//manning.com/cantelon2/cantelon2_cover150.jpg"}
4 changes: 2 additions & 2 deletions skin/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
.tagline
The zen of coding in node.js
= content

#footer
%p &copy; 2011-2014 Tim Caswell under the MIT license.
%p Content and articles are copyrighted to the individual authors. Design by&nbsp;
%a{href: "http://bengourley.co.uk"} Ben Gourley
%a{href: "https://bengourley.co.uk"} Ben Gourley
. All code snippets used in the examples are in the public domain.
%p Wheat v2 running on node.js #{process.version}
:script
Expand Down

0 comments on commit cc8fa31

Please sign in to comment.