88 行
3.5 KiB
Cheetah
88 行
3.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" 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/lolilolisuwa.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="fixed-top navbar-expand" style="background-color: #aaaa00; color: #fcfcfc; display: none; padding: 10px; z-index: 5000; position: fixed; top: 0; left: 0; width: 100%;" class="alert alert-warning" 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="/support/">支援♡</a> |
|
||
<a href="/service/">サービス</a> |
|
||
<a href="/webring/">リング</a> |
|
||
<a href="/i2pabout/">I2Pについて</a>
|
||
</p>
|
||
<p>
|
||
<a href="/blog.atom">RSSで登録</a> |
|
||
<a href="https://social.076.ne.jp/TechnicalSuwako">Pleromaでフォロー</a> |
|
||
<a href="https://video.076.ne.jp/c/technicalsuwako">PeerTubeで登録</a> |
|
||
<a href="https://www.technicalsuwako.jp">一般ネット</a> |
|
||
<a href="http://6qiatzlijtqo6giwvuhex5zgg3czzwrq5g6yick3stnn4xekw26zf7qd.onion/">Tor</a> |
|
||
<a href="http://technicalsuwako.i2p/">I2P</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 }}
|
||
<hr />
|
||
</div>
|
||
</header>
|
||
<section>
|
||
{{ .Content }}
|
||
</section>
|
||
</article>
|
||
{{ end }}
|
||
|
||
{{define "tag"}}
|
||
# {{ .Title }} でタグ付いているページ
|
||
{{ range .Site.Pages.WithTag .Title }}
|
||
- [{{ .Title }}](../../{{ .Url }})
|
||
{{ end }}
|
||
{{ end }}
|