87 行
3.7 KiB
Cheetah
87 行
3.7 KiB
Cheetah
{{ 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd" lang="ja" xml:lang="ja">
|
||
<head>
|
||
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
||
<meta name="author" content="{{ html .Site.Other.Author }}" />
|
||
<meta name="description" content="デジタル自主のロリ神様" />
|
||
<meta property="og:title" content="{{ html .Site.Other.Title }}" />
|
||
<meta property="og:type" content="website" />
|
||
<meta property="og:locale" content="ja_JP" />
|
||
<meta property="og:site_name" content="テクニカル諏訪子" />
|
||
<meta property="og:url" content="{{ .Site.Other.Url }}/{{ .Url }}" />
|
||
<meta property="og:image" content="{{ .Rel "static/egaokero.jpg" }}" />
|
||
<link rel="alternate" type="application/atom+xml" title="{{ html .Site.Other.Title }} feed" href="{{ .Rel "blog.atom" }}" />
|
||
<title>{{ .Site.Other.Title }}{{ if .Title }}: {{ .Title }}{{ end }}</title>
|
||
<link rel="stylesheet" type="text/css" href="{{ .Rel "static/style.css" }}" />
|
||
</head>
|
||
<body>
|
||
<div class="jswarning" id="jswarning">注意:JavsScriptはONです。安全・安心の為、JavaScriptをOFFにしてお願い致します。</div>
|
||
<script type="text/javascript">
|
||
document.getElementById('jswarning').style.display = 'block';
|
||
</script>
|
||
<div class="container">
|
||
<img src="/static/Eqjk_WgVQAE2psn-new.jpeg" class="header-img" alt="ヘッダー" />
|
||
{{ end }}
|
||
|
||
{{ define "footer" }}
|
||
<hr />
|
||
<a href="https://github.com/piranha/gostatic">gostatic</a>で創作しました。<a href="https://git.076.ne.jp/TechnicalSuwako/StaticSuwako">Git</a>
|
||
</div>
|
||
</body>
|
||
</html>
|
||
{{ end }}
|
||
|
||
{{define "date"}}
|
||
<time datetime="{{ .Format "2006-01-02T15:04:05Z07:00" }}">
|
||
{{ .Format "2006年01月02日" }}
|
||
</time>
|
||
{{end}}
|
||
|
||
{{ define "page" }}{{ template "header" . }}
|
||
<p>
|
||
<a href="/">トップ</a> |
|
||
<a href="/about/">自己紹介</a> |
|
||
<a href="/contact/">連絡先</a> |
|
||
<a href="/freelancer/">フリーランス</a> |
|
||
<a href="/service/">サービス</a> |
|
||
<a href="/webring/">リング</a> |
|
||
<a href="/i2pabout/">I2Pについて</a>
|
||
</p>
|
||
<p>
|
||
<a href="/blog.atom"><img src="/static/rssa.png" alt="RSS" />で登録</a> |
|
||
<a href="https://social.076.ne.jp/TechnicalSuwako"><img src="/static/mastodon.png" alt="Mastodon" />/<img src="/static/pleroma.png" alt="Pleroma" />でフォロー</a> |
|
||
<a href="https://video.076.ne.jp/c/technicalsuwako"><img src="/static/peertube.png" alt="PeerTube" />で登録</a> |
|
||
<a href="https://www.technicalsuwako.jp"><img src="/static/clearnet.png" alt="一般ネット" /></a> |
|
||
<a href="http://6qiatzlijtqo6giwvuhex5zgg3czzwrq5g6yick3stnn4xekw26zf7qd.onion/"><img src="/static/tor.png" alt="Tor" /></a> |
|
||
<a href="http://technicalsuwako.i2p/"><img src="/static/i2p.png" alt="I2P" /></a> |
|
||
<a href="/support/"><img src="/static/monero.png" alt="Monero" />/<img src="/static/wownero.png" alt="Wownero" />/<img src="/static/bitcoin.png" alt="Bitcoin" />で支援♡</a>
|
||
</p>
|
||
<hr />
|
||
{{ .Content }}
|
||
{{ template "footer" . }}{{ end }}
|
||
|
||
{{ define "post" }}
|
||
<article>
|
||
<header>
|
||
<h1>{{ .Title }}</h1>
|
||
<a href="/">トップページに戻る</a>
|
||
<div class="info">
|
||
{{ .Other.Author }}、
|
||
{{ template "date" .Date }} —
|
||
{{ range $i, $t := .Tags }}{{if $i}},{{end}}
|
||
<a href="/tags/{{ $t }}/">{{ $t }}</a>{{ end }}
|
||
</div>
|
||
</header>
|
||
<section>
|
||
{{ .Content }}
|
||
</section>
|
||
</article>
|
||
{{ end }}
|
||
|
||
{{define "tag"}}
|
||
# {{ .Title }} でタグ付いているページ
|
||
{{ range .Site.Pages.WithTag .Title }}
|
||
- [{{ .Title }}](../../{{ .Url }})
|
||
{{ end }}
|
||
{{ end }}
|