add term
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
|
||||
<div id="container">
|
||||
|
||||
<div class="outer">
|
||||
<div id="blog-archives" class="category">
|
||||
<ul class="cp_list">
|
||||
@ -11,10 +13,14 @@
|
||||
</li>
|
||||
|
||||
{{ range $index,$value := (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
||||
{{ if lt $index 1 }}
|
||||
<li class="blog-list-first" style="display:block;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span> </li>
|
||||
{{ if lt $index 3 }}
|
||||
<li class="blog-list-first" style="display:block;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span>
|
||||
{{ with .Params.tags }}{{ range . }}<button class="tag"><a href="/tags/{{ . }}/">{{ . }}</a>{{ end }}</button>{{ end }}
|
||||
</li>
|
||||
{{ else }}
|
||||
<li class="blog-list-all" style="display:none;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span> </li>
|
||||
<li class="blog-list-all" style="display:none;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span>
|
||||
{{ with .Params.tags }}{{ range . }}<button class="tag"><a href="/tags/{{ . }}/">{{ . }}</a>{{ end }}</button>{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@ -24,7 +30,7 @@
|
||||
{{ if or (eq $t "chara") (eq $t "story") (eq $t "card") (eq $t "vrm") }}
|
||||
|
||||
<li class="commit">
|
||||
<span class="icon-moji_a"></span>
|
||||
<a href="#header"><span class="icon-moji_a"></span></a>
|
||||
</li>
|
||||
|
||||
<li class="top">
|
||||
@ -40,7 +46,7 @@
|
||||
{{ end }}
|
||||
|
||||
<li class="commit">
|
||||
<span class="icon-moji_a"></span>
|
||||
<a href="#header"><span class="icon-moji_a"></span></a>
|
||||
<!--
|
||||
<i class="fa-solid fa-code-branch"></i>
|
||||
<i class="fa-solid fa-code-commit"></i>
|
||||
@ -48,8 +54,13 @@
|
||||
-->
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
<link rel="apple-touch-icon" href="/icon/apple-touch-icon.png" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/svg.css" />
|
||||
<link rel="stylesheet" href="/pkg/icomoon/css/icomoon.css" />
|
||||
<link rel="stylesheet" href="/pkg/icomoon/icomoon.css" />
|
||||
<link rel="stylesheet" href="/pkg/font-awesome/css/all.min.css" />
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
@ -33,11 +33,10 @@
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
}
|
||||
</script>
|
||||
<script src="/pkg/hotkeys-js/dist/hotkeys.min.js"></script>
|
||||
<script src="/pkg/hotkeys-js/dist/terminal.js"></script>
|
||||
<script src="/js/index.js"></script>
|
||||
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
</head>
|
||||
|
@ -1,11 +1,18 @@
|
||||
<body>
|
||||
|
||||
<div class="containerx">
|
||||
|
||||
{{ $s := path.Dir (.Permalink | relURL) }}
|
||||
{{ $t := index (split $s "/") 2 }}
|
||||
{{ $o := index (split $s "/") 1 }}
|
||||
|
||||
<header id="header">
|
||||
<!--
|
||||
{{ partial "particles.html" . }}
|
||||
-->
|
||||
<div class="logo">
|
||||
{{ partial "svg.html" . }}
|
||||
{{ partial "term.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@ -34,9 +41,9 @@
|
||||
<script src=/bitcoin/app.js></script>
|
||||
-->
|
||||
|
||||
<a class="menu-link-left-black" href="https://card.syui.ai/ai"><i class="fa-solid fa-copy"></i></a>
|
||||
<a class="menu-link-left-black" href="https://manga.syui.ai"><i class="fa-regular fa-comment-dots"></i></a>
|
||||
<a class="menu-link-left-black" href="https://vrm.syui.ai"><i class="fa-solid fa-cube"></i></a>
|
||||
<a class="menu-link-left-black" href="https://card.syui.ai/ai"><span class="icon-card"></span></a>
|
||||
<a class="menu-link-left-black" href="https://manga.syui.ai"><span class="icon-book"></span></a>
|
||||
<a class="menu-link-left-black" href="https://vrm.syui.ai"><span class="icon-game"></span></a>
|
||||
<a class="menu-link-left-black" href="https://term.syui.ai"><span class="icon-aiterm"></span></a>
|
||||
<a class="menu-link-left-black" href="https://git.syui.ai/ai"><span class="icon-git_bg"></span></a>
|
||||
|
||||
|
@ -3,8 +3,9 @@
|
||||
<div class="navbar-nav">
|
||||
<span class="navbar-title-text"><a href="/"><span class="icon-ai"></span></a></span>
|
||||
<div class="navbar-nav-left">
|
||||
<a class="navbar-brand" href="/story">ストーリー</a>
|
||||
<a class="navbar-brand" href="/blog">ブログ</a>
|
||||
<a class="navbar-brand" href="/chara">キャラクター</a>
|
||||
<a class="navbar-brand" href="/story">ストーリー</a>
|
||||
<a class="navbar-brand" href="/card">カード</a>
|
||||
</div>
|
||||
</div>
|
||||
|
5
layouts/partials/particles.html
Normal file
5
layouts/partials/particles.html
Normal file
@ -0,0 +1,5 @@
|
||||
<div id="particles-js"></div>
|
||||
<script src="/pkg/particles/particles.min.js"></script>
|
||||
<script src="/pkg/particles/stats.min.js"></script>
|
||||
<script src="/pkg/particles/config.js"></script>
|
||||
<link rel="stylesheet" href="/pkg/particles/particles.css" />
|
@ -7,8 +7,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="aiterm" style="display:none;">
|
||||
<iframe src="https://term.syui.ai" allowfullscreen frameborder="0" style="width:100%;height: 400px;" id="terminal-input"></iframe>
|
||||
</div>
|
||||
|
||||
|
16
layouts/partials/term.html
Normal file
16
layouts/partials/term.html
Normal file
@ -0,0 +1,16 @@
|
||||
<div id="aiterm" style="display:none;">
|
||||
<link rel="stylesheet" href="https://term.syui.ai/term/pkg/jquery.terminal/css/jquery.terminal.css" />
|
||||
<link rel="stylesheet" href="https://term.syui.ai/term/css/terminal.css" />
|
||||
<script src="https://term.syui.ai/term/pkg/jquery.ajax/jquery.min.js"></script>
|
||||
<script src="https://term.syui.ai/term/pkg/axios/dist/axios.min.js"></script>
|
||||
<script src="https://term.syui.ai/term/pkg/jquery.terminal/js/jquery.terminal.min.js"></script>
|
||||
<script src="https://term.syui.ai/term/pkg/jquery.terminal/js/jquery.mousewheel-min.js"></script>
|
||||
<script src="https://term.syui.ai/term/js/terminal.js"></script>
|
||||
<app></app>
|
||||
<script src="https://term.syui.ai/term/js/bundle.js"></script>
|
||||
<script src="https://term.syui.ai/term/pkg/hotkeys-js/dist/hotkeys.min.js"></script>
|
||||
<script src="https://term.syui.ai/term/pkg/hotkeys-js/dist/terminal.js"></script>
|
||||
<!--
|
||||
<iframe src="https://term.syui.ai" allowfullscreen frameborder="0" style="width:100%;height: 400px;" id="terminal-input"></iframe>
|
||||
-->
|
||||
</div>
|
Reference in New Issue
Block a user