~yoctocell/yoctocell.xyz

2b5946b5321ab432391dc1ee85fe1c444fc64d62 — Xinglu Chen 1 year, 5 months ago 2a9818a
templates: Add gemini templates

Still WIP, index.gmi and post-list.gmi don't work yet.
A src/templates/default.gmi => src/templates/default.gmi +3 -0
@@ 0,0 1,3 @@
$body$

$partial("src/templates/footer.gmi")$

A src/templates/footer.gmi => src/templates/footer.gmi +2 -0
@@ 0,0 1,2 @@
This page is licensed under the CC BY-SA 4.0 License.
The source code for this page i licensed under the GPLv3+ License.

A src/templates/index.gmi => src/templates/index.gmi +4 -0
@@ 0,0 1,4 @@
$body$


$partial("src/templates/footer.gmi")$

A src/templates/post-list.gmi => src/templates/post-list.gmi +3 -0
@@ 0,0 1,3 @@
$for(posts)$
=> $geminiUrl$ $title$
$endfor$