f9559193 |
{% if site.github_user %}
<section> |
4b8aeb27 |
<h1>GitHub Repos</h1> |
f9559193 |
<ul id="gh_repos">
<li class="loading">Status updating...</li>
</ul> |
2e1f0c0b |
{% if site.github_show_profile_link %} |
4b8aeb27 |
<a href="https://github.com/{{site.github_user}}">@{{site.github_user}}</a> on GitHub |
2e1f0c0b |
{% endif %} |
f9559193 |
<script type="text/javascript">
$.domReady(function(){
if (!window.jXHR){
var jxhr = document.createElement('script');
jxhr.type = 'text/javascript';
jxhr.src = '{{ root_url}}/javascripts/libs/jXHR.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jxhr, s);
} |
08af7b4e |
github.showRepos({
user: '{{site.github_user}}',
count: {{site.github_repo_count}}, |
16bb7729 |
skip_forks: {{site.github_skip_forks}}, |
08af7b4e |
target: '#gh_repos'
}); |
f9559193 |
});
</script>
<script src="{{ root_url }}/javascripts/github.js" type="text/javascript"> </script>
</section>
{% endif %} |