aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/pkg.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/pkg.html')
-rw-r--r--layouts/shortcodes/pkg.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/pkg.html b/layouts/shortcodes/pkg.html
new file mode 100644
index 0000000..0c2eeff
--- /dev/null
+++ b/layouts/shortcodes/pkg.html
@@ -0,0 +1 @@
+<a href="https://git.carbslinux.org/repository/tree/{{ index .Params 0 }}">{{ or (index .Params 1 ) (index .Params 0 | path.Base)}}</a>