/page/
instead of /page.html
)./commits/master.atom
of source repository for RSS.application/git+http
rel tag.Create a new repository at GitHub based on template weakish/micro-gh-page.
Edit _config.yml
, for example:
url: your-username.github.io
title: your-site-title
(optional) Add a favicon.ico
file.
(optional) Add a CNAME
file to use your own domain.
(optional) Add repo: USERNAME/REPO_NAME
in _config.yml
.
Commit changes and push.
Install the requirements:
bundle install
Preview locally:
bundle exec jekyll serve
To deploy to ZeroNet, just add a new config file, e.g. _zeronet.yml
, to override the site.url
variable:
url: /YOUR_ZERONET_SITE_ADDRESS
Then build the site with:
bundle exec jekyll build --config _config.yml,_zeronet.yml -d PATH_TO_ZERONET/data/YOUR_ZERONET_SITE_ADDRESS
Afterwards you can sign and publish your zeronet site:
zeronet.py siteSign YOUR_ZERONET_SITE_ADDRESS
zeronet.py sitePublish YOUR_ZERONET_SITE_ADDRESS
You can also sign and publish your site via the zero panel in the browser.