From 8f17f5c44030aa708816919e408026932d2c9059 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sat, 10 May 2025 15:26:18 -0700 Subject: [PATCH] Wrap index template with root template --- index.md | 30 ++++++++++++++++++++++++++++++ templates/index.html | 25 +++++++++++++++---------- templates/root.html | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 10 deletions(-) create mode 100644 templates/root.html diff --git a/index.md b/index.md index 8434f2b..dd6f065 100644 --- a/index.md +++ b/index.md @@ -2,6 +2,36 @@ date: "Thu May 08 2025 19:41:30.000000000" } +## Wares + +
+ +### [BTroops]($root/apps/btroops/) [View Source Code]($root/git/btroops/) + +A virtual implementation of FASA's 1989 wargame, Battletroops, for the browser. +Suitable for single-player solo play or two-player hotseat. + +Runs entirely on the client after the initial download from the server. Built +with HTML5, SVG and JavaScript. Uses Node.js, Esbuild and Docker for building +and running dev/test servers. + +
+ +
+ +### [Pandoc](https://hex.pm/packages/pandoc) [View Source Code]($root/git/pandoc/) + +A Hex package for installing and invoking [Pandoc](https://pandoc.org/) ("a +universal document converter"), fashioned after Phoenix's +[Esbuild](https://hex.pm/packages/esbuild") and +[Tailwind](https://hex.pm/packages/tailwind") packages. Also included is a file +system watcher, so that converted documents are updated as soon as content +changes are saved. + +
+ ## Posts - [recursive]($root/posts/2023-08-03-recursively-list-all-files-in-a-directory-with-elixir.html) + +#### [View more posts]($root/posts/) diff --git a/templates/index.html b/templates/index.html index 87432f8..8021486 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,12 +1,17 @@ -$render{"templates/root"} +$wrap{"root"} -
- $body -
+
+

Hi, I'm Catalin Mititiuc

+

+ Experienced in full-stack web development with Elixir and JavaScript. +

-
-

100% Human Made, No AI Used

-

$app_name $version

-
- - +

Hiring? Reach me by email.

+ +$markdown{[[ +**We can embed markdown directly into an HTML file!** +]]} + +
+ +$body diff --git a/templates/root.html b/templates/root.html new file mode 100644 index 0000000..1a4131b --- /dev/null +++ b/templates/root.html @@ -0,0 +1,33 @@ + + + + + + $title + + + + +
+
+

Web Dev Solutions

+

Catalin Mititiuc

+
+
+ +
+ $body +
+ + + +