{{ define "header" }}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
  <meta content="text/html; charset=utf-8" http-equiv="content-type" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>{{ .Site.Other.Title }}{{ if .Title }}: {{ .Title }}{{ end }}</title>
  <link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<body>
  <div id="jswarning">
    注意：JavsScriptはONです。安全・安心の為、JavaScriptをOFFにしてお願い致します。<br />
    Caution: JavaScript is enabled. For security reasons, please disable JavaScript.
  </div>
  <script type="text/javascript">document.getElementById('jswarning').style.display = 'block';</script>
  <div class="logo">
    <img src="/static/logo.jpg" class="header-img" alt="ロゴ" />
  </div>
  <div class="container">
{{ end }}

{{ define "footer" }}    <hr />
    <div class="emblems">
      <a href="https://validator.w3.org/check?uri=https%3A%2F%2F076.moe%2F">
        <img src="/static/valid-xhtml11.png" alt="Valid XHTML 1.1" height="31" width="88" />
      </a>
      <a href="https://jigsaw.w3.org/css-validator/validator?lang=ja&amp;profile=none&amp;uri=https%3A%2F%2F076.moe%2F&amp;usermedium=all&amp;vextwarning=&amp;warning=1">
        <img style="border:0;width:88px;height:31px" src="/static/valid-css.png" alt="正当なCSSです！" />
      </a>
      <a href="https://anybrowser.org/campaign/images/button_enhanced.gif">
        <img style="border:0;width:88px;height:31px" src="/static/any1.gif" alt="どのブラウザでも表示出来ます！" />
      </a>
      <a href="http://www.catb.org/hacker-emblem/">
        <img src="/static/hacker.png" alt="hacker emblem" />
      </a>
    </div>
    <p style="text-align: center;">
      <a href="https://076.moe">匿名自営業０７６</a><br />
      <a href="https://gitler.moe/TechnicalSuwako/076.moe">
        ページの<img class="icon" src="/static/git.png" alt="Git" />Gitリポジトリ
      </a>
    </p>
  </div>
</body>
</html>
{{ end }}

{{ define "page" }}{{ template "header" . }}    <div class="header-links">
      <a href="/jp/">トップ</a> |
      <a href="/jp/about/">（匿）076について</a> |
      <a href="/jp/contact/">連絡先</a> |
      <a href="/jp/support/">支援♡</a> |
      <a href="/jp/staff/">スタッフ</a>
    </div>
    <div class="header-links">
      <a href="/en/">Top</a> |
      <a href="/en/about/">About 076</a> |
      <a href="/en/contact/">Contact</a> |
      <a href="/en/support/">Support ♡</a> |
      <a href="/en/staff/">Staff</a>
    </div>
    <div class="header-links">
      ミラー：
      <a href="https://076.moe/"><img class="icon" src="/static/clearnet.png" alt="" />一般ネット</a> |
      <a href="http://7dt6irsmfvbrtgn4nuah56kky6mvr472fbwwaltuxpf26qdqkdhfvnqd.onion/"><img class="icon" src="/static/tor.png" alt="" />Tor</a> |
      <a href="http://y7kxuxllzqws4c765pmmbuwonvhythuzn4hdweyt576ngx7f4nhq.b32.i2p/"><img class="icon" src="/static/i2p.png" alt="" />I2P</a>
    </div>
    <hr />
{{ replace "<code>" "<code lang=\"\">" ( replace "<pre style=\"background-color:#f8f8f8;overflow-x: auto\">" "<pre>" .Content ) }}{{ template "footer" . }}{{ end }}
