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 }}" />
|
|
|
|
<meta property="og:image" content="{{ .Rel "static/lolilolisuwa.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-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 />
|
|
|
|
<a href="https://github.com/piranha/gostatic">gostatic</a>で創作しました。<a href="https://git.076.ne.jp/TechnicalSuwako/StaticSuwako">Git</a>
|
|
|
|
</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-01-27 14:12:21 +09:00
|
|
|
<a href="/support/">支援♡</a> |
|
2022-01-30 16:19:37 +09:00
|
|
|
<a href="/service/">サービス</a>
|
|
|
|
</p>
|
|
|
|
<p>
|
2022-01-27 14:12:21 +09:00
|
|
|
<a href="/blog.atom">RSSで登録</a> |
|
2022-01-30 16:19:37 +09:00
|
|
|
<a href="https://social.076.ne.jp/TechnicalSuwako">Pleromaでフォロー</a> |
|
|
|
|
<a href="https://video.076.ne.jp/c/technicalsuwako">PeerTubeで登録</a> |
|
2022-01-27 14:12:21 +09:00
|
|
|
<a href="https://www.technicalsuwako.jp">一般ネット</a> |
|
|
|
|
<a href="http://6qiatzlijtqo6giwvuhex5zgg3czzwrq5g6yick3stnn4xekw26zf7qd.onion/">Tor</a> |
|
|
|
|
<a href="http://4oymiquy7qobjgx36tejs35zeqt24qpemsnzgtfeswmrw6csxbkq.b32.i2p/">I2P</a>
|
|
|
|
</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 }} —
|
|
|
|
{{ range $i, $t := .Tags }}{{if $i}},{{end}}
|
|
|
|
<a href="/tags/{{ $t }}/">{{ $t }}</a>{{ end }}
|
|
|
|
<hr />
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<section>
|
|
|
|
{{ .Content }}
|
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{define "tag"}}
|
|
|
|
# {{ .Title }} でタグ付いているページ
|
|
|
|
{{ range .Site.Pages.WithTag .Title }}
|
|
|
|
- [{{ .Title }}](../../{{ .Url }})
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|