WIP: layouts
This commit is contained in:
parent
8f17f5c440
commit
317efd17e2
@ -53,6 +53,8 @@
|
||||
|
||||
## todo
|
||||
|
||||
current problem: why does sitegen wrap every thing in <p> tags?
|
||||
|
||||
* treesitter highlighting for moonscript
|
||||
* penlight library
|
||||
* sitegen plugins
|
||||
|
31
index.md
31
index.md
@ -2,33 +2,20 @@
|
||||
date: "Thu May 08 2025 19:41:30.000000000"
|
||||
}
|
||||
|
||||
## Wares
|
||||
## where is this??
|
||||
|
||||
<section>
|
||||
$(<h1>asdfasdf</h1>)
|
||||
|
||||
### [BTroops]($root/apps/btroops/) [View Source Code]($root/git/btroops/)
|
||||
$markdown{[[
|
||||
- this is markdown
|
||||
- also, sparta
|
||||
]]}
|
||||
|
||||
A virtual implementation of FASA's 1989 wargame, Battletroops, for the browser.
|
||||
Suitable for single-player solo play or two-player hotseat.
|
||||
$if{"val"}[[<h1>just some straight up text</h1>]]
|
||||
|
||||
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.
|
||||
$render{"templates/wares"}
|
||||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
||||
### [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.
|
||||
|
||||
</section>
|
||||
$render{"moon-test"}
|
||||
|
||||
## Posts
|
||||
|
||||
|
@ -25,9 +25,10 @@ site.config.out_dir = "html/"
|
||||
css = tools.system_command "cat < %s > %s", "css"
|
||||
|
||||
sitegen.create =>
|
||||
@title = "Hello World"
|
||||
@title = "WebDevCat.me · Catalin Mititiuc"
|
||||
@app_name = "stasis"
|
||||
@version = "0.2.12"
|
||||
@val = "yes"
|
||||
|
||||
add "index.md"
|
||||
add path, target: out, template: "blog" for path, out in pairs posts "docs"
|
||||
|
@ -1,5 +1,9 @@
|
||||
$wrap{"root"}
|
||||
|
||||
<p>spacing guild</p>
|
||||
|
||||
$([[<h1>hi</h1>]])
|
||||
|
||||
<section>
|
||||
<h2>Hi, I'm Catalin Mititiuc</h2>
|
||||
<p>
|
||||
|
34
templates/wares.html
Normal file
34
templates/wares.html
Normal file
@ -0,0 +1,34 @@
|
||||
<h2>Wares</h2>
|
||||
|
||||
<section>
|
||||
<h3>
|
||||
<a href="/apps/btroops/">BTroops</a>
|
||||
<a class="app-source-code-link" href="/git/btroops/">
|
||||
View Source Code
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<p>A virtual implementation of FASA's 1989 wargame, Battletroops, for
|
||||
the browser. Suitable for single-player solo play or two-player hotseat.</p>
|
||||
<p>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.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3>
|
||||
<a href="https://hex.pm/packages/pandoc">Pandoc</a>
|
||||
<a class="app-source-code-link" href="/git/pandoc/">
|
||||
View Source Code
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
A Hex package for installing and invoking <a href="https://pandoc.org/">Pandoc</a>
|
||||
("a universal document converter"), fashioned after Phoenix's
|
||||
<a href="https://hex.pm/packages/esbuild">Esbuild</a>
|
||||
and <a href="https://hex.pm/packages/tailwind">Tailwind</a>
|
||||
packages. Also included is a file system watcher, so that converted
|
||||
documents are updated as soon as content changes are saved.
|
||||
</p>
|
||||
</section>
|
Loading…
x
Reference in New Issue
Block a user