diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-23 14:04:04 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-23 14:04:04 +0100 |
commit | e8e0f217377a51ae18f1558389890ae53d4d437f (patch) | |
tree | 8e21c27f3358b087830709ba52ecc1a202784200 /examples | |
parent | d7f04a2c6d036363a6257f32409e86fb6112f6ac (diff) | |
download | hakyll-e8e0f217377a51ae18f1558389890ae53d4d437f.tar.gz |
Added meta tag to fix encoding issue in IE.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/brochure/templates/default.html | 1 | ||||
-rw-r--r-- | examples/hakyll/templates/default.html | 13 | ||||
-rw-r--r-- | examples/morepages/templates/default.html | 1 | ||||
-rw-r--r-- | examples/rssblog/templates/default.html | 1 | ||||
-rw-r--r-- | examples/simpleblog/templates/default.html | 1 | ||||
-rw-r--r-- | examples/tagblog/templates/default.html | 1 |
6 files changed, 18 insertions, 0 deletions
diff --git a/examples/brochure/templates/default.html b/examples/brochure/templates/default.html index c587bd5..329dc47 100644 --- a/examples/brochure/templates/default.html +++ b/examples/brochure/templates/default.html @@ -3,6 +3,7 @@ "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>MyAweSomeCompany - $title</title> <link rel="stylesheet" type="text/css" href="$root/css/default.css" /> </head> diff --git a/examples/hakyll/templates/default.html b/examples/hakyll/templates/default.html index ee0b57a..916b0c3 100644 --- a/examples/hakyll/templates/default.html +++ b/examples/hakyll/templates/default.html @@ -3,6 +3,7 @@ "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>Hakyll - $title</title> <!-- Stylesheets. --> @@ -32,6 +33,18 @@ Site proudly generated by <a href="http://github.com/jaspervdj/hakyll">hakyll</a>. </div> </div> + + <!-- Google Analytics --> + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + try { + var pageTracker = _gat._getTracker("UA-11993001-1"); + pageTracker._trackPageview(); + } catch(err) {} + </script> </body> </html> diff --git a/examples/morepages/templates/default.html b/examples/morepages/templates/default.html index ef3e03c..d01722b 100644 --- a/examples/morepages/templates/default.html +++ b/examples/morepages/templates/default.html @@ -3,6 +3,7 @@ "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>MyAweSomeCompany - $title</title> <link rel="stylesheet" type="text/css" href="$root/css/default.css" /> </head> diff --git a/examples/rssblog/templates/default.html b/examples/rssblog/templates/default.html index 52678b7..049a37a 100644 --- a/examples/rssblog/templates/default.html +++ b/examples/rssblog/templates/default.html @@ -3,6 +3,7 @@ "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>SimpleBlog - $title</title> <link rel="stylesheet" type="text/css" href="$root/css/default.css" /> <link rel="alternate" diff --git a/examples/simpleblog/templates/default.html b/examples/simpleblog/templates/default.html index a9369b7..c411976 100644 --- a/examples/simpleblog/templates/default.html +++ b/examples/simpleblog/templates/default.html @@ -3,6 +3,7 @@ "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>SimpleBlog - $title</title> <link rel="stylesheet" type="text/css" href="$root/css/default.css" /> </head> diff --git a/examples/tagblog/templates/default.html b/examples/tagblog/templates/default.html index 52678b7..049a37a 100644 --- a/examples/tagblog/templates/default.html +++ b/examples/tagblog/templates/default.html @@ -3,6 +3,7 @@ "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>SimpleBlog - $title</title> <link rel="stylesheet" type="text/css" href="$root/css/default.css" /> <link rel="alternate" |