File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 775
775
776
776
/* tables */
777
777
table {
778
+ position : relative;
779
+ z-index : -1 ;
780
+
778
781
td {
779
782
padding : var (--table-row-space-between ) 0 ;
780
783
}
Original file line number Diff line number Diff line change
1
+ {{ $class := .Get 0 }}
2
+ {{ $sideOption := "side-callout" }}
3
+ {{ $inlineOption := "inline-callout" }}
4
+
5
+ <!-- Add default option for callouts that are "inline" if one is not provided -->
6
+ {{ if and (not (strings.Contains $class $inlineOption)) (not (strings.Contains $class $sideOption)) }}
7
+ {{ $class = printf "%s %s" $class $inlineOption }}
8
+ {{ end }}
9
+
1
10
<!-- Blockquote element with a class that is the first parameter passed to the shortcode -->
2
- < blockquote class ="{{ .Get 0 }} side-callout ">
11
+ < blockquote class ="{{ $class }} ">
3
12
< div >
4
13
<!-- Check if the third parameter (icon class) is provided -->
5
14
{{ with .Get 2 }}
You can’t perform that action at this time.
0 commit comments