Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added code for Issue 18 - Fixed title display condition #34

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ansin218
Copy link

@ansin218 ansin218 commented Oct 2, 2019

The if-else condition caused the title of the site to not appear on the title tag.

This has been fixed by doing:

<title>{{ if .IsHome }}{{ .Site.Params.Title }}{{ else }}{{ .Title }}{{ end }} &middot; {{ .Site.Params.Title }}</title>

@y26805
Copy link

y26805 commented May 8, 2020

Duplicate of #27

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants