From f0d529f78bb3f2695f040d5f4dfc66f8805d1fa0 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Mon, 17 Oct 2022 14:36:13 -0400 Subject: [PATCH] Adding package name to shortcode --- src/layouts/page/package-detail.html | 60 +++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/src/layouts/page/package-detail.html b/src/layouts/page/package-detail.html index 3c0fd5f..fd1e747 100644 --- a/src/layouts/page/package-detail.html +++ b/src/layouts/page/package-detail.html @@ -21,7 +21,65 @@ -{{- partial "clipboard-copy.html" -}} +{{ range where $.Site.Data.packages "name" .Title }} +
+ + + + + + + +{{end}} + + + +