mirror of
https://github.com/jimeh/jimeh.me-v3.0.git
synced 2026-02-19 05:46:40 +00:00
restructured head/foot html for consistency
between site and blog jekyll projects
This commit is contained in:
@@ -1,2 +1,17 @@
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function() {
|
||||
var links = document.getElementsByTagName('a');
|
||||
var query = '?';
|
||||
for (var i = links.length - 1; i >= 0; i--){
|
||||
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
||||
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
||||
};
|
||||
};
|
||||
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/jimeh/get_num_replies.js' + query + '"></' + 'script>');
|
||||
})();
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function() {
|
||||
var links = document.getElementsByTagName('a');
|
||||
var query = '?';
|
||||
for (var i = links.length - 1; i >= 0; i--){
|
||||
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
||||
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
||||
};
|
||||
};
|
||||
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/jimeh/get_num_replies.js' + query + '"></' + 'script>');
|
||||
})();
|
||||
//]]>
|
||||
</script>
|
||||
@@ -19,6 +19,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% include disqus_load.html %}
|
||||
|
||||
{% include _foot.html %}
|
||||
|
||||
@@ -33,6 +33,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% include disqus_load.html %}
|
||||
|
||||
{% include _foot.html %}
|
||||
@@ -37,6 +37,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% include disqus_load.html %}
|
||||
|
||||
{% include _foot.html %}
|
||||
|
||||
2
source/site/_includes/_foot.html
Normal file
2
source/site/_includes/_foot.html
Normal file
@@ -0,0 +1,2 @@
|
||||
</body>
|
||||
</html>
|
||||
39
source/site/_includes/_head.html
Normal file
39
source/site/_includes/_head.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<title>{{ page.title }}</title>
|
||||
<meta name="author" content="Jim Myhrberg" />
|
||||
<link href="http://feeds.feedburner.com/jimeh" rel="alternate" title="jimeh / blog" type="application/atom+xml" />
|
||||
|
||||
<link rel="stylesheet" href="/stylesheets/master.css" type="text/css" media="screen" title="no title" charset="utf-8" />
|
||||
|
||||
<script src="/javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/javascripts/main.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<link rel="openid.server" href="http://www.myopenid.com/server" />
|
||||
<link rel="openid.delegate" href="http://jimeh.myopenid.com/" />
|
||||
<link rel="openid2.local_id" href="http://jimeh.myopenid.com" />
|
||||
<link rel="openid2.provider" href="http://www.myopenid.com/server" />
|
||||
<meta http-equiv="X-XRDS-Location" content="http://www.myopenid.com/xrds?username=jimeh.myopenid.com" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-354018-11']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
||||
})();
|
||||
|
||||
</script>
|
||||
@@ -1,13 +0,0 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-354018-11']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
||||
})();
|
||||
|
||||
</script>
|
||||
@@ -1,5 +0,0 @@
|
||||
<link rel="openid.server" href="http://www.myopenid.com/server" />
|
||||
<link rel="openid.delegate" href="http://jimeh.myopenid.com/" />
|
||||
<link rel="openid2.local_id" href="http://jimeh.myopenid.com" />
|
||||
<link rel="openid2.provider" href="http://www.myopenid.com/server" />
|
||||
<meta http-equiv="X-XRDS-Location" content="http://www.myopenid.com/xrds?username=jimeh.myopenid.com" />
|
||||
@@ -1,26 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<title>{{ page.title }}</title>
|
||||
<meta name="author" content="Jim Myhrberg" />
|
||||
<link href="http://feeds.feedburner.com/jimeh" rel="alternate" title="jimeh / blog" type="application/atom+xml" />
|
||||
|
||||
<link rel="stylesheet" href="/stylesheets/master.css" type="text/css" media="screen" title="no title" charset="utf-8" />
|
||||
|
||||
<script src="/javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/javascripts/main.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
{% include open_id.html %}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{% include ga.html %}
|
||||
{% include _head.html %}
|
||||
|
||||
<div id="universe">
|
||||
|
||||
@@ -39,5 +17,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{% include _foot.html %}
|
||||
|
||||
Reference in New Issue
Block a user