summaryrefslogtreecommitdiffhomepage
path: root/resources/pug/include/mixins.pug
diff options
context:
space:
mode:
Diffstat (limited to 'resources/pug/include/mixins.pug')
-rw-r--r--resources/pug/include/mixins.pug3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/pug/include/mixins.pug b/resources/pug/include/mixins.pug
new file mode 100644
index 0000000..14c78f3
--- /dev/null
+++ b/resources/pug/include/mixins.pug
@@ -0,0 +1,3 @@
+mixin githubIconLink(repo)
+ a(href='https://github.com/' + repo, target='_blank', title='Source on GitHub')
+ img(src='/assets/img/github.png', alt='GitHub')