From d30292c7e9b86f92d842f3c37b17a4fb11c81491 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 29 Aug 2022 10:50:32 -0400 Subject: [PATCH] Use a dedicated project page layout --- content/software/chip8/index.md | 1 + content/software/gallery/index.md | 1 + content/software/graph.md | 1 + content/software/prism/index.md | 1 + content/software/protean.md | 1 + content/software/raytracer/index.md | 1 + content/software/realm-of-chaos.md | 3 ++- content/software/trinity/index.md | 1 + content/software/watersymbol/index.md | 1 + content/software/xt/index.md | 1 + themes/red/layouts/_default/project.html | 29 ++++++++++++++++++++++++ 11 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 themes/red/layouts/_default/project.html diff --git a/content/software/chip8/index.md b/content/software/chip8/index.md index c565489..5d74029 100644 --- a/content/software/chip8/index.md +++ b/content/software/chip8/index.md @@ -10,6 +10,7 @@ tags: resources: - src: img/output.png name: Screenshot +layout: "project" --- Basic Chip-8 emulator. diff --git a/content/software/gallery/index.md b/content/software/gallery/index.md index 4c677fb..5ba0f33 100644 --- a/content/software/gallery/index.md +++ b/content/software/gallery/index.md @@ -12,6 +12,7 @@ tags: resources: - src: img/mobilefort.png name: Screenshot +layout: "project" --- Local booru for macOS and iOS devices. diff --git a/content/software/graph.md b/content/software/graph.md index 83efb85..c1ce3ce 100644 --- a/content/software/graph.md +++ b/content/software/graph.md @@ -9,6 +9,7 @@ tags: - C++ - Vulkan - Qt +layout: "project" --- Game engine utilizing Vulkan and Qt. diff --git a/content/software/prism/index.md b/content/software/prism/index.md index 0712636..1294149 100644 --- a/content/software/prism/index.md +++ b/content/software/prism/index.md @@ -20,6 +20,7 @@ resources: - src: img/sponza.png name: Sponza example scene featured: yes +layout: "project" --- Cross-platform game engine specializing in the real-time rendering of physically-based graphics. diff --git a/content/software/protean.md b/content/software/protean.md index 7cf6b53..00d158e 100644 --- a/content/software/protean.md +++ b/content/software/protean.md @@ -8,6 +8,7 @@ tags: - Mastodon - Twitter draft: false +layout: "project" --- Mastodon to Twitter cross-poster designed for mirroring my art account. diff --git a/content/software/raytracer/index.md b/content/software/raytracer/index.md index ac9483d..c6c2457 100644 --- a/content/software/raytracer/index.md +++ b/content/software/raytracer/index.md @@ -10,6 +10,7 @@ tags: resources: - src: img/output.png name: Screenshot +layout: "project" --- CPU raytracer. diff --git a/content/software/realm-of-chaos.md b/content/software/realm-of-chaos.md index 2db481d..ae3e90d 100644 --- a/content/software/realm-of-chaos.md +++ b/content/software/realm-of-chaos.md @@ -7,7 +7,8 @@ license: GPLv3 license-url: "https://git.sr.ht/~redstrate/realm-of-chaos/tree/master/item/LICENSE" tags: - C++ -- Game +- Game +layout: "project" --- Rogue-like game with a couple of interesting features. diff --git a/content/software/trinity/index.md b/content/software/trinity/index.md index 8290296..b7d2b9c 100644 --- a/content/software/trinity/index.md +++ b/content/software/trinity/index.md @@ -10,6 +10,7 @@ tags: resources: - src: img/screenshot.png name: Screenshot +layout: "project" --- Discord-like Matrix client using QML and Qt. diff --git a/content/software/watersymbol/index.md b/content/software/watersymbol/index.md index 2977665..5057e1b 100644 --- a/content/software/watersymbol/index.md +++ b/content/software/watersymbol/index.md @@ -11,6 +11,7 @@ tags: resources: - src: img/screenshot.png name: Screenshot +layout: "project" --- Fire Emblem clone for a course final project. diff --git a/content/software/xt/index.md b/content/software/xt/index.md index e0e2f59..64bb94d 100644 --- a/content/software/xt/index.md +++ b/content/software/xt/index.md @@ -9,6 +9,7 @@ tags: resources: - src: img/IMG_0160 copy.png name: Screenshot +layout: "project" --- My first OpenGL based game engine. diff --git a/themes/red/layouts/_default/project.html b/themes/red/layouts/_default/project.html new file mode 100644 index 0000000..5af3db8 --- /dev/null +++ b/themes/red/layouts/_default/project.html @@ -0,0 +1,29 @@ +{{ define "main" }} +

{{ .Title }}

+ + + + + + + + + + + + + + + + + + +
Source Code{{ $.Param "source" }}
License{{ $.Param "license" }}
Year Created
Tags + {{ $len := (len .Params.tags) }} + {{ range $index, $element := .Params.tags }} + {{ $element }}{{ if not (eq (add $index 1) $len) }},{{ end }} + {{ end }} +
+ +{{ .Content }} +{{ end }}