diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2012-07-09 07:44:38 -0700 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-07-09 07:44:38 -0700 |
commit | 5c841277a96336f85ce5f5944e92e4ceec2a89f1 (patch) | |
tree | dae04e7396f1f0a3e72d4e4b62545c4030a7193c /syte/static/templates/github-view.html | |
parent | 8363d9701c4c5ab794977c37c4428455e68db78b (diff) | |
parent | 0727752c19ddf32acd3623ded81131f0a8233079 (diff) | |
download | pelican-themes-5c841277a96336f85ce5f5944e92e4ceec2a89f1.tar.gz |
Merge pull request #42 from samrat/master
Added new theme, syte
Diffstat (limited to 'syte/static/templates/github-view.html')
-rw-r--r-- | syte/static/templates/github-view.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/syte/static/templates/github-view.html b/syte/static/templates/github-view.html new file mode 100644 index 0000000..c71ad38 --- /dev/null +++ b/syte/static/templates/github-view.html @@ -0,0 +1,46 @@ +<div class="profile github modal fade" id="github-profile"> + {{#with user }} + <div class="profile-info"> + <button class="close" data-dismiss="modal">×</button> + <a href="http://github.com/{{ login }}" class="profile-avatar"> + <img src="http://gravatar.com/avatar/{{ gravatar_id }}" alt="{{name}}" /> + </a> + <div class="profile-name"> + <h2><a href="http://github.com/{{ login }}">{{ name }}</a></h2> + <h3><a href="http://github.com/{{ login }}">{{ login }}</a></h3> + </div> + <p class="profile-location-url"> + {{#if location }} + <span>{{ location }}</span> + <span class="divider">·</span> + {{/if}} + {{#if blog }} + <span><a href="{{ blog }}">{{ blog }}</a></span> + {{/if}} + </p> + </div> + <ul class="profile-stats"> + <li><a href="http://github.com/{{ login }}"><strong>{{ public_repo_count }}</strong> repos</a></li> + <li><a href="http://github.com/{{ login }}/following"><strong>{{ following_count }}</strong> following</a></li> + <li><a href="http://github.com/{{ login }}/followers"><strong>{{ followers_count }}</strong> followers</a></li> + </ul> + <div class="profile-info-footer"> + <a href="http://github.com/{{ login }}" class="btn">Follow on Github</a> + </div> + {{/with}} + <ul class="profile-repos"> + {{#each repositories}} + <li> + <a href="{{ url }}" class="profile-repo-name">{{ name }}</a> + <p class="profile-repo-text"> + {{ description }} + </p> + <ul class="profile-repo-stats"> + <li>{{ language }}</li> + <li><a href="{{ url }}/watchers" class="profile-watchers">{{ watchers }}</a></li> + <li><a href="{{ url }}/network" class="profile-forks">{{ forks }}</a></li> + </ul> + </li> + {{/each}} + </ul> +</div> |