2022-12-20 19:16:53 -05:00
{{ define "main" }}
< h2 > {{ .Title }}< / h2 >
2023-02-23 17:39:20 -05:00
< hr >
2023-03-26 13:47:22 -04:00
{{ $paginator := .Paginate (where .RegularPagesRecursive "Type" "art") }}
2022-12-20 19:16:53 -05:00
2023-03-08 10:41:26 -05:00
{{ if eq $paginator.PageNumber 1}}
2023-06-12 22:03:57 -04:00
< div class = "art-outer" >
< div class = "art-inner" >
{{ $alertimg := resources.Get "alert.png" }}
{{ with $.Params.new_banner }}
< div class = "new-banner" > < img alt = "Alert Icon" width = "16" height = "16" class = "banner-alert-icon" src = "{{ $alertimg.RelPermalink }}" > < b > {{ . }}< / b > < img alt = "Alert Icon" width = "16" height = "16" class = "banner-alert-icon" src = "{{ $alertimg.RelPermalink }}" > < / div >
{{ end }}
2023-09-04 07:59:34 -04:00
< div class = "new-banner" > < img alt = "Alert Icon" width = "16" height = "16" class = "banner-alert-icon" src = "{{ $alertimg.RelPermalink }}" > < b > Art may be risque, browse with caution.< / b > < img alt = "Alert Icon" width = "16" height = "16" class = "banner-alert-icon" src = "{{ $alertimg.RelPermalink }}" > < / div >
2023-03-29 08:57:55 -04:00
2023-09-04 07:59:34 -04:00
< p > Welcome to my art gallery! I have been saving my work since 2016, and this is the most complete archive of my work online.< / p >
2022-12-20 19:16:53 -05:00
2023-09-04 07:59:34 -04:00
< p > The gallery is sorted by date, but there's other sections to check out such as < a href = "/art/guest" > Guest Art< / a > and < a href = "/art/stats/" > Stats< / a > ! You can also filter by < a href = "/art/tags" > tags< / a > , or by < a href = "/art/characters" > characters< / a > .< / p >
2022-12-20 19:16:53 -05:00
2023-09-04 07:59:34 -04:00
< p > You can follow me on < a href = "https://mastodon.art/@redstrate" > Mastodon< / a > , < a href = "https://www.pixiv.net/en/users/58118005" > Pixiv< / a > , < a href = "https://redstrate.newgrounds.com/" > Newgrounds< / a > , or via < a href = "/art/index.xml" > RSS< / a > !< / p >
2023-06-12 22:03:57 -04:00
< / div >
2023-03-26 14:13:43 -04:00
2023-06-12 22:03:57 -04:00
{{ with resources.Get "pics/pic-gallery.png" }}
< img class = "gallery-img" alt = "Gallery" title = "Gallery" width = "{{ .Width }}" height = "{{ .Height }}" src = "{{ .RelPermalink }}" >
{{ end }}
< / div >
2022-12-27 21:47:12 -05:00
2023-08-10 18:46:56 -04:00
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Featured" }}
{{ partial "fake-heading.html" . }}
2023-06-12 22:03:57 -04:00
{{ partial "featured-art" . }}
2022-12-20 19:16:53 -05:00
2023-08-10 18:46:56 -04:00
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Years" }}
{{ partial "fake-heading.html" . }}
2023-06-12 22:03:57 -04:00
{{ partial "art-years" . }}
2023-03-28 19:25:14 -04:00
2023-06-12 22:03:57 -04:00
< div class = "art-button-container" >
< a class = "art-button" href = "/art/characters" > Characters< / a >
< a class = "art-button" href = "/art/tags" > Tags< / a >
< a class = "art-button" href = "/art/stats" > Stats< / a >
2023-07-02 22:24:51 -04:00
< a class = "art-button" href = "/art/guest" > Guest Art< / a >
2023-03-29 08:57:55 -04:00
2023-06-12 22:03:57 -04:00
{{ if $.Params.commissions }}
< a class = "art-button" href = "/commission" > Commissions< / a >
{{ end }}
< / div >
2022-12-20 19:16:53 -05:00
{{ end }}
2022-12-27 21:47:12 -05:00
2022-12-27 22:34:31 -05:00
{{ partial "art-gallery" . }}
2022-12-20 19:16:53 -05:00
{{ end }}