diff --git a/layouts/index.html b/layouts/index.html index c03bd65..55799c3 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,42 +1,27 @@ -{{ define "header" }} - - +{{ define "main" }} + + - - - - + + + + {{ end }} -{{ define "nav" }} - -{{/* */}} -{{ end }} - -{{ define "main" }} - -{{/* */}} -{{ end }} - -{{ define "footer" }} - -{{ end }} - {{ define "scripts" }} {{ end }} {{ define "preload" }} - + {{ end }} diff --git a/layouts/partials/links.html b/layouts/partials/links.html index 957d9ed..a689e75 100644 --- a/layouts/partials/links.html +++ b/layouts/partials/links.html @@ -13,11 +13,12 @@ {{ $url := urls.Parse $urlstr }} {{ if eq $url.Host "github.com" }}{{ $type = "github" }} - {{ else if eq $url.Host "disktree.net" }}{{ $type = "diamond" }} + {{ else if eq $url.Host "disktree.net" }}{{ $type = "circle" }} + {{ else if eq $url.Host "disktree.bandcamp.com" }}{{ $type = "circle" }} + {{ else if eq $url.Host "disktree.itch.io" }}{{ $type = "circle" }} {{ else if eq $url.Host "gist.github.com" }}{{ $type = "github" }} {{ else if eq $url.Host "gitlab.com" }}{{ $type = "gitlab" }} {{ else if eq $url.Host "bandcamp.com" }}{{ $type = "bandcamp" }} - {{ else if eq $url.Host "disktree.bandcamp.com" }}{{ $type = "bandcamp" }} {{ else if eq $url.Host "twitter.com" }}{{ $type = "twitter" }} {{ else if eq $url.Host "vimeo.com" }}{{ $type = "vimeo" }} {{ else if eq $url.Host "youtube.com" }}{{ $type = "youtube" }} diff --git a/layouts/partials/site/aside.html b/layouts/partials/site/aside.html index 827adfc..0a2c7df 100644 --- a/layouts/partials/site/aside.html +++ b/layouts/partials/site/aside.html @@ -6,10 +6,11 @@
  • {{ .GitInfo.AuthorName }}
  • {{ end }} -