Add more links, changes

This commit is contained in:
Joshua Goins 2024-02-19 15:29:36 -05:00
parent e66df967a4
commit 8326ba2b2e
5 changed files with 47 additions and 42 deletions

View file

@ -1,5 +1,6 @@
{ {
"changes": [ "changes": [
"2024-02-19: Further site improvements, started a FFXIV shrine.",
"2024-01-27: Added new artwork!", "2024-01-27: Added new artwork!",
"2023-09-24: Added new Sakura artwork, changed profile pic.", "2023-09-24: Added new Sakura artwork, changed profile pic.",
"2023-09-21: Added some more art to the gallery!", "2023-09-21: Added some more art to the gallery!",

View file

@ -271,11 +271,10 @@ figure figcaption {
} }
.gallery-con { .gallery-con {
display: flex;
flex-wrap: wrap;
border: 1px dashed gray; border: 1px dashed gray;
border-radius: 5px; border-radius: 5px;
background-color: var(--background-tertiary); background-color: var(--background-tertiary);
padding: 20px;
} }
.generic-con { .generic-con {

View file

@ -1,4 +1,5 @@
<div class="gallery-con"> <div class="gallery-con">
<div style="display: flex; flex-wrap: wrap;">
{{ with .Site.GetPage "/art" }} {{ with .Site.GetPage "/art" }}
{{ range .Param "featured" }} {{ range .Param "featured" }}
<figure class="gallery-fig"> <figure class="gallery-fig">
@ -50,3 +51,5 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>
<a href="/art">View all art</a>
</div>

View file

@ -1,7 +1,7 @@
<div class="generic-con"> <div class="generic-con">
<ul style="padding: 0"> <ul style="padding: 0">
{{ $changes := (index site.Data "recent-changes") }} {{ $changes := (index site.Data "recent-changes") }}
{{ range $changes.changes }} {{ range $changes.changes | last 5 }}
<li style="margin-left: 10px; list-style-type: square;"> <li style="margin-left: 10px; list-style-type: square;">
<p>{{ . }}</p> <p>{{ . }}</p>
</li> </li>

View file

@ -7,4 +7,6 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
<a href="/blog">View all blog posts</a>
</div> </div>