diff --git a/content/about.md b/content/about.md index 4b8d9fd..30ca401 100644 --- a/content/about.md +++ b/content/about.md @@ -12,7 +12,6 @@ and moving onto basic grammar and counting (hence why the rest of this sentence ### Links -* [Resume](/resume) - hire me! * [Mastodon](https://mastodon.art/@redstrate) - my microblogging... blog * [sourcehut](https://sr.ht/~redstrate) - lovely code forge containing my lovely code * [Newgrounds](https://redstrate.newgrounds.com/) - collection of my recent art diff --git a/content/art/after-school.md b/content/art/after-school.md index 34afbf5..132c386 100644 --- a/content/art/after-school.md +++ b/content/art/after-school.md @@ -10,7 +10,7 @@ arttags: ![ Two young girls are facing towards the viewer. The one on the left has blond hair, and doing a peace sign. The other girl is laughing and laying her hands on her skirt. They're in the street, with a stone wall and houses in the distance. ](/art/after-school.webp) -## Commentary +### Commentary This was sitting in sketch form for a few years, and I finally decided to color it. I quite like the expressions the two are making :-) diff --git a/content/art/after-the-rain.md b/content/art/after-the-rain.md index eaa406a..5d824d1 100644 --- a/content/art/after-the-rain.md +++ b/content/art/after-the-rain.md @@ -10,7 +10,7 @@ arttags: ![ A young woman is walking along a mountain path. She has long brown hair, dark eyes and pale skin. She is wearing dark clothes, with golden accents and holding a long sword. While she is making eye contact with the viewer, she is keeping a slight smirk. ](/art/after-the-rain.webp) -## Commentary +### Commentary Who is this mysterious sword maiden, and where is she going next? I love how the background turned out in this piece. diff --git a/content/art/arttag.md b/content/art/arttag.md deleted file mode 100644 index e69de29..0000000 diff --git a/content/art/bard.md b/content/art/bard.md index bbd9669..fbaad32 100644 --- a/content/art/bard.md +++ b/content/art/bard.md @@ -10,7 +10,7 @@ arttags: ![ A bunny girl is looking at the viewer, and pulling back a bow towards something behind them. She has dark brown hair, long ears, greenish eyes and pale skin. Behind is her is a dense, untamed forest. She is wearing dark clothing, adorned by brass and greenish hues. ](/art/bard.webp) -## Commentary +### Commentary This is a full painting I did of my FFXIV character. Overall, I'm pretty happy with how this turned out, but the background isn't fantastic. At the time, I didn't know that filter masks were a thing in Krita, so I ended up pushing it back to Procreate and doing the finishing touches there. diff --git a/content/art/eva-girls.md b/content/art/eva-girls.md index e666bec..0c1e920 100644 --- a/content/art/eva-girls.md +++ b/content/art/eva-girls.md @@ -12,7 +12,7 @@ arttags: ![ From left to right: Asuka, Rei, and Mari are standing on top of a dark blue sky. Asuka has one hand on her hip, and making eye contact. Rei is looking up and is holding her elbow. Mari has a hand above her chest. Asuka has orange-brown hair, and a red plugsuit. Rei has pale blue hair, and a dark blue plugsuit. Mari has brown hair, and a bright pink plugsuit. ](/art/eva-girls.webp) -## Commentary +### Commentary This is one of my more complex pieces in 2021, and I spent many hours toiling away on it. I like the end result, but I kind of wish I slapped some shading on it... diff --git a/content/art/goinghome.md b/content/art/goinghome.md index cb0a3f8..65bc683 100644 --- a/content/art/goinghome.md +++ b/content/art/goinghome.md @@ -10,7 +10,7 @@ arttags: ![ A painting of a road split by a two track railway crossing. there are numerous power lines, cables and road signs littering the roadside. there is a sidewalk visible in part of the frame, but no one is on it. there are visible cars and non-descript buildings in the distance. ](/art/goinghome.webp) -## Commentary +### Commentary My last painting of 2022 (I think). Based on a real photo :-) diff --git a/content/art/grocery-shopping.md b/content/art/grocery-shopping.md index df1fe5f..a83cf5d 100644 --- a/content/art/grocery-shopping.md +++ b/content/art/grocery-shopping.md @@ -12,7 +12,7 @@ A young succubus is opening up the door to her apartment. She has pale blue hair She has four arms, one of which is turning the knob to the door. Another two hands are holding grocery bags, and the last is inside of her jacket pocket. She is wearing a red jacket, and dark gray shorts. ](/art/grocery-shopping.webp) -## Commentary +### Commentary This is the first proper "finished" drawing of Merume. I love multiarm designs so I finally broke down and came up with a concept for her. Her initial name was going to be Meru, but a quick google search showed another succubus under diff --git a/content/art/knight.md b/content/art/knight.md index 42151d6..9b8fed1 100644 --- a/content/art/knight.md +++ b/content/art/knight.md @@ -10,7 +10,7 @@ arttags: ![ A blonde-haired knight is looking at the viewer. She is leaning on her trusty sword, and has some chestplates and basic armor on. ](/art/knight.webp) -## Commentary +### Commentary Looks like this knight is ready for anything! It doesn't look like her legs are very protected though... diff --git a/content/art/mari-and-asuka.md b/content/art/mari-and-asuka.md index c890839..9353a75 100644 --- a/content/art/mari-and-asuka.md +++ b/content/art/mari-and-asuka.md @@ -11,7 +11,7 @@ arttags: ![ Female Byleth is in a swimsuit, a dark bikini with an extra belt and holding a knife. She is looking down at the viewer. She has dark blue hair, pale skin and bright blue eyes. She has a flower tucked in her hair. ](/art/mari-and-asuka.webp) -## Commentary +### Commentary This is my first proper painted character piece, and I'm pretty happy with how it turned out still. Why does she need a knife on the beach though? diff --git a/content/art/mythra.md b/content/art/mythra.md index 1f588e9..1d53b3c 100644 --- a/content/art/mythra.md +++ b/content/art/mythra.md @@ -12,7 +12,7 @@ A woman sits against a fence, looking at the viewer. She has golden hair, a crow white armor adorned with black and neon green accents. Her hair is flowing in the wind, and she is currently sat against a fence on a bridge. In the background is the rest of the town, sitting above the sea of clouds. ](/art/mythra.webp) -## Commentary +### Commentary I always wanted to draw some Xenoblade Chronicles 2 fan art, but unfortunately it took a while before I got around to it! This is Mythra, while she's standing around in Torigoth. diff --git a/content/art/office-date.md b/content/art/office-date.md index 3007608..471ea9a 100644 --- a/content/art/office-date.md +++ b/content/art/office-date.md @@ -10,7 +10,7 @@ arttags: An office worker lady looks at the viewer. She has a can of a non-descript drink in one hand, and another one underneath her thigh. She is wearing an unbuttoned collared shirt, and a short black shirt. She's in a red booth, and in front of a table. An incandescent light is flooding the room with an orange glow. ](/art/office-date.webp) -## Commentary +### Commentary This is actually a much older piece, but I touched it up to make it look more "modern" and fit in with the rest of my work. It looks like she might be a little intoxicated! diff --git a/content/art/orbit-correction.md b/content/art/orbit-correction.md index 130447a..c9e6016 100644 --- a/content/art/orbit-correction.md +++ b/content/art/orbit-correction.md @@ -10,7 +10,7 @@ arttags: ![ Two rocket boosters, currently firing at full thrust. The ship is trying to avoid orbital collision. ](/art/orbit-correction.webp) -## Commentary +### Commentary This is something a bit different from what I usually do, which is a rocket! Technically, it's really just two giant boosters. Based off of the same one in the Rebuild of Evangelion 3.0 opening, which is probably one of my favorite sequences (ever). diff --git a/content/art/summer-byleth.md b/content/art/summer-byleth.md index 0f8bc7f..97a970a 100644 --- a/content/art/summer-byleth.md +++ b/content/art/summer-byleth.md @@ -10,7 +10,7 @@ arttags: ![ Female Byleth is in a swimsuit, a dark bikini with an extra belt and holding a knife. She is looking down at the viewer. She has dark blue hair, pale skin and bright blue eyes. She has a flower tucked in her hair. ](/art/summer-byleth.webp) -## Commentary +### Commentary This is my first proper painted character piece, and I'm pretty happy with how it turned out still. Why does she need a knife on the beach though? diff --git a/content/art/summer-eva-girls.md b/content/art/summer-eva-girls.md index 2bc70dd..2931c6c 100644 --- a/content/art/summer-eva-girls.md +++ b/content/art/summer-eva-girls.md @@ -12,7 +12,7 @@ arttags: ![ Mari, Asuka and Rei are on the beach. These three girls from left to right have brown hair, orange and blue hair with varying hues of pale skin. Mari is wearing a white bikini, Asuka some form of one piece and Rei is wearing a two-piece swimsuit. Mari is playing with Asuka's hair, which is causing Asuka some embarrassment. ](/art/summer-eva-girls.webp) -## Commentary +### Commentary I drew this while on a trip, and I thought it was about time to do a summer-themed Evangelion drawing! Mari is of course having some fun with Asuka! diff --git a/content/art/workingout.md b/content/art/workingout.md index 59bb540..847bfe4 100644 --- a/content/art/workingout.md +++ b/content/art/workingout.md @@ -11,7 +11,7 @@ Three different drawings of the same girl. She has brown hair, pale skin and dar crop top, and some baggy gray sweatpants. On the left she is pointing at her leg, and standing the other leg. On the right, she is stretching one of her arms. In the last one, she is looking down at the viewer. ](/art/workingout.webp) -## Commentary +### Commentary This is a recreation of a sketch I did in 2020, where I tried to do it in my "new style". I actually really liked how this turned out, all of the poses and faces turned out cute! diff --git a/content/resume.md b/content/resume.md deleted file mode 100644 index 560465d..0000000 --- a/content/resume.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: "Resume" ---- - -https://redstrate.com | josh@redstrate.com - -Self-committed and experienced programmer that can use multiple languages, various tools and self-taught experience to accomplish tasks ranging from low-level reverse engineering up to creating fully functioning game engines. Most proficient in systems programming languages such as C and C++. - -Currently looking for an internship. - -## Education - -* AA from Florida State College of Jacksonville, 2018-2021. -* University of North Florida, since 2021 - expected to graduate in 2023. - -## Technical Skills - -To be written :-) - -## Portfolio and Artifacts - -More of my projects are accessible at https://redstrate.com/projects. Below is only a small selection. - -### Prism: https://redstrate.com/projects/prism - -Game engine which can render on top of the custom implemented RHI (Render Hardware Interface) which currently has Vulkan and Metal backends. The game engine also has several other subsystems, such as input handling, material compilation and asset pipelines. This engine differs from my previous ones as it is built with scalability in mind, and can even on lower end systems such as a phone. Some interesting effects are implemented that are typically found in most modern game engines, including physically based rendering, SMAA for anti-aliasing and PCSS for shadows. - -### Silica Viewer: https://redstrate.com/projects/silica-viewer - -Written to fill my own niche of viewing art canvases from a proprietary art program that only runs on iOS devices called Procreate. Initial software was implemented using knowledge gleaned from other open source projects (credited in the repository) but quickly evolved into a much more complex application, involving replicating the original Procreate drawing engine including clipping layers, rendering masks and blending modes. An existing PSD writing library (called PSDWriter) was modified in order to support the more complex feature set I needed. The app is also currently published on the macOS App Store. - -### Trinity: https://redstrate.com/projects/trinity - -Also written to fill a niche with a nice looking Matrix client that copied Discord's interface. Does not use any pre-existing Matrix library, and was written solely on the Matrix specification. Originally written in 2018, but I revived it in 2022 by implementing some basic end-to-end encryption support which involved using libolm - a cryptography library. \ No newline at end of file diff --git a/scripts/gen_art.py b/scripts/gen_art.py index a7401e3..5f1ef99 100644 --- a/scripts/gen_art.py +++ b/scripts/gen_art.py @@ -43,7 +43,7 @@ def parse_art(title, year, date, original_filename, filename, file): f.write(filename) f.write('.webp)\n') - f.write('## Commentary\n') + f.write('### Commentary\n') f.write(document.field('Description').required_string_value()) f.write('\n') diff --git a/themes/red/layouts/_default/_markup/render-image.html b/themes/red/layouts/_default/_markup/render-image.html index 72b7203..03a6db3 100644 --- a/themes/red/layouts/_default/_markup/render-image.html +++ b/themes/red/layouts/_default/_markup/render-image.html @@ -13,20 +13,17 @@ {{- end -}} {{- with $img -}} +
+ + {{ if eq .MediaType.SubType "svg" }} + {{ $.Text }} + {{ else }} + {{ $.Text }} + {{ end }} + -
- -{{ if eq .MediaType.SubType "svg" }} -{{ $.Text }} -{{ else }} -{{ $.Text }} -{{ end }} - -
{{ $.Text | safeHTML }}
-
- +
{{ $.Text | safeHTML }}
+
{{- else -}} - -Unable to find image {{ $url }}! - + Unable to find image {{ $url }}! {{- end -}} diff --git a/themes/red/layouts/_default/art-detail.html b/themes/red/layouts/_default/art-detail.html index 5999d3d..5133375 100644 --- a/themes/red/layouts/_default/art-detail.html +++ b/themes/red/layouts/_default/art-detail.html @@ -2,7 +2,7 @@

{{ .Title }}

- {{ .Content }} + {{ .Content }}
@@ -14,40 +14,31 @@ + {{ with .Params.arttags }} - - - - + + + + {{ end }} + {{ with .Params.characters }} - - - - + + + + {{ end }}
Tags - {{ $len := (len .) }} - {{ range $index, $element := . }} - {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} - {{ end }} -
Tags + {{ $len := (len .) }} + {{ range $index, $element := . }} + {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} + {{ end }} +
Characters - {{ $len := (len .) }} - {{ range $index, $element := . }} - {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} - {{ end }} -
Characters + {{ $len := (len .) }} + {{ range $index, $element := . }} + {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} + {{ end }} +
-

Comments

- - -
- -
+ {{ partial "comments" . }} {{ end }} diff --git a/themes/red/layouts/_default/art.html b/themes/red/layouts/_default/art.html index 869900c..8d0c683 100644 --- a/themes/red/layouts/_default/art.html +++ b/themes/red/layouts/_default/art.html @@ -7,110 +7,13 @@

If you wish to follow me when I post new art, you can follow me on Mastodon, Pixiv, Newgrounds or my Art RSS Feed!

- {{ $paginator := .Paginate (where .Pages "Type" "art") 50 }} + {{ $paginator := .Paginate (where .Pages "Type" "art") }} {{ if eq $paginator.PageNumber 1}} -

Featured Artwork

- - -

Years

-
- {{ range $.Param "years" }} - {{ $year := . }} - - {{ $thumbp := printf "/year-thumbs/%s.webp" . }} - {{ with resources.Get $thumbp }} - {{ $year }} - {{ end }} - - {{ end }} -
+ {{ partial "art-years" . }} {{ end }} -
- {{ range $paginator.Pages }} - {{ $full := resources.Get (printf "art/%s.webp" .Params.slug) }} - {{ if $full }} - - {{ $filename_without_ext := .Params.slug }} - - {{ $month := 1 }} - {{ $year := 1 }} - - {{ if .Params.date }} - {{ $split := split .Params.date "-" }} - {{ $month = index $split 0 }} - {{ $year = index $split 3 }} - {{ end }} - - - {{ $path := printf "/art/%d/%.2d/%s" (int $year) (int $month) $filename_without_ext}} - {{ $title := .Params.title }} - {{ $image := (resources.Get (printf "art/%s.webp" .Params.slug)).Resize "300x" }} - {{ with $image }} - {{ $title }} - {{ else }} -

Thumbnail not found!

- {{ end }} - {{ else }} -
- - CANNOT FIND {{.Params.slug }} - - {{ end }} - {{ end }} -
- - {{ with $paginator.Prev }} - Prev - {{ end }} - - {{ with $paginator.Next }} - Next - {{ end }} - - {{ $site := resources.Get "js/site.js" }} - {{ if hugo.IsProduction }} - {{ $site = $site | minify | fingerprint | resources.PostProcess }} - {{ end }} - + {{ partial "art-gallery" . }} {{ end }} diff --git a/themes/red/layouts/_default/arttag.html b/themes/red/layouts/_default/arttag.html index e75059f..d82eedd 100644 --- a/themes/red/layouts/_default/arttag.html +++ b/themes/red/layouts/_default/arttag.html @@ -1,48 +1,3 @@ {{ define "main" }} -

{{ .Title }}

- - {{ .Content }} - - {{ $paginator := .Paginate (where .Pages "Type" "art") 50 }} -
- {{ range $paginator.Pages }} - {{ $pixiv_icon := resources.Get "pixiv.webp" }} - {{ $newgrounds_icon := resources.Get "newgrounds.webp" }} - - {{ $full := resources.Get (printf "art/%s.webp" .Params.slug) }} - {{ if $full }} - - {{ $filename_without_ext := .Params.slug }} - - {{ $month := 1 }} - - {{ if .Params.date }} - {{ $split := split .Params.date "-" }} - {{ $month = index $split 0 }} - {{ end }} - - - {{ $path := printf "/art/%d/%.2d/%s" (int 2022) (int $month) $filename_without_ext}} - {{ $title := .Params.title }} - {{ $image := (resources.Get (printf "art/%s.webp" .Params.slug)).Resize "600x" }} - {{ with $image }} - {{ $title }} - {{ else }} -

Thumbnail not found!

- {{ end }} - {{ else }} -
- - CANNOT FIND {{.Params.slug }} - - {{ end }} - {{ end }} -
- {{ template "_internal/pagination.html" . }} - - {{ $site := resources.Get "js/site.js" }} - {{ if hugo.IsProduction }} - {{ $site = $site | minify | fingerprint | resources.PostProcess }} - {{ end }} - + {{ partial "art-tag" . }} {{ end }} diff --git a/themes/red/layouts/_default/character.html b/themes/red/layouts/_default/character.html index 2e24ef1..d82eedd 100644 --- a/themes/red/layouts/_default/character.html +++ b/themes/red/layouts/_default/character.html @@ -1,55 +1,3 @@ {{ define "main" }} -

{{ .Title }}

- - {{ .Content }} - - {{ $paginator := .Paginate (where .Pages "Type" "art") 50 }} -
- {{ range $paginator.Pages }} - {{ $pixiv_icon := resources.Get "pixiv.webp" }} - {{ $newgrounds_icon := resources.Get "newgrounds.webp" }} - - {{ $full := resources.Get (printf "art/%s.webp" .Params.slug) }} - {{ if $full }} - - {{ $filename_without_ext := .Params.slug }} - - {{ $month := 1 }} - - {{ if .Params.date }} - {{ $split := split .Params.date "-" }} - {{ $month = index $split 0 }} - {{ end }} - - - {{ $path := printf "/art/%d/%.2d/%s" (int 2022) (int $month) $filename_without_ext}} - {{ $title := .Params.title }} - {{ $image := (resources.Get (printf "art/%s.webp" .Params.slug)).Resize "600x" }} - {{ with $image }} - {{ $title }} - {{ else }} -

Thumbnail not found!

- {{ end }} - {{ else }} -
- - CANNOT FIND {{.Params.slug }} - - {{ end }} - {{ end }} -
- {{ template "_internal/pagination.html" . }} - - - + {{ partial "art-tag" . }} {{ end }} diff --git a/themes/red/layouts/_default/list.html b/themes/red/layouts/_default/list.html index 372acac..92ae193 100644 --- a/themes/red/layouts/_default/list.html +++ b/themes/red/layouts/_default/list.html @@ -6,31 +6,32 @@ {{ if and (.File) (in .File.Dir "software") }} - - - + + + {{ else }} - - - + + + {{ end }} + {{ range .Data.Pages.ByDate.Reverse }} - - + + - + - - + + {{ end }}
NameDescriptionYear CreatedNameDescriptionYear CreatedTitleSummaryDateTitleSummaryDate
{{ .Title }}
{{ .Title }} - {{ .Summary }} - + {{ .Summary }} + - {{ if and (.File) (in .File.Dir "software") }} - - {{ else }} - - {{ end }} -
+ {{ if and (.File) (in .File.Dir "software") }} + + {{ else }} + + {{ end }} +
{{ end }} diff --git a/themes/red/layouts/_default/project.html b/themes/red/layouts/_default/project.html index b719592..b5e90f4 100644 --- a/themes/red/layouts/_default/project.html +++ b/themes/red/layouts/_default/project.html @@ -1,44 +1,38 @@ {{ define "main" }} -

{{ .Title }}

+

{{ .Title }}

- - {{ with $.Param "source" }} - - - - - {{ end }} - {{ with $.Param "license" }} - - - - - {{ end }} - - - - - - - - -
Source Code{{ . }}
License{{ . }}
Year Created
Tags - {{ $len := (len .Params.tags) }} - {{ range $index, $element := .Params.tags }} - {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} - {{ end }} -
+ + {{ with $.Param "source" }} + + + + + {{ end }} -{{ .Content }} - -{{ $related := .Site.RegularPages.Related . | first 5 }} -{{ with $related }} -

See Also

- -{{ end }} + {{ with $.Param "license" }} + + + + + {{ end }} + + + + + + + + + +
Source Code{{ . }}
License{{ . }}
Year Created
Tags + {{ $len := (len .Params.tags) }} + {{ range $index, $element := .Params.tags }} + {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} + {{ end }} +
+ + {{ .Content }} + + {{ partial "related" . }} {{ end }} diff --git a/themes/red/layouts/_default/single.html b/themes/red/layouts/_default/single.html index afd5a06..6928f6d 100644 --- a/themes/red/layouts/_default/single.html +++ b/themes/red/layouts/_default/single.html @@ -1,106 +1,26 @@ {{ define "main" }}

{{ .Title }}

+ {{ if in .File.Dir "blog" }} -

- Posted on - - (Updated on - ) -

+

+ Posted on + + (Updated on + ) +

{{ end }}
- {{ .Content }} + {{ .Content }}
- {{ $related := .Site.RegularPages.Related . | first 5 }} - {{ with $related }} -

See Also

- - {{ end }} + {{ partial "related" . }} {{ if in .File.Dir "blog" }} -

Comments

- - -
- -
- {{ end }} - - {{ with .Params.comments }} -

Mastodon Comments

-

I posted this to my Mastodon! You can use any Fediverse account (Mastodon, Pleroma, etc) to reply.

-

- - {{ $domscript := resources.Get "js/purify.min.js" }} - - + {{ partial "comments" . }} {{ end }} {{ end }} diff --git a/themes/red/layouts/partials/art-gallery.html b/themes/red/layouts/partials/art-gallery.html new file mode 100644 index 0000000..b451e3a --- /dev/null +++ b/themes/red/layouts/partials/art-gallery.html @@ -0,0 +1,49 @@ +{{ $paginator := .Paginate (where .Pages "Type" "art") }} + +
+{{ range $paginator.Pages }} + {{ $full := resources.Get (printf "art/%s.webp" .Params.slug) }} + {{ if $full }} + + {{ $filename_without_ext := .Params.slug }} + + {{ $month := 1 }} + {{ $year := 1 }} + + {{ if .Params.date }} + {{ $split := split .Params.date "-" }} + {{ $month = index $split 0 }} + {{ $year = index $split 3 }} + {{ end }} + + + {{ $path := printf "/art/%d/%.2d/%s" (int $year) (int $month) $filename_without_ext}} + {{ $title := .Params.title }} + {{ $image := (resources.Get (printf "art/%s.webp" .Params.slug)).Resize "300x" }} + {{ with $image }} + {{ $title }} + {{ else }} +

Thumbnail not found!

+ {{ end }} + {{ else }} +
+ + CANNOT FIND {{.Params.slug }} + + {{ end }} +{{ end }} +
+ +{{ with $paginator.Prev }} +Prev +{{ end }} + +{{ with $paginator.Next }} +Next +{{ end }} + +{{ $site := resources.Get "js/site.js" }} +{{ if hugo.IsProduction }} + {{ $site = $site | minify | fingerprint | resources.PostProcess }} +{{ end }} + diff --git a/themes/red/layouts/partials/art-tag.html b/themes/red/layouts/partials/art-tag.html new file mode 100644 index 0000000..07dbaa3 --- /dev/null +++ b/themes/red/layouts/partials/art-tag.html @@ -0,0 +1,5 @@ +

{{ .Title }}

+ +{{ .Content }} + +{{ partial "art-gallery" . }} diff --git a/themes/red/layouts/partials/art-years.html b/themes/red/layouts/partials/art-years.html new file mode 100644 index 0000000..de64b27 --- /dev/null +++ b/themes/red/layouts/partials/art-years.html @@ -0,0 +1,12 @@ +

Years

+
+{{ range $.Param "years" }} + {{ $year := . }} + + {{ $thumbp := printf "/year-thumbs/%s.webp" . }} + {{ with resources.Get $thumbp }} + {{ $year }} + {{ end }} + +{{ end }} +
diff --git a/themes/red/layouts/partials/comments.html b/themes/red/layouts/partials/comments.html new file mode 100644 index 0000000..95ee0f5 --- /dev/null +++ b/themes/red/layouts/partials/comments.html @@ -0,0 +1,17 @@ +

Comments

+ +{{ if hugo.IsProduction }} + + +
+ +
+{{ else }} +

Comments are disabled in development mode.

+{{ end }} diff --git a/themes/red/layouts/partials/featured-art.html b/themes/red/layouts/partials/featured-art.html new file mode 100644 index 0000000..8e0adff --- /dev/null +++ b/themes/red/layouts/partials/featured-art.html @@ -0,0 +1,43 @@ +

Featured Artwork

+ diff --git a/themes/red/layouts/partials/related.html b/themes/red/layouts/partials/related.html new file mode 100644 index 0000000..431fe55 --- /dev/null +++ b/themes/red/layouts/partials/related.html @@ -0,0 +1,9 @@ +{{ $related := .Site.RegularPages.Related . | first 5 }} +{{ with $related }} +

See Also

+ +{{ end }} diff --git a/themes/red/layouts/shortcodes/featured-art.html b/themes/red/layouts/shortcodes/featured-art.html index 8e0adff..9f9294a 100644 --- a/themes/red/layouts/shortcodes/featured-art.html +++ b/themes/red/layouts/shortcodes/featured-art.html @@ -1,43 +1 @@ -

Featured Artwork

- +{{ partial "featured-art" }} diff --git a/themes/red/layouts/shortcodes/guestbook.html b/themes/red/layouts/shortcodes/guestbook.html index ea12343..26d6fa9 100644 --- a/themes/red/layouts/shortcodes/guestbook.html +++ b/themes/red/layouts/shortcodes/guestbook.html @@ -1,9 +1,9 @@ + data-isso="//comments.redstrate.com/" + data-isso-title="" + data-isso-avatar="false" + data-isso-vote="false" + src="//comments.redstrate.com/js/embed.min.js" crossorigin async>