File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 9
9
- Added instructions and example on how to fix image links in project sites (#1171 )
10
10
- Pagination buttons: use nicer arrows, and don't show text on small screens (#1221 )
11
11
- Updated Yelp URL format - if you previously used the ` yelp ` social network config parameter, you might need to update the config value (#1259 )
12
+ - Added ` title-on-all-pages ` config setting, that adds the website title to all page titles (#1272 )
12
13
13
14
## v6.0.1 (2023-06-08)
14
15
Original file line number Diff line number Diff line change 10
10
# ###########################
11
11
12
12
# Name of website
13
- title : My Website
13
+ title : My website
14
14
15
15
# Your name to show in the footer
16
16
author : Some Person
@@ -100,6 +100,9 @@ share-links-active:
100
100
# Remove this if you don't want a link in the footer
101
101
url-pretty : " MyWebsite.com"
102
102
103
+ # Show the site title in the <title> of all pages in addition to the page title
104
+ title-on-all-pages : true
105
+
103
106
# Excerpt word length - Truncate the excerpt of each post on the feed page to the specified number of words
104
107
excerpt_length : 50
105
108
Original file line number Diff line number Diff line change 2
2
< meta charset ="utf-8 ">
3
3
< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
4
4
5
- {% capture title %}
5
+ {% capture pagetitle %}
6
6
{%- if page.share-title -%}
7
7
{{ page.share-title | strip_html | xml_escape }}
8
8
{%- elsif page.title -%}
12
12
{%- endif -%}
13
13
{% endcapture %}
14
14
15
+ {% capture title %}
16
+ {%- if site.title and site.title-on-all-pages and (site.title != pagetitle) -%}
17
+ {{ pagetitle }} | {{ site.title }}
18
+ {%- else -%}
19
+ {{ pagetitle }}
20
+ {%- endif -%}
21
+ {% endcapture %}
22
+
15
23
{% capture description %}
16
24
{%- if page.share-description -%}
17
25
{{ page.share-description | strip_html | xml_escape }}
You can’t perform that action at this time.
0 commit comments