Skip to content

Instantly share code, notes, and snippets.

@psql
Created August 29, 2012 19:13
Show Gist options
  • Save psql/3517410 to your computer and use it in GitHub Desktop.
Save psql/3517410 to your computer and use it in GitHub Desktop.
Tumblr theme guts
<!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}">
<style type="text/css">
</style>
</head>
<body>
{block:Description}{/block:Description}
<section id="posts">
{block:Posts}
<article>
<!-- text -->
{block:Text}
{block:Title}{Title}{/block:Title}
{Body}
{/block:Text}
<!-- photo -->
{block:Photo}
{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}
{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}
<a href="{URL}">{Name}</a>
{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}
</section>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment