FIX theme toggle
This commit is contained in:
parent
bfccca3b45
commit
553285c04b
9 changed files with 111 additions and 34 deletions
|
@ -4,7 +4,7 @@ odd: 0 or 1
|
|||
hero:
|
||||
avatar: image
|
||||
greeting: string
|
||||
social: array
|
||||
social: icon
|
||||
type: string
|
||||
url: string
|
||||
content: string
|
||||
|
@ -19,6 +19,13 @@ content: string
|
|||
<div>
|
||||
<h1>{{ .greeting }}</h1>
|
||||
<h3>{{ .introduction }}</h3>
|
||||
{{ if .social }}
|
||||
<div class="social">
|
||||
{{ range .social }}
|
||||
{{ partial "components/icon.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue