GitHub Pages Demonstration

This is a demonstration of some of the cool integrations with GitHub that GitHub Pages provides.

For example, that heading comes from the GitHub repository this demo is hosted within.


<h1>{{ site.github.project_tagline }}</h1>

The repository this demo is hosted in is https://github.com/Haacked/gh-pages-demo

Contributors

These lovely people have contributed a change to this repository. If you want to see yourself in this list, send me a pull request. Go to the bottom for a real simple way to help.

The code for generating that list is:


<ul>
{% for contributor in site.github.contributors %}
  <li>
    <img src="{{ contributor.avatar_url }}" width="32" height="32" /> {{ contributor.login }}
  </li>
{% endfor %}
</ul>

Repositories

This is a list of my public repositories


<ul>
  {% for repository in site.github.public_repositories %}
    <li>{{ repository.full_name }} </li>
  {% endfor %}
</li>

Members

This is a list of the members of my “organization”. This is probably just me.


<ul>
{% for member in site.github.organization_members %}
  <li>
    <img src="{{ member.avatar_url }}" width="32" height="32" /> {{ member.login }}
  </li>
{% endfor %}
</ul>

Theme

GitHub Pages now support specifying themes outside of your repository. For example, you can use one of GitHub’s pre-built themes by entering the following in _config.yml

theme: minima

GitHub Pages also supports specifying another repository as the theme for your site. See the documentation for more information.

Bug in this page?

To fix a bug in this page click this edit link.