From 245f989b2a9fa505ed940a5ba17a335d2a74a0ed Mon Sep 17 00:00:00 2001 From: Karen Bradshaw Date: Thu, 17 Sep 2020 20:42:05 -0400 Subject: [PATCH] fix copy clipboard --- layouts/shortcodes/codenew.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/layouts/shortcodes/codenew.html b/layouts/shortcodes/codenew.html index e8c6aa9656..e13e7b9ead 100644 --- a/layouts/shortcodes/codenew.html +++ b/layouts/shortcodes/codenew.html @@ -19,11 +19,14 @@ {{ end }} {{ with $.Scratch.Get "content" }}
-
- {{- with $ghlink -}}{{- end -}} - {{ $file }} - {{ if $ghlink }}{{ end }} +
+ {{ with $ghlink }}{{ end }}{{ $file }} + {{ if $ghlink }}{{ end }} + + +
+
+ {{ highlight . $codelang "" }}
-{{ highlight . $codelang "" }}
-{{- end -}} +{{ end }}