aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/sidebar/github.html
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar/github.html')
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar/github.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar/github.html b/pelican-bootstrap3/templates/includes/sidebar/github.html
new file mode 100644
index 0000000..a84dbfb
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/sidebar/github.html
@@ -0,0 +1,15 @@
+{% if GITHUB_USER %}
+ {% from 'includes/sidebar/macros.jinja' import title %}
+
+<!-- Sidebar/Github -->
+<li class="list-group-item">
+ <h4>{{ title('GitHub Repos', DISABLE_SIDEBAR_TITLE_ICONS, icon='github') }}</h4>
+ <div id="gh_repos">
+ <p class="list-group-item">Status updating...</p>
+ </div>
+ {% if GITHUB_SHOW_USER_LINK is defined %}
+ <a href="https://github.com/{{ GITHUB_USER }}">@{{ GITHUB_USER }}</a> on GitHub
+ {% endif %}
+</li>
+<!-- End Sidebar/Github -->
+{% endif %}