Skip to content

Instantly share code, notes, and snippets.

@sherbondy
Created January 31, 2010 06:15
Show Gist options
  • Save sherbondy/290924 to your computer and use it in GitHub Desktop.
Save sherbondy/290924 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>A CSS Hack, For Neven</title>
<style type="text/css">
/* Have one of these for each author on your tumblelog. */
.tooepic:after {content:"Ethan Sherbondy";}
.john-appleseed:after {content:"John Appleseed";}
/* fallback only displays if css is disabled */
.author .fallback {display:none;}
</style>
</head>
<body>
{block:Posts}
<p>A post.</p>
<p class="author {PostAuthorName}">Posted by <span class="fallback">{PostAuthorName}</span></p>
{/block:Posts}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment