Skip to content

Latest commit

 

History

History
105 lines (81 loc) · 2.62 KB

index.markdown

File metadata and controls

105 lines (81 loc) · 2.62 KB
layout
default

{{ site.github.project_tagline }}

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.

{% raw %}
<h1>{{ site.github.project_tagline }}</h1>
{% endraw %}

The repository this demo is hosted in is [{{ site.github.repository_url}}]({{ site.github.repository_url}})

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:

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

Repositories

This is a list of my public repositories

{% raw %}
<ul>
  {% for repository in site.github.public_repositories %}
    <li><a href="{{ repository.html_url }}">{{ repository.full_name }}</a></li>
  {% endfor %}
</li>
{% endraw %}

Members

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

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

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]({{ site.github.repository_url}}/edit/gh-pages/index.markdown).