aboutsummaryrefslogtreecommitdiffstats
path: root/nmnlist/templates/github.html
diff options
context:
space:
mode:
authorStéphane Caron <stephane.caron@ens.fr>2013-03-20 12:04:11 +0100
committerStéphane Caron <stephane.caron@ens.fr>2013-03-20 12:04:11 +0100
commitda810104cd033c1dcc25d67f8f09985a415b43b9 (patch)
tree3ab6f758a1e022e04ebd82bf09691648ecb14107 /nmnlist/templates/github.html
parent53d6c4254aa2b4781b850419d63a40527c307d71 (diff)
downloadpelican-themes-da810104cd033c1dcc25d67f8f09985a415b43b9.tar.gz
theme variant from mnmlist
Diffstat (limited to 'nmnlist/templates/github.html')
-rw-r--r--nmnlist/templates/github.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/nmnlist/templates/github.html b/nmnlist/templates/github.html
new file mode 100644
index 0000000..75592ac
--- /dev/null
+++ b/nmnlist/templates/github.html
@@ -0,0 +1,9 @@
+{% if GITHUB_URL %}
+<a href="{{ GITHUB_URL }}">
+{% if GITHUB_POSITION != "left" %}
+<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
+{% else %}
+<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
+{% endif %}
+</a>
+{% endif %}