diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..26ed7e6 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,35 @@ + + +{{ $.Scratch.Delete "social-list" }} +{{ $social := slice "twitter" "github" "instagram" }} +{{ range $social }} +{{ if isset site.Params . }} +{{ $.Scratch.Add "social-list" (slice .) }} +{{ end }} +{{ end }} + + + {{ partial "head.html" . }} + + + {{ partial "header.html" . }} + +
{{ block "main" . }}{{ end }}
+ + {{ partial "footer.html" . }} + + +