diff --git a/content/_index.md b/content/_index.md
index 8d2636a..36dfd4c 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -16,4 +16,5 @@ Enjoyed what you see? Consider signing the [guestbook]({{< ref "guestbook" >}})!
# Featured Artwork
{{< featured-art >}}
+# Recent Blog Posts
{{< recent-posts >}}
diff --git a/themes/red/assets/css/site.css b/themes/red/assets/css/site.css
index dc988b4..3ef72f7 100644
--- a/themes/red/assets/css/site.css
+++ b/themes/red/assets/css/site.css
@@ -36,6 +36,11 @@
.grid-sizer, .grid-item {
width: 400px;
}
+
+ .page-pic {
+ float: right;
+ margin: 10px;
+ }
}
/* mobile devices */
@@ -75,6 +80,14 @@
width: 100%;
height: auto;
}
+
+ .page-pic {
+ margin-left: auto;
+ margin-right: auto;
+ display: block;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ }
}
body {
@@ -437,3 +450,8 @@ model-viewer {
margin-left: auto;
margin-right: auto;
}
+
+.page-pic {
+ width: 200px;
+ height: 200px;
+}
diff --git a/themes/red/layouts/_default/art.html b/themes/red/layouts/_default/art.html
index 363c659..8009438 100644
--- a/themes/red/layouts/_default/art.html
+++ b/themes/red/layouts/_default/art.html
@@ -4,7 +4,7 @@
{{ with resources.Get "pics/pic-gallery.png" }}
-
+
{{ end }}
{{ $paginator := .Paginate (where .RegularPagesRecursive "Type" "art") }}
diff --git a/themes/red/layouts/_default/software.html b/themes/red/layouts/_default/software.html
index 9b27355..f78e386 100644
--- a/themes/red/layouts/_default/software.html
+++ b/themes/red/layouts/_default/software.html
@@ -5,7 +5,7 @@
{{ .Content }}
{{ with resources.Get "pics/pic-software.webp" }}
-
+
{{ end }}
Personal Projects
diff --git a/themes/red/layouts/shortcodes/insert-pic.html b/themes/red/layouts/shortcodes/insert-pic.html
index 927793c..317b52c 100644
--- a/themes/red/layouts/shortcodes/insert-pic.html
+++ b/themes/red/layouts/shortcodes/insert-pic.html
@@ -4,5 +4,5 @@
{{ $path := printf "pics/%s" $name}}
{{ with resources.Get $path }}
-
+
{{ end }}
diff --git a/themes/red/layouts/shortcodes/recent-posts.html b/themes/red/layouts/shortcodes/recent-posts.html
index 7fdb476..9bb2a69 100644
--- a/themes/red/layouts/shortcodes/recent-posts.html
+++ b/themes/red/layouts/shortcodes/recent-posts.html
@@ -1,5 +1,3 @@
-Recent Blog Posts
-
{{ range first 3 (where .Site.Pages "Type" "blog").ByDate.Reverse }}