Skip to content
micro github pages repository template
CSS HTML Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
_layouts
assets/css
.gitignore
404.html
Gemfile
LICENSE
README.md
_config.yml

README.md

Micro GitHub Page Template

Features

  1. No JavaScript.
  2. Minimalistic 404 page.
  3. Clean urls (/page/ instead of /page.html).
  4. SEO sitemap.
  5. Use /commits/master.atom of source repository for RSS.
  6. application/git+http rel tag.
  7. Use Primer Jekyll theme, which is the default theme for GitHub Pages

Use

  1. Create a new repository at GitHub based on template weakish/micro-gh-page.

  2. Edit _config.yml, for example:

    url: your-username.github.io
    title: your-site-title
    repo: your-username/your-username.github.io
    
  3. (optional) Add a favicon.ico file.

  4. (optional) Add a CNAME file to use your own domain.

  5. Commit changes and push.

Preview

Install the requirements:

bundle install

Preview locally:

bundle exec jekyll serve

ZeroNet

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.

Examples

You can’t perform that action at this time.