technicalsuwako.moe/site.tmpl

92 行
3.9 KiB
Cheetah
Raw 通常表示 履歴

2022-01-27 14:12:21 +09:00
{{ 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 }}" />
2022-02-02 02:09:29 +09:00
<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 }}" />
2022-03-24 22:05:52 +09:00
<meta property="og:image" content="{{ .Rel "static/egaokero.jpg" }}" />
2022-01-27 14:12:21 +09:00
<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>
2022-03-24 14:43:39 +09:00
<div class="jswarning" id="jswarning">注意JavsScriptはONです。安全・安心の為、JavaScriptをOFFにしてお願い致します。</div>
2022-03-16 16:05:12 +09:00
<script type="text/javascript">
document.getElementById('jswarning').style.display = 'block';
</script>
2022-02-14 22:32:12 +09:00
<div class="container">
<img src="/static/Eqjk_WgVQAE2psn-new.jpeg" class="header-img" alt="ヘッダー" />
{{ end }}
2022-01-27 14:12:21 +09:00
2022-02-14 22:32:12 +09:00
{{ define "footer" }}
<hr />
2022-03-26 03:17:21 +09:00
<a href="https://github.com/piranha/gostatic">gostatic</a>で創作しました。<a href="https://git.076.ne.jp/TechnicalSuwako/StaticSuwako"><img src="/static/git.png" alt="Git" /></a>
2022-02-14 22:32:12 +09:00
</div>
2022-01-27 14:12:21 +09:00
</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> |
2022-01-31 12:32:13 +09:00
<a href="/freelancer/">フリーランス</a> |
2022-03-07 11:45:26 +09:00
<a href="/service/">サービス</a> |
2022-03-12 21:38:49 +09:00
<a href="/webring/">リング</a> |
2022-03-07 11:45:26 +09:00
<a href="/i2pabout/">I2Pについて</a>
2022-01-30 16:19:37 +09:00
</p>
<p>
2022-03-24 22:05:52 +09:00
<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> |
2022-03-26 03:17:21 +09:00
<a href="http://technicalsuwako.i2p/"><img src="/static/i2p.png" alt="I2P" /></a>
</p>
<p>
支援♡:
<a href="/support/monero/"><img src="/static/monero.png" alt="Monero" /></a> |
<a href="/support/wownero"><img src="/static/wownero.png" alt="Wownero" /></a> |
<a href="/support/bitcoin"><img src="/static/bitcoin.png" alt="Bitcoin" /></a>
2022-01-27 14:12:21 +09:00
</p>
<hr />
{{ .Content }}
{{ template "footer" . }}{{ end }}
{{ define "post" }}
<article>
<header>
<h1>{{ .Title }}</h1>
<a href="/">トップページに戻る</a>
<div class="info">
2022-01-30 16:19:37 +09:00
{{ .Other.Author }}、
2022-01-27 14:12:21 +09:00
{{ template "date" .Date }} &mdash;
{{ range $i, $t := .Tags }}{{if $i}},{{end}}
<a href="/tags/{{ $t }}/">{{ $t }}</a>{{ end }}
</div>
</header>
<section>
2022-03-24 14:43:39 +09:00
{{ .Content }}
2022-01-27 14:12:21 +09:00
</section>
</article>
{{ end }}
{{define "tag"}}
# {{ .Title }} でタグ付いているページ
{{ range .Site.Pages.WithTag .Title }}
- [{{ .Title }}](../../{{ .Url }})
{{ end }}
{{ end }}