mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
Remove background color from code shortcode
Background color is not necessary with Chroma.css
This commit is contained in:
1 parent
dcb0998d0f
commit
05aaee8cec
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
{{ $file := .Get "file" }}
|
||||
{{ $isHTML := strings.HasSuffix $file "html" }}
|
||||
<div class="code relative bg-primary-color" id="{{ $file | urlize}}">
|
||||
<div class="code relative" id="{{ $file | urlize}}">
|
||||
{{- with $file -}}
|
||||
<div class="filename san-serif f6 dib lh-solid pl2 pv2">{{.}}</div>
|
||||
{{- end -}}
|
||||
|
||||
Reference in new issue
Block a user