Skip to content

Instantly share code, notes, and snippets.


Pasanpr/layout.html Secret

Created Feb 16, 2018
What would you like to do?
{% raw %}
<!doctype html>
<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 %} media="{{ }}"{% endif %} type="{{ link.type }}">
{%- endfor %}
{% endblock %}
<script type="text/javascript" src="//"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<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>
<section role="main" class="container">
{% block body %}{% endblock %}
<footer id="footer">
<section class="container">
<a href="" 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.src=p+'://';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<p>&copy; {{ format_date(format='YYYY') }} Pasan Premaratne</p>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28086501-1']);
_gaq.push(['_setDomainName', '']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
{% endraw %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment