Create a gist now

Instantly share code, notes, and snippets.

@Pasanpr /layout.html Secret
Created Feb 16, 2018

Embed
What would you like to do?
{% raw %}
<!doctype html>
<html>
<head>
<meta charset=utf-8>
{% block htmlhead %}
<title>{% block title %}Home{% endblock %}</title>
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link href="/feed.atom" rel="alternate" title="Recent Blog Posts" type="application/atom+xml">
{%- for link in links %}
<link rel="{{ link.rel }}" href="{{ link.href }}"{%
if link.media %} media="{{ link.media }}"{% endif %} type="{{ link.type }}">
{%- endfor %}
{% endblock %}
<script type="text/javascript" src="//use.typekit.net/tcx7ena.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body>
<header role="banner">
<div class="container">
<a class="header-title" href="/">Pasan Premaratne</a>
<ul class="headlinks">
<li><a href="/archive/">Archive</a></li>
<li><a href="/about/">About</a></li>
</ul>
</div>
</header>
<section role="main" class="container">
{% block body %}{% endblock %}
</section>
<footer id="footer">
<section class="container">
<p>
<a href="https://twitter.com/pasanpr" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @pasanpr</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</p>
<p>&copy; {{ format_date(format='YYYY') }} Pasan Premaratne</p>
</section>
</footer>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28086501-1']);
_gaq.push(['_setDomainName', 'pasanpremaratne.com']);
_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';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>
{% endraw %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment