zytzeiche.github.io

create github.io pages

github.io main page

Create a _config.yml file:

plugins:
  - jekyll-relative-links
relative_links:
  enabled: true
  collections: true
theme: jekyll-theme-primer

Create a github.io page on another repository

cd "$(git rev-parse --show-toplevel)"
mkdir docs
cd docs
vi docs/index.md
cd ..
git add docs/index.md
git commit -m "initial commit" docs/index.md
git push

Configuration of the GIT Repo

Jekyll Theme Primer

Change Layout

cd <repo-main-doc-directory>
test -d _layouts || mkdir _layouts
cd _layouts
wget https://raw.githubusercontent.com/pages-themes/primer/master/_layouts/default.html
vi default.html
cd ..
git add _layouts/default.html
git commit -m "got layout file 'default.html' from https://pages-themes.github.io/primer/" _layouts/default.html

default.html

This site hosted on <a href="https://github.com/{{ site.github.repository_nwo }}">GitHub.com</a>