Statically define the social icons

This commit is contained in:
Eryn Wells 2021-10-10 19:58:55 -07:00
parent 045908410a
commit d4b977b1ee
3 changed files with 9 additions and 21 deletions

View file

@ -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" . }}