all repos — hex @ 29fa00c6aaff74a76108cde505e73b83b0f26462

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Updated site.
h3rald h3rald@h3rald.com
Sat, 30 Nov 2024 17:07:48 +0100
commit

29fa00c6aaff74a76108cde505e73b83b0f26462

parent

136b4042edbd7b9cada803c17989dbc037ec5d46

M web.hexweb.hex

@@ -16,12 +16,15 @@ ; Write contents

contents ( "fn_content" store - "fn_content" ".html" "" replace "id_content" store + fn_content ".html" "" replace "id_content" store d_contents "/" fn_content cat cat read "content" store t_page read "{{content}}" content replace "new_content" store (fn_content "home.html" ==) (d_out "/index.html" cat "dst_file" store) - ((d_out id_content "index.html") "/" join "dst_file" store) + ( + ("mkdir -p " d_out "/" id_content) () map "" join exec + (d_out id_content "index.html") () map "/" join "dst_file" store + ) if " - Writing: " dst_file cat puts new_content dst_file write
A web/contents/about.html

@@ -0,0 +1,5 @@

+<h2>About</h2> + +<blockquote> + Under construction. +</blockquote>
A web/contents/changelog.html

@@ -0,0 +1,5 @@

+<h2>Changelog</h2> + +<blockquote> + Under construction. +</blockquote>
A web/contents/get-started.html

@@ -0,0 +1,5 @@

+<h2>Get Started</h2> + +<blockquote> + Under construction. +</blockquote>
A web/contents/manual.html

@@ -0,0 +1,5 @@

+<h2>Manual</h2> + +<blockquote> + Under construction. +</blockquote>
A web/contents/play.html

@@ -0,0 +1,5 @@

+<h2>Playground</h2> + +<blockquote> + Under construction. +</blockquote>