Sito di hackmeeting 2018 https://hackmeeting.org/hackit18/
tubia 52a2e63236 Update 'talks/mastodon/meta.yaml' | 6 years ago | |
---|---|---|
content | 6 years ago | |
plugins | 6 years ago | |
talks | 6 years ago | |
themes | 6 years ago | |
.agignore | 6 years ago | |
.gitignore | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
locandina.jpg | 6 years ago | |
pelicanconf.py | 6 years ago | |
publishconf.py | 6 years ago | |
requirements.txt | 6 years ago |
Sources for Italian Hackmeeting 0x15 (2018) website.
So you want to contribute, nice!
mkvirtualenv hackmeeting-website
pip install -r requirements.txt
make
firefox output/index.html
Also, make help
is your friend.
Morte ai nemici dell'UTF-8
Se devi debuggare, make DEBUG=1
cp -r talks/_talk_example/ talks/MIOTALK/
vim talks/MIOTALK/meta.yaml
Quindi rifai make publish
come spiegato prima: l'output ti informa di eventuali errori nei campi o
sovrapposizioni con altri talk, leggilo!
Il sito è un'istanza di pelican, più alcuni plugin custom: langmenu, per avere un menu che punta alle versioni localizzate della pagina; talks, per gestire i talk in modo speciale.
Il tutto richiede python 2.7, ma dal prossimo anno si potrebbe passare a python 3. Quindi cerca di tenere la compatibilità, se metti mano al codice python.