-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BSv5] Drop
bg-gradient-variant()
mixin (#1455)
- Loading branch information
Showing
8 changed files
with
33 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{{ $_hugo_config := `{ "version": 1 }` }} | ||
{{ $col_id := .Get "color" | default .Ordinal }} | ||
{{ $height := .Get "height" | default "auto" }} | ||
{{/* Height can be one of: auto, min, med, max, full. */}} | ||
{{ $_hugo_config := `{ "version": 1 }` -}} | ||
{{ $col_id := .Get "color" | default .Ordinal -}} | ||
{{ $height := .Get "height" | default "auto" -}} | ||
{{/* Height can be one of: auto, min, med, max, full. */ -}} | ||
<a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a> | ||
<section class="row td-box td-box--{{ $col_id }} position-relative td-box--gradient td-box--height-{{ $height }}"> | ||
<section class="row td-box td-box--{{ $col_id }} position-relative td-box--height-{{ $height }}"> | ||
<div class="container text-center td-arrow-down"> | ||
<div class="h4 mb-0"> | ||
{{ if eq .Page.File.Ext "md" }} | ||
{{ .Inner | markdownify }} | ||
{{ else }} | ||
{{ .Inner | htmlUnescape | safeHTML }} | ||
{{ end }} | ||
{{ if eq .Page.File.Ext "md" -}} | ||
{{ .Inner | markdownify -}} | ||
{{ else -}} | ||
{{ .Inner | htmlUnescape | safeHTML -}} | ||
{{ end -}} | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{{ $_hugo_config := `{ "version": 1 }` }} | ||
{{ $col_id := .Get "color" | default .Ordinal }} | ||
{{ $height := .Get "height" | default "auto" }} | ||
{{ $type := .Get "type" | default "" }} | ||
{{ $_hugo_config := `{ "version": 1 }` -}} | ||
{{ $col_id := .Get "color" | default .Ordinal -}} | ||
{{ $height := .Get "height" | default "auto" -}} | ||
{{ $type := .Get "type" | default "" -}} | ||
<a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a> | ||
<section class="row td-box td-box--{{ $col_id }} td-box--gradient td-box--height-{{ $height }}"> | ||
<section class="row td-box td-box--{{ $col_id }} td-box--height-{{ $height }}"> | ||
<div class="col"> | ||
<div class="row {{ $type }}"> | ||
{{ if eq .Page.File.Ext "md" }} | ||
{{ .Inner | markdownify }} | ||
{{ else }} | ||
{{ .Inner | htmlUnescape | safeHTML }} | ||
{{ end }} | ||
{{ if eq .Page.File.Ext "md" -}} | ||
{{ .Inner | markdownify -}} | ||
{{ else -}} | ||
{{ .Inner | htmlUnescape | safeHTML -}} | ||
{{ end -}} | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters