Skip to content

Instantly share code, notes, and snippets.

@alexstone
Created January 20, 2014 16:29
Show Gist options
  • Select an option

  • Save alexstone/8523394 to your computer and use it in GitHub Desktop.

Select an option

Save alexstone/8523394 to your computer and use it in GitHub Desktop.

Revisions

  1. alexstone created this gist Jan 20, 2014.
    165 changes: 165 additions & 0 deletions spectre
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,165 @@
    <!DOCTYPE html>
    <html>
    <head>
    <title>{Title}</title>
    {block:Description}
    <meta name="description" content="{MetaDescription}">
    {/block:Description}
    </head>
    <body>
    <h1 class="title">{Title}</h1>
    <p class="description">{Description}</p>

    <!-- Posts -->
    {block:Posts}
    <div id="post_{PostID}" class="post {PostType} {TagsAsClasses}">
    {block:Text}
    {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
    <div class="body">{Body}</div>
    {/block:Text}

    {block:Photo}
    <img class="photo" alt="{PhotoAlt}" title="{PhotoAlt}" src="{PhotoURL-500}" />
    {block:Caption}
    <div class="caption">{Caption}</div>
    {/block:Caption}
    {block:Exif}
    <ul class="exif">
    {block:Camera}
    <li class="camera">{Camera}</li>
    {/block:Camera}

    {block:Aperture}
    <li class="aperture">{Aperture}</li>
    {/block:Aperture}

    {block:Exposure}
    <li class="exposure">{Exposure}</li>
    {/block:Exposure}

    {block:FocalLength}
    <li class="focal_length">{FocalLength}</li>
    {/block:FocalLength}
    </ul>
    {/block:Exif}
    {/block:Photo}

    {block:Panorama}
    <img class="photo pano" alt="{PhotoAlt}" title="{PhotoAlt}" src="{PhotoURL-Panorama}" />
    {block:Caption}
    <div class="caption">{Caption}</div>
    {/block:Caption}
    {block:Exif}
    <ul class="exif">
    {block:Camera}
    <li class="camera">{Camera}</li>
    {/block:Camera}

    {block:Aperture}
    <li class="aperture">{Aperture}</li>
    {/block:Aperture}

    {block:Exposure}
    <li class="exposure">{Exposure}</li>
    {/block:Exposure}

    {block:FocalLength}
    <li class="focal_length">{FocalLength}</li>
    {/block:FocalLength}
    </ul>
    {/block:Exif}
    {/block:Panorama}

    {block:Photoset}
    {Photoset}
    {block:Caption}
    <div class="caption">{Caption}</div>
    {/block:Caption}
    {/block:Photoset}

    {block:Quote}
    <div class="quote {Length}">{Quote}</div>
    {block:Source}
    <div class="source">{Source}</div>
    {/block:Source}
    {/block:Quote}

    {block:Link}
    <a href="{URL}" class="link" target="{Target}">{Name}</a>
    {block:Description}
    <div class="description">{Description}</div>
    {/block:Description}
    {/block:Link}

    {block:Chat}
    {block:Title}
    <h1 class="title">{Title}</h1>
    {/block:Title}
    <ul class="conversation">
    {block:Lines}
    <li class="user_{UserNumber} {Alt}">
    {block:Label}<span class="label">{Label}</span>{/block:Label}
    <span class="line">{Line}</span>
    </li>
    {/block:Lines}
    </ul>
    {/block:Chat}

    {block:Audio}
    {block:Caption}
    <div class="caption">{Caption}</div>
    {/block:Caption}

    {block:AudioEmbed}
    {AudioEmbed}
    {/block:AudioEmbed}

    {block:AlbumArt}
    <img class="album_art" src="{AlbumArtURL}" />
    {/block:AlbumArt}

    <ul class="details">
    {block:TrackName}
    <li class="trackname">{TrackName}</li>
    {/block:TrackName}

    {block:Artist}
    <li class="artist">{Artist}</li>
    {/block:Artist}

    {block:Album}
    <li class="album">{Album}</li>
    {/block:Album}
    </ul>

    {block:AudioPlayer}
    {AudioPlayer}
    {/block:AudioPlayer}
    {/block:Audio}

    {block:Video}
    {VideoEmbed-500}
    {block:Caption}
    <div class="caption">{Caption}</div>
    {/block:Caption}
    {/block:Video}

    {block:Answer}
    <div class="question">
    {Question}
    <div class="asker">{Asker}</div>
    </div>
    <div class="answer">{Answer}</div>
    <div class="replies">{Replies}</div>
    {/block:Answer}
    </div>

    {block:Date}
    {DayOfWeek}
    {Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}
    {12Hour}:{Minutes} {AmPm}
    {/block:Date}

    {/block:Posts}
    </body>
    </html>