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 }} - +{{/* + - +*/}} diff --git a/layouts/partials/site/footer.html b/layouts/partials/site/footer.html index 3b63da5..25f9968 100644 --- a/layouts/partials/site/footer.html +++ b/layouts/partials/site/footer.html @@ -1,8 +1,9 @@ + + {{/* - - - - {{ .GitInfo }} + + + + */}} - diff --git a/layouts/theme/single.html b/layouts/theme/single.html index ff4acf5..4bf8adc 100644 --- a/layouts/theme/single.html +++ b/layouts/theme/single.html @@ -2,7 +2,8 @@ {{- .Title -}} [DEFAULT] [MORE] - {{ if .Content }}{{- .Content -}}{{ end }} + [CLEAR] + {{ if .Content }}{{- .Content -}}{{ end }}
{{ .GitInfo }}