generator and source files for the compudanzas.net site
Go to file
sejo a9fe51c6ea end of third stream! 2024-03-16 21:15:38 +01:00
etc removed {biosejo*} 2022-10-16 19:40:28 +02:00
src end of third stream! 2024-03-16 21:15:38 +01:00
templates added header in spanish, icon link goes to {inicio} 2023-12-24 20:19:39 +01:00
.gitignore moving to lua-based generator 2022-03-27 19:42:34 -06:00
README.md moving to lua-based generator 2022-03-27 19:42:34 -06:00
generasitio.lua added header in spanish, icon link goes to {inicio} 2023-12-24 20:19:39 +01:00
gmo.nanorc cambio de color para listas 2022-04-22 09:10:59 -05:00

README.md

compudanzas

this repository contains the script and source files for the compudanzas site in gemini and the web

generate site

the generator script requires lua.

it was developed using lua 5.3.3 but it probably works with previous versions.

in order to call the script and build the site:

$ lua generasitio.lua

archive

the etc/generador/ directory contains the previous generator files and README.md, written in bash, awk and python.

.gmo format

the same format as gmi (gemtext), but with the following line types:

  • + add this line to the html file but not to the gmi file
  • & add this line to the gmi file but not to the html file

wikilinks

the generator can parse and convert inline {wikilinks}, as many as needed per line

  • in html, they get converted to an inline link
  • in gemtext, the links are added after the line with the text

.gmo text:

see the {roadmap} for updates that want to happen.

converted to html:

<p>
see the <a href='./roadmap.html'>roadmap</a> for updates that want to happen.
</p>

converted to gemtext:

see the roadmap for updates that want to happen.
=> ./roadmap.gmi roadmap

spaces inside the wikilinks are converted to underscores.

the generator can also parse normal links in gemtext, one per line

  • in html, it gets converted to an inline link
  • in gemtext, the link is left as is

.gmo text:

=> ./references.gmi {references}

converted to html:

<p><a href='./references.html'>references</a></p>

converted to gemtext:

=> ./references.gmi references

license

peer production license