Skip to content

Commit

Permalink
updates for shortening the long page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHammond committed Jun 21, 2024
1 parent f52b192 commit ebe15c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Site Settings
# You can change the settings below in order to customize your website.
name: "JekyllExample.com"
title: "JekyllExample.com - A sample Jekyll Example website! "
description: "A sample website built on the Jekyll platform designed to make it easy for you to get a website of your own up and running."
name: "JekyllExample.com" # this will be used in combination with page names/titles to create the HTML title for your site
title: "JekyllExample.com - A sample Jekyll Example website! " # this will be used for the HTML TITLE tag where pages don't have their own title defined
description: "A sample website built on the Jekyll platform designed to make it easy for you to get a website of your own up and running." #the description that will be used on all pages that don't have their own description defined
logo: 'assets/Logo.png'
favicon: '/assets/favicon.ico'
baseurl: ""
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Page {{ paginator.page }} of {{ paginator.total_pages }} -
{% endif %}
{% endif %}
{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}
{% if page.title %}{{ page.title }} - {{ site.Name }}{% else %}{{ site.title }}{% endif %}

</title>
<link rel="icon" href="{{ site.baseurl }}{{ site.favicon }}">
Expand Down

0 comments on commit ebe15c8

Please sign in to comment.