Add temp Pixiv and NG icons, add more recent art
This commit is contained in:
parent
16aa244096
commit
ff9ef5079c
6 changed files with 42 additions and 13 deletions
BIN
assets/art/bard.webp
Normal file
BIN
assets/art/bard.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 143 KiB |
BIN
assets/art/knight.webp
Normal file
BIN
assets/art/knight.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
BIN
assets/newgrounds.png
Normal file
BIN
assets/newgrounds.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 295 B |
BIN
assets/pixiv.png
Normal file
BIN
assets/pixiv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 255 B |
|
@ -26,15 +26,36 @@
|
||||||
"year": 2019
|
"year": 2019
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"year": 2020
|
"year": 2020,
|
||||||
|
"pieces": [
|
||||||
|
{
|
||||||
|
"title": "woman knight",
|
||||||
|
"filename": "knight.webp",
|
||||||
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/woman-knight",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/100096631"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"year": 2021,
|
"year": 2021,
|
||||||
"pieces": [
|
"pieces": [
|
||||||
|
{
|
||||||
|
"title": "mari & asuka",
|
||||||
|
"filename": "eva.webp",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/95031741",
|
||||||
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/mari-asuka"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "eva girls",
|
"title": "eva girls",
|
||||||
"filename": "eva.webp",
|
"filename": "eva.webp",
|
||||||
"pixiv_url": "blah"
|
"pixiv_url": "https://www.pixiv.net/en/artworks/94953596",
|
||||||
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/eva-girls"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "let's get fit!",
|
||||||
|
"filename": "Let's_Get_Fit!.webp",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/94953574",
|
||||||
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/let-s-get-fit"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -43,33 +64,39 @@
|
||||||
"pieces": [
|
"pieces": [
|
||||||
{
|
{
|
||||||
"title": "bard in the black shroud",
|
"title": "bard in the black shroud",
|
||||||
"filename": "after-school.webp",
|
"filename": "bard.webp",
|
||||||
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/bard-in-the-black-shroud"
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/bard-in-the-black-shroud",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/100622631"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "office date",
|
"title": "office date",
|
||||||
"filename": "office-date.webp"
|
"filename": "office-date.webp",
|
||||||
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/office-date",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/100150299"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "after school",
|
"title": "after school",
|
||||||
"filename": "after-school.webp"
|
"filename": "after-school.webp",
|
||||||
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/after-school",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/100147156"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "summer eva girls",
|
"title": "summer eva girls",
|
||||||
"filename": "summer-eva-girls.webp",
|
"filename": "summer-eva-girls.webp",
|
||||||
"newgrounds_url": "test"
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/summer-eva-girls",
|
||||||
|
"pixiv_url": "https://www.pixiv.net/en/artworks/100026963"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "summer byleth",
|
"title": "summer byleth",
|
||||||
"filename": "summer-byleth.webp",
|
"filename": "summer-byleth.webp",
|
||||||
"pixiv_url": "test",
|
"pixiv_url": "https://www.pixiv.net/en/artworks/98726204",
|
||||||
"newgrounds_url": "bb"
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/summer-byleth"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "after the rain",
|
"title": "after the rain",
|
||||||
"filename": "summer-byleth.webp",
|
"filename": "summer-byleth.webp",
|
||||||
"newgrounds_url": "",
|
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/after-the-rain",
|
||||||
"pixiv_url": "test"
|
"pixiv_url": "https://www.pixiv.net/en/artworks/97911950"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
{{ $art := (index site.Data ($.Param "json")) }}
|
{{ $art := (index site.Data ($.Param "json")) }}
|
||||||
|
{{ $pixiv_icon := resources.Get "pixiv.png" }}
|
||||||
|
{{ $newgrounds_icon := resources.Get "newgrounds.png" }}
|
||||||
|
|
||||||
{{ range $art.categories }}
|
{{ range $art.categories }}
|
||||||
<h3>{{ .name }}</h3>
|
<h3>{{ .name }}</h3>
|
||||||
|
@ -31,10 +33,10 @@
|
||||||
<figcaption>
|
<figcaption>
|
||||||
"{{ .title }}"
|
"{{ .title }}"
|
||||||
{{ if .newgrounds_url }}
|
{{ if .newgrounds_url }}
|
||||||
<a href="{{ .newgrounds_url }}">Newgrounds</a>
|
<a href="{{ .newgrounds_url }}"><img alt="Newgrounds Icon" width="16" height="16" src="{{ $newgrounds_icon.Permalink }}"></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .pixiv_url }}
|
{{ if .pixiv_url }}
|
||||||
<a href="{{ .pixiv_url }}">Pixiv</a>
|
<a href="{{ .pixiv_url }}"><img alt="Pixiv Icon" width="16" height="16" src="{{ $pixiv_icon.Permalink }}"></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
Loading…
Add table
Reference in a new issue