gdritter repos lib-static / master templates / main.mustache
master

Tree @master (Download .tar.gz)

main.mustache @masterraw · history · blame

{{! title, contents, usejs=False, onLoad='', copy='©2015 Getty Ritter' }}
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8;" />
    {{#opengraph}}
      <meta property="og:title" content="{{title}}"/>
      <meta property="og:type" content="website"/>
      <meta property="og:url" content="{{url}}"/>
      <meta property="og:description" content="{{description}}"/>
      <meta property="og:image" content="/static/icon.png"/>
      <meta property="og:image:width" content="120"/>
      <meta property="og:image:height" content="120"/>
      <meta property="og:site_name" content="Librarian of Alexandria"/>
    {{/opengraph}}
    <link rel="stylesheet" type="text/css" href="/static/main.css" />
    <title>Librarian of Alexandria: {{title}}</title>
  </head>
  <body {{#onload}}onLoad={{onload}}{{/onload}}>
    <div class="all">
      <div class="header">
    <div class="sitename">
      <h1>Librarian of Alexandria</h1>
    </div>
    <div class="title">
      <h2>{{title}}</h2>
    </div>
      </div>
      <div class="menu">
    <a href="/">Index</a>&nbsp;&nbsp;&nbsp;
    <a href="/category/">Collections</a>&nbsp;&nbsp;&nbsp;
    <a href="/quotes/">Quotes</a>&nbsp;&nbsp;&nbsp;
    <a href="/quips/">Quips</a>&nbsp;&nbsp;&nbsp;
    <a href="http://blog.infinitenegativeutility.com/">Blog</a>&nbsp;&nbsp;&nbsp;
    <a href="/about/">About</a>
      </div>
      <div class="contents">
    {{{contents}}}
      </div>
      <div class="footer">
    {{copy}}{{^copy}}&copy;2021 Getty Ritter{{/copy}}
      </div>
    </div>
  </body>
</html>