generator and source files for the compudanzas.net site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
sejo 746d195c81 updated now, removed biosejo's latest post link 3 weeks ago
etc moved log templates to etc/generador 3 months ago
src updated now, removed biosejo's latest post link 3 weeks ago
templates reformatted footer 4 weeks ago
.gitignore moving to lua-based generator 3 months ago
README.md moving to lua-based generator 3 months ago
generasitio.lua add biosejo atom feed 2 months ago
gmo.nanorc cambio de color para listas 2 months ago

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