cupper-hugo-theme/layouts/shortcodes/codeBlock.html

2 lines
174 B
HTML
Raw Normal View History

2017-11-02 16:39:45 +01:00
<pre class="{{ with .Get "lang" }}language-{{ . }}{{ end }}"><code {{ with .Get "lang" }}class="language-{{ . }}"{{ end }} data-codeblock-shortcode>{{ .Inner }}</code></pre>