feat: initial import
This commit is contained in:
commit
03ab1091b1
50 changed files with 1146 additions and 0 deletions
19
layouts/_partials/full-section.html
Normal file
19
layouts/_partials/full-section.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{{ $back := "" }}
|
||||
{{ if .Params.background }}
|
||||
{{ with resources.Get .Params.background }}
|
||||
{{ $back = .RelPermalink }}
|
||||
{{ else }}
|
||||
{{ errorf "Unable to find %s in assets directory" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ $Content := replace .Content "<li>" "<li><i class='li__icon' data-feather='check'></i>" }}
|
||||
|
||||
|
||||
<div
|
||||
class="full-section"
|
||||
style="background-image:url({{ $back }});background-size:cover;background-repeat:no-repeat;background-position:center center;">
|
||||
<div class="full-section__content">
|
||||
{{ $Content | safeHTML }}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue