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": [
"2024-02-19: Further site improvements, started a FFXIV shrine.",
"2024-01-27: Added new artwork!",
"2023-09-24: Added new Sakura artwork, changed profile pic.",
"2023-09-21: Added some more art to the gallery!",

View file

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

View file

@ -1,5 +1,6 @@
<div class="gallery-con">
{{ with .Site.GetPage "/art" }}
<div style="display: flex; flex-wrap: wrap;">
{{ with .Site.GetPage "/art" }}
{{ range .Param "featured" }}
<figure class="gallery-fig">
{{ $filename_without_ext := strings.TrimSuffix (path.Ext .filename) .filename }}
@ -48,5 +49,7 @@
</figcaption>
</figure>
{{ end }}
{{ end }}
{{ end }}
</div>
<a href="/art">View all art</a>
</div>

View file

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

View file

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