aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/pkg.html
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-31 01:13:15 +0300
committerCem Keylan <cem@ckyln.com>2021-08-31 01:13:15 +0300
commit08c5bd21fa02e1b30fe2e4c194d9c615a4daf2c6 (patch)
treeb471d65a2ad20665dc0e0e8f91aa67ac4c0949b1 /layouts/shortcodes/pkg.html
parent25cfa83501cf9b0a1f79d7d94af13b0866c33aa7 (diff)
downloadwebsite-08c5bd21fa02e1b30fe2e4c194d9c615a4daf2c6.tar.gz
website: switch to hugo
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>