Created
March 21, 2012 13:53
-
-
Save samrat/2147055 to your computer and use it in GitHub Desktop.
_templates
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
{% extends "base.html" %} | |
{% block title %}Archive- Samrat Man Singh{% endblock %} | |
{% block content %} | |
<div class="container" style="padding-bottom:100px;"> | |
<div class="row"> </div> | |
<div class="row"> </div> | |
<div class="row"> | |
<div class="twelvecol"> | |
<div class="twocol"> </div> | |
<h1 class="title">Samrat Man Singh</h1> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="twelvecol"> | |
<div class="twocol"> </div> | |
<h2 class="url">http://samrat.github.com/</h2> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="twocol"> </div> | |
<div class="eightcol"> | |
<div class="pageTitle">Blog</div> | |
</div> | |
</div> | |
<div class="row" style="padding-top:10px;"> | |
<div class="twocol"> </div> | |
<div class="eightcol"> | |
{% for post in posts %} | |
<li> | |
<a href='{{ get_url(post.url) }}' style="font-size:20px;">{{ post.title }}</a> | |
<small>{{ post.date }}</small> | |
</li> | |
{% endfor %} | |
</div> | |
</div> | |
{% endblock %} | |
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
_templates/base.html | |
<!DOCTYPE html> | |
<html lang='en'> | |
<head> | |
<meta charset='utf-8'> | |
<title>{% block title %}Samrat Man Singh{% endblock %}</title> | |
<link rel="stylesheet" type="text/css" href="{{ get_asset('css/main.css') }}"> | |
<link rel="stylesheet" href="{{ get_asset('css/1140.css') }}" type="text/css" media="screen" /> | |
<!--[if lte IE 9]> | |
<link rel="stylesheet" href="/static/ie.css" type="text/css" media="screen" /> | |
<![endif]--> | |
<link rel="stylesheet" href="{{ get_asset('css/smallerscreen.css') }}" media="only screen and (max-width: 1023px)" /> | |
<link rel="stylesheet" href="{{ get_asset('css/mobile.css') }}" media="handheld, only screen and (max-width: 767px)" /> | |
<!--Google Adsense--> | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-18986645-3']); | |
_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> | |
</head> | |
<body> | |
<section class='content'> | |
{% block content %}{% endblock %} | |
</section> | |
</body> | |
</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
{% extends "base.html" %} | |
{% block title %}{{ post.title }}-Samrat Man Singh{% endblock %} | |
{% block content %} | |
<div class="container" style="padding-bottom:100px;"> | |
<div class="row"> </div> | |
<div class="row"> </div> | |
<div class="row"> | |
<div class="twelvecol"> | |
<div class="twocol"> </div> | |
<h1 class="title">Samrat Man Singh</h1> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="twelvecol"> | |
<div class="twocol"> </div> | |
<h2 class="url">http://samrat.github.com/</h2> | |
</div> | |
</div> | |
<div class="row" style="padding-top:30px;"> | |
<div class="twocol"> </div> | |
<div class="eightcol"> | |
<h1 class="ptitle">{{ post.title }}</h1> | |
<small>{{ post.date }}</small> | |
</div> | |
<div class="row"> | |
<div class="twocol"> </div> | |
<div class="eightcol"> | |
<div class="content"> | |
{{ post.content }} | |
</div> | |
</div> | |
</div> | |
</div> | |
</div><!--/container> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment