Closed netw0rkf10w closed 3 years ago
Problem solved!
In _includes/head.html
, replacing
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
with
<title>
{% if page.url != "/" and page.title %}
{{ page.title }} | {{ site.title }} • {{ site.subtitle }}
{% else %}
{{ site.title }} • {{ site.subtitle }} | {{ site.description }}
{% endif %}
</title>
Hi @clayh53,
Thanks for making this beautiful theme!
I observed some potentially undesirable behavior: the title of the landing (or home) page is just "blog", which is... weird. More generally it seems that the website's
title
,subtitle
, as well asdescription
are not taken into account in your theme.I would suggest to display this information as follows.
For landing page: Title • Subtitle | Description
For example, this is how the official Jekyll website is displayed:
For other pages: PageTitle | Title • Subtitle
For example:
Could you please tell me how to make these changes? I can submit a PR if that is of interest.
Thank you very much!