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