Skip to content

Instantly share code, notes, and snippets.

@psql
Created August 30, 2012 00:35
Show Gist options
  • Save psql/3521007 to your computer and use it in GitHub Desktop.
Save psql/3521007 to your computer and use it in GitHub Desktop.
Tumblr Theme for Squetch
<!DOCTYPE html>
<head>
<title>{Title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<meta name="description" content="{MetaDescription}">
<script type="text/javascript" src="//use.typekit.net/qbb3kmh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<link href="http://dl.dropbox.com/u/36496/squetch.css" rel="stylesheet" type="text/css">
<style type="text/css">
</style>
</head>
<body>
<section id="posts">
<a id="logo" href="/"><img src="http://static.tumblr.com/fvrop9o/iZJm9jjya/newlogo.png" height="224" width="179"/></a>
{block:Posts}
<article>
<a class="permalink" href="{Permalink}">{TimeAgo}</a>
<!-- text -->
{block:Text}
{block:Title}{Title}{/block:Title}
{Body}
{/block:Text}
<!-- photo -->
{block:Photo}
<a href="{Permalink}"><img src="{PhotoURL-500}"></a>
{block:Caption}{Caption}{/block:Caption}
{/block:Photo}
<!-- photos -->
{block:Photoset}
{Photoset-500}
{block:Caption}{Caption}{/block:Caption}
{/block:Photoset}
<!-- quote -->
{block:Quote}
{Quote}
{block:Source}—{Source}{/block:Source}
{/block:Quote}
<!-- link -->
{block:Link}
<h3><a href="{URL}">{Name}</a></h3>
{block:Description}{Description}{/block:Description}
{/block:Link}
<!-- chat -->
{block:Chat}
{block:Title}{Title}{/block:Title}
{block:Lines}
{block:Label}<strong>{Label}</strong>{/block:Label}
{Line}<br>
{/block:Lines}
{/block:Chat}
<!-- audio -->
{block:Audio}
{AudioPlayerWhite}
{block:Caption}{Caption}{/block:Caption}
{/block:Audio}
<!-- video -->
{block:Video}
{Video-500}
{block:Caption}{Caption}{/block:Caption}
{/block:Video}
<!-- answer -->
{block:Answer}
<em>{Asker}: {Question}</em><br>
{Answer}
{/block:Answer}
</article>
{/block:Posts}
<!-- permalink -->
{block:PermalinkPage}
<!-- disqus -->
<h3>Comments:</h3>
<script type="text/javascript">var disqus_url = "{Permalink}"; var disqus_title ="{block:PostTitle}{PostTitle}{/block:PostTitle}";</script>{block:Permalink}<div id="disqus_thread"></div>
<script type="text/javascript">
/**
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
*/
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://squetchdemo.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=squetchdemo">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
{/block:Permalink}<script type="text/javascript">
var disqus_shortname = 'squetchdemo';
(function () {
var s = document.createElement('script'); s.async = true;
s.src = 'http://squetchdemo.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{/block:PermalinkPage}
</section>
<sidebar>{block:Description}{Description}{/block:Description}</sidebar>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment