- No JavaScript.
- Minimalistic 404 page.
- Clean urls (
/page/
instead of/page.html
). - SEO sitemap.
- Use
/commits/master.atom
of source repository for RSS. application/git+http
rel tag.- Use Primer Jekyll theme, which is the default theme for GitHub Pages
-
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.