Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Created January 29, 2011 04:38
Show Gist options
  • Save xeoncross/801546 to your computer and use it in GitHub Desktop.
Save xeoncross/801546 to your computer and use it in GitHub Desktop.
Important changes to add info to your tumblr blog
# We want pages to be called the name of the post
<title>{block:PostTitle}{PostTitle} - {/block:PostTitle}{Title}</title>
# Or if you also want a title for non-text posts
<title>{block:PostTitle}{PostTitle} - {/block:PostTitle}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
# http://developers.facebook.com/docs/reference/plugins/like
# We want a facebook like button
<iframe src="http://www.facebook.com/plugins/like.php?href={URLEncodedPermalink}&amp;layout=button_count&amp;show_faces=false&amp;width=98&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:30px;margin-top:2em;text-align:right;"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment