Created
September 7, 2012 15:48
-
-
Save robrocker7/3667329 to your computer and use it in GitHub Desktop.
Example of Base.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load content_tags content_filters sekizai_tags %}<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<title>{% block page_title %}{% endblock %}</title> | |
<meta name="description" content="{% block page_description %}{% endblock %}" /> | |
<meta name="keywords" content="{% block page_keywords %}{% endblock %}" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<meta name="rating" content="general" /> | |
<meta name="distribution" content="global" /> | |
<meta name="resource-type" content="document" /> | |
{% endif %}{% endblock %}{% block css %} | |
<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css"> | |
{% endblock %} | |
{% render_block "css" %} | |
{% block google_analytics %} | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-5#####']); | |
_gaq.push(['_setDomainName', 'brandterm.com']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('http:' == document.location.protocol ? 'http://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
})(); | |
</script> | |
{% endblock %} | |
</head> | |
<body class="{{ page_name }} {% block typekit %}tk-facitweb{% endblock %}"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment