diff --git a/themes/shockrah.xyz/layouts/_default/list.html b/themes/shockrah.xyz/layouts/_default/list.html index 17bc609..3474973 100644 --- a/themes/shockrah.xyz/layouts/_default/list.html +++ b/themes/shockrah.xyz/layouts/_default/list.html @@ -3,7 +3,6 @@ {{ range .Pages.ByPublishDate.Reverse }}

{{ .Title }}

- {{ partial "metadata.html" }}

{{ .Summary }}

diff --git a/themes/shockrah.xyz/layouts/_default/single.html b/themes/shockrah.xyz/layouts/_default/single.html index 8457edb..7e5c09d 100644 --- a/themes/shockrah.xyz/layouts/_default/single.html +++ b/themes/shockrah.xyz/layouts/_default/single.html @@ -1,6 +1,5 @@ {{ define "main" }}

{{ .Title }}

-{{ partial "metadata.html" }}

{{ .Content }} {{ end }} diff --git a/themes/shockrah.xyz/layouts/partials/head.html b/themes/shockrah.xyz/layouts/partials/head.html index 51e37c4..b1f784b 100644 --- a/themes/shockrah.xyz/layouts/partials/head.html +++ b/themes/shockrah.xyz/layouts/partials/head.html @@ -7,4 +7,13 @@ {{ $title := print .Title }} {{ if .IsHome }}{{ $title = .Site.Title}}{{end}} {{ $title }} + + + {{ $url := print .RelPermalink }} + + {{ $desc := print .Description }} + {{ if .IsHome }}{{ $desc = .Params.Description }}{{end}} + + + diff --git a/themes/shockrah.xyz/layouts/partials/metadata.html b/themes/shockrah.xyz/layouts/partials/metadata.html deleted file mode 100644 index e60623c..0000000 --- a/themes/shockrah.xyz/layouts/partials/metadata.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $dateTime := .PublishDate.Format "2017-01-01" }} -{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} - -{{ with .Params.tags }} - {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} - {{ . }} - {{ end }} -{{ end }} - diff --git a/themes/shockrah.xyz/layouts/partials/posts.html b/themes/shockrah.xyz/layouts/partials/posts.html index 61cd393..3c82c65 100644 --- a/themes/shockrah.xyz/layouts/partials/posts.html +++ b/themes/shockrah.xyz/layouts/partials/posts.html @@ -3,7 +3,6 @@ {{ range .Pages.ByPublishDate.Reverse }}

{{ .Title }}

- {{ partial "metadata.html" }}

{{ .Summary }}