Tryton Website usning Static Generator

20 views
Skip to first unread message

Gonzalo Peña-Castellanos

unread,
Jan 26, 2018, 2:15:07 AM1/26/18
to tryton
Hello everyone

I know that there has been some discussion of changes to the website. Has a static website generator like Lektor been considered https://www.getlektor.com/ ?

Unlike most python static generators out there that seem to be geared towards blog sites, lektor allows to define models to have all information structured using a flat text based "DB".

I have used it in several projects e.g. https://www.pycon.co/ where all the structure of models can be found at
- https://github.com/PyConColombia/website-2018/tree/develop/models

the content at
- https://github.com/PyConColombia/website-2018/tree/develop/content

Being static it simplifies hosting and hooks could be enabled to publish site upon souce changes. Also since the information can be structured as needed based on the models, an eventual migration to a dynamic service (if the need arises) is pretty straight forward.


Thoughts?

Sergi Almacellas Abellana

unread,
Jan 26, 2018, 3:29:12 AM1/26/18
to try...@googlegroups.com
El 26/01/18 a les 02:59, Gonzalo Peña-Castellanos ha escrit:
> Hello everyone
>
Hi Gonzalo,

> I know that there has been some discussion of changes to the website. Has a static website generator like Lektor been considered https://www.getlektor.com/ ?

Currently we are using nikola [1] which is also a static website generator.

This was already discussed on the new website design topic:

https://discuss.tryton.org/t/new-website-design/453/13

Feel free to share your ideas there.

[1] https://getnikola.com/

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Reply all
Reply to author
Forward
0 new messages