- {{ highlight .Inner (.Get "lang") "linenos=true" }}
-
+ {{ end }}
+ {{ if isset .Params "plain" }}
+ {{ highlight .Inner (.Get "lang") "" }}
+ {{ else }}
+ {{ highlight .Inner (.Get "lang") "linenos=true" }}
+ {{ end }}
diff --git a/layouts/index.html b/layouts/index.html index bdceb5d..a633013 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@