Statically define the social icons
This commit is contained in:
parent
045908410a
commit
d4b977b1ee
3 changed files with 9 additions and 21 deletions
|
@ -1,13 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
{{ $.Scratch.Delete "social-list" }}<!---->
|
||||
{{ $social := slice "twitter" "github" "instagram" }}<!---->
|
||||
{{ range $social }}<!---->
|
||||
{{ if isset site.Params . }}<!---->
|
||||
{{ $.Scratch.Add "social-list" (slice .) }}<!---->
|
||||
{{ end }}<!---->
|
||||
{{ end }}<!---->
|
||||
|
||||
<html lang="{{ site.LanguageCode }}">
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue