Skip to content

Commit

Permalink
Updates to pagination and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHammond committed Jan 17, 2024
1 parent c0051ce commit f77cd8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: "JekyllExample.com"
title: "JekyllExample.com - A sample Jekyll Example website! "
description: "A sample Jekyll Site!"
logo: 'assets/Logo.png'
favicon: 'assets/favicon.ico'
favicon: '/assets/favicon.ico'
baseurl: ""
google_analytics: 'G-ZKHV3G3SN8' # configured for Google Analytics 4 MEASUREMENT ID
# disqus:
Expand Down
2 changes: 1 addition & 1 deletion _includes/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% if page == paginator.page %}
<span class="ml-1 mr-1">{{ page }}</span>
{% elsif page == 1 %}
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
<a class="ml-1 mr-1" href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
{% else %}
<a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
Expand Down
4 changes: 1 addition & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="icon" href="{{ site.baseurl }}/assets/favicon.ico">

<title>{{ page.title }} | {{site.name}}</title>
<link rel="icon" href="{{ site.baseurl }}{{ site.favicon }}">

{% seo %}
{% if page.keywords %}
Expand Down

0 comments on commit f77cd8e

Please sign in to comment.