mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 18:24:45 -04:00
Remove background color from code shortcode
Background color is not necessary with Chroma.css
This commit is contained in:
parent
dcb0998d0f
commit
05aaee8cec
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user