A static website built to serve as an Archive of internetfreedom.in
Note: Changes on
internetfreedom.in
are not automatically mirrored to this website.
Pre-requisites:
- Hugo
- go
- Export Ghost content (and settings) from the "Labs" section(JSON format)
Convert ghost data to .md files which will be consumed by hugo:
git clone https://github.com/anoop-b/ghostToHugo.git
cd ghostToHugo
go run main.go export.json
cd newhugosite
Transfer the contents of newhugosite/content
and newhugosite/layouts
to content and layouts folder respectively.
Github workflow build and deploys automatically to github pages on push. To build manually run
hugo
from the root of the directory.
This generates the static website to the public/
directory by default
- create webhook from ghost posts
- consume webhook, build and deploy new posts using hugo
Everything inside content
directory is CC-BY, everything else is MIT.