From fc42d1df01c05d8acfa50d0a678bafec26892a1f Mon Sep 17 00:00:00 2001 From: trwnh Date: Thu, 29 Oct 2020 18:58:18 -0500 Subject: [PATCH] fix titles for index page --- content/blog/no-right-to-profit/index.md | 2 +- layouts/_default/baseof.html | 11 ++++++++--- layouts/_default/list.html | 1 - layouts/_default/single.html | 1 - layouts/partials/site-footer.html | 2 +- layouts/partials/site-header.html | 2 +- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/content/blog/no-right-to-profit/index.md b/content/blog/no-right-to-profit/index.md index a0fe7e2..9af90a0 100644 --- a/content/blog/no-right-to-profit/index.md +++ b/content/blog/no-right-to-profit/index.md @@ -3,7 +3,7 @@ title: "You don't have a right to profit." summary: "People will go to ridiculous lengths in the name of protecting the “right” to profit. Let’s be real here. No one has a “right” to profit." author: "Abdullah Tarawneh" date: "2015-07-08" -tags: ["grooveshark", "music", "music industry", "culture", "user generated content", "capitalism", "copyright"] +tags: ["capitalism", "profit", "music", "music industry", "piracy", "distribution", "access"] category: "Blog" cover: "" --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 21cd219..5f21dd1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,13 +9,18 @@ - {{ block "title" . }}{{ .Site.Title }}{{ end }} {{ if .IsPage }}{{ end }} + {{ if .IsHome }}{{ .Site.Title }} + {{ .Site.Title }} + + + + {{ else }}{{ .Title }} | {{ .Site.Title }} {{ .Title }} | {{ .Site.Title }} - - + {{ end }} + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1cbe910..9513d29 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,4 +1,3 @@ -{{ define "title" }}{{.Title}} | {{ .Site.Title }}{{ end }} {{ define "main" }}