From 9191d15ee0b86eeba9012a8b21391ed07f96f8a1 Mon Sep 17 00:00:00 2001 From: JamesFlare1212 Date: Sun, 7 Apr 2024 18:35:50 -0400 Subject: [PATCH] optimze page title --- content/portfolio/mask-making/index.md | 2 -- layouts/partials/head.html | 8 +++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/content/portfolio/mask-making/index.md b/content/portfolio/mask-making/index.md index c7d41be..4d66c87 100644 --- a/content/portfolio/mask-making/index.md +++ b/content/portfolio/mask-making/index.md @@ -12,8 +12,6 @@ weight = 0 > Published 2023/10/05 at 2:21 pm -Here's an improved structure with more depth and fewer H2 headings: - ## Introduction This project introduced the concept of peer to peer. We first interviewed our partners about their social identities in seminar class. Based on this, we started to create our mask using Design Thinking. The mask is designed to address issues that not only our partner is dealing with but also for people facing similar problems. diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 21b5275..5d61fc2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,12 @@ -{{ with .Site.Title }}{{ . }}{{ end }} + + {{ if .IsPage }} + {{ .Title }} - {{ .Site.Title }} + {{ else }} + {{ .Site.Title }} + {{ end }} + {{ with .Site.Params.description }}{{ end }}