restructured head/foot html for consistency

between site and blog jekyll projects
This commit is contained in:
2010-02-05 03:54:54 +02:00
parent 9399fdc149
commit 9487d9b697
10 changed files with 58 additions and 63 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -19,6 +19,4 @@
</div>
{% include disqus_load.html %}
{% include _foot.html %}

View File

@@ -33,6 +33,4 @@
</div>
{% include disqus_load.html %}
{% include _foot.html %}

View File

@@ -37,6 +37,4 @@
</div>
{% include disqus_load.html %}
{% include _foot.html %}

View File

@@ -0,0 +1,2 @@
</body>
</html>

View 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>

View File

@@ -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>

View File

@@ -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" />

View File

@@ -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 %}