103 行
5.5 KiB
Cheetah
103 行
5.5 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" 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 name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<link rel="alternate" type="application/atom+xml" title="{{ html .Site.Other.Title }} feed" href="/blog.atom" />
|
||
<title>{{ .Site.Other.Title }}{{ if .Title }}: {{ .Title }}{{ end }}</title>
|
||
<link rel="stylesheet" type="text/css" href="/static/style.css" />
|
||
</head>
|
||
<body>
|
||
<div class="container">
|
||
<img src="/static/Eqjk_WgVQAE2psn-new.jpeg" class="header-img" alt="ヘッダー" />
|
||
{{ end }}
|
||
|
||
{{ define "footer" }} <hr />
|
||
<div class="emblems">
|
||
<a href="https://validator.w3.org/check?uri=https%3A%2F%2Ftechnicalsuwako.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&profile=none&uri=https%3A%2F%2Ftechnicalsuwako.moe%2F&usermedium=all&vextwarning=&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>
|
||
<a href="https://stopsdgs.076.moe/">
|
||
<img src="/static/sdgs_logo.gif" alt="SDGsに反対" />
|
||
</a>
|
||
</div>
|
||
<p style="text-align: center;">
|
||
<a href="https://076.moe/">匿名自営業076</a>の設立者<br />
|
||
<a href="https://gitler.moe/suwako/technicalsuwako.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="/">トップ</a> |
|
||
<a href="/about/">自己紹介</a> |
|
||
<a href="/contact/">連絡先</a> |
|
||
<a href="/skill/">スキル</a> |
|
||
<a href="/portfolio/">ポートフォリオ</a> |
|
||
<a href="/webring/">リング</a>
|
||
</div>
|
||
<div class="header-links">
|
||
SNS:
|
||
<a href="/blog.atom"><img class="icon" src="/static/rssa.png" alt="" />Atomで登録</a> |
|
||
<a href="/twtxt.txt">twtxtでフォロー</a> |
|
||
<a href="https://social.076.moe/suwako"><img class="icon" src="/static/gnusocial.png" alt="" />GNU Socialでフォロー</a> |
|
||
<a href="https://video.076.moe/a/suwako"><img class="icon" src="/static/peertube.png" alt="" />PeerTubeで登録</a>
|
||
</div>
|
||
<div class="header-links">
|
||
ミラー(HTTP):
|
||
<a href="https://technicalsuwako.moe/"><img class="icon" src="/static/clearnet.png" alt="" />一般ネット</a> |
|
||
<a href="https://tilde.club/~technicalsuwako/"><img class="icon" src="/static/tilde.png" alt="" />Tilde</a> |
|
||
<a href="http://6qiatzlijtqo6giwvuhex5zgg3czzwrq5g6yick3stnn4xekw26zf7qd.onion/"><img class="icon" src="/static/tor.png" alt="" />Tor</a> |
|
||
<a href="http://technicalsuwako.i2p/"><img class="icon" src="/static/i2p.png" alt="" />I2P</a> (<a href="http://technicalsuwako.i2p/?i2paddresshelper=ubsJs74cyvIxM5CAnadTpNP~8nL3FylU6CC9EzXlaLQVbUuzwzDWSrvTwTEiS1~GTlPaoMxlHe7vCHk0Mn4dnTg-wVZts721rHhu8w4cb0RPVneU5jmcXItsPMyg4oXLVLhv~qe4CEJDFHv6kumFZHUVw~bzorCvwUuISSBM1CqbmZ~SWz0MOHHQBBkIzUHncl~oTGHYJ2AGS0-RLmTSNQIv9Eam1X7EWOmi4VBTpGf-n39QjltWL6SKr9um49OgsYochG6pC8l0kneaIjpDrGUr1jJ6MrwTZxxMWeykuxZv1Vwta74tITjijVyBwKUmlHtUHnnH7IukvEGq5S-6YXUZO~nu5PC~ycNJ35mQUJDmiGAikUUY-vUHk0FvDP30XEQnubsOKEyKBXnd7hSDw8IAO~eAaE8gI21zCMW58Qey11WsxCzM1fAmIN9Y0af~eKkmSTbn14Ma0CGl9M8vt1h5k0i-rKt-V76DR5eyYQ6JBwT7UqB6qiD90OMaaQ6rBQAEAAcAAA==">AH</a>, <a href="http://73pxqisewxlcjmbjyxnorg5ngq54ii6nmoxt3knaod6ggry7dq4a.b32.i2p/">B32</a>)
|
||
</div>
|
||
<div class="header-links">
|
||
ミラー(Gemini):
|
||
<a href="gemini://technicalsuwako.moe/"><img class="icon" src="/static/clearnet.png" alt="" />一般ネット</a>
|
||
</div>
|
||
<div>
|
||
支援♡ : <a href="/support/monero/"><img class="icon" src="/static/monero.png" alt="" />Monero</a>
|
||
</div>
|
||
<hr />
|
||
{{ replace "<code>" "<code lang=\"\">" ( replace "<pre style=\"background-color:#f8f8f8;overflow-x: auto\">" "<pre>" .Content ) }}{{ template "footer" . }}{{ end }}
|
||
|
||
{{ define "date" }}{{ .Format "2006年01月02日" }}{{ end }}
|
||
|
||
{{ define "pagelist" }}{{ range . }} <div class="mb5{{ if .Date.Year | changed "year" }} mt15{{ end }}">
|
||
<span>{{ template "date" .Date }}</span>
|
||
<span><a href="/{{ .Url }}">{{ .Title }}</a></span>
|
||
</div>
|
||
{{ end }}{{ end }}
|
||
|
||
{{ define "post" }}<div class="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>
|
||
</div>
|
||
<hr />
|
||
<div class="section">
|
||
{{ .Content }} </div>
|
||
{{ end }}
|
||
|
||
{{ define "tag" }} <h1>{{ .Title }} のタグが付いているページ</h1>
|
||
{{ template "pagelist" .Site.Pages.WithTag .Title }}{{ end }}
|