fix
This commit is contained in:
parent
1b4316e03d
commit
54b9f10618
@ -10,9 +10,11 @@ paginate = 10000
|
|||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "syui"
|
name = "syui"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
date_format = "2006-01-02"
|
date_format = "2006-01-02"
|
||||||
mainSections = ["post"]
|
mainSections = ["post"]
|
||||||
|
author.name = "syui"
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
BIN
content/item/0001.jpg
Normal file
BIN
content/item/0001.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 429 KiB |
BIN
content/item/0002.jpg
Normal file
BIN
content/item/0002.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 190 KiB |
BIN
content/item/0003.jpg
Normal file
BIN
content/item/0003.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 150 KiB |
BIN
content/item/0004.jpg
Normal file
BIN
content/item/0004.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 365 KiB |
BIN
content/item/0005.jpg
Normal file
BIN
content/item/0005.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
9
content/item/index.md
Normal file
9
content/item/index.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
title: "item"
|
||||||
|
type: item
|
||||||
|
resources:
|
||||||
|
- src: '*.jpg'
|
||||||
|
|
||||||
|
date: "2024-01-04"
|
||||||
|
---
|
||||||
|
|
23
layouts/item/single.html
Normal file
23
layouts/item/single.html
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{{ partial "head.html" . }}
|
||||||
|
{{ partial "navbar.html" . }}
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
{{ .Content }}
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<div class="content">
|
||||||
|
{{ with .Resources.Match "*.jpg" }}
|
||||||
|
<div class="top-item">
|
||||||
|
<p>
|
||||||
|
{{ range . }}
|
||||||
|
<img src="{{ .RelPermalink }}">
|
||||||
|
{{ end }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -3,10 +3,11 @@
|
|||||||
<div class="navbar-nav">
|
<div class="navbar-nav">
|
||||||
<span class="navbar-title-text"><a href="/"><span class="icon-ai"></span></a></span>
|
<span class="navbar-title-text"><a href="/"><span class="icon-ai"></span></a></span>
|
||||||
<div class="navbar-nav-left">
|
<div class="navbar-nav-left">
|
||||||
<a class="navbar-brand" href="/blog">ブログ</a>
|
|
||||||
<a class="navbar-brand" href="/chara">キャラクター</a>
|
<a class="navbar-brand" href="/chara">キャラクター</a>
|
||||||
<a class="navbar-brand" href="/story">ストーリー</a>
|
<a class="navbar-brand" href="/story">ストーリー</a>
|
||||||
<a class="navbar-brand" href="/card">カード</a>
|
<a class="navbar-brand" href="/card">カード</a>
|
||||||
|
<a class="navbar-brand" href="/blog">ブログ</a>
|
||||||
|
<a class="navbar-brand" href="/item">アイテム</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-nav-right">
|
<div class="navbar-nav-right">
|
||||||
|
@ -360,9 +360,17 @@ header#header {
|
|||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-card p img {
|
.top-card p img {
|
||||||
width:80px;
|
width:80px;
|
||||||
padding:1px;
|
padding:1px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-item p img {
|
||||||
|
width:100%;
|
||||||
|
padding:1px;
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:1000px) {
|
@media screen and (max-width:1000px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user