Call it "Featured" on the gallery page, and "Featured Artwork" at home

This commit is contained in:
Joshua Goins 2023-03-28 17:47:18 -04:00
parent e0b91caa3f
commit b2f0771ff9
3 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ ground for cool stuff I'm working on.
I make [blog posts sometimes]({{< ref "blog" >}}). You an find more of [my art here]({{< ref "art" >}}). If you like my website, consider signing the [guestbook]({{< ref "guestbook" >}})! I make [blog posts sometimes]({{< ref "blog" >}}). You an find more of [my art here]({{< ref "art" >}}). If you like my website, consider signing the [guestbook]({{< ref "guestbook" >}})!
### Featured Artwork
{{< featured-art >}} {{< featured-art >}}
{{< recent-posts >}} {{< recent-posts >}}

View file

@ -14,6 +14,7 @@
<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 if you like RSS feeds I have an <a href="/art/index.xml">art-only feed</a>!</p> <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 if you like RSS feeds I have an <a href="/art/index.xml">art-only feed</a>!</p>
<h3>Featured</h3>
{{ partial "featured-art" . }} {{ partial "featured-art" . }}
{{ partial "art-years" . }} {{ partial "art-years" . }}

View file

@ -1,4 +1,3 @@
<h3>Featured Artwork</h3>
<div class="gallery-con"> <div class="gallery-con">
{{ with .Site.GetPage "/art" }} {{ with .Site.GetPage "/art" }}
{{ range .Param "featured" }} {{ range .Param "featured" }}