Add sitemap

master
rubenwardy 2021-06-23 21:31:40 +01:00
parent 9fd018548a
commit e5ccae3a1e
4 changed files with 13 additions and 7 deletions

View File

@ -5,4 +5,6 @@ gem "webrick"
group :jekyll_plugins do
gem "jekyll-redirect-from"
gem "jekyll-sitemap"
# gem "jekyll-last-modified-at"
end

View File

@ -33,6 +33,8 @@ GEM
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
@ -66,7 +68,8 @@ PLATFORMS
DEPENDENCIES
jekyll
jekyll-redirect-from
jekyll-sitemap
webrick
BUNDLED WITH
2.2.16
2.2.19

View File

@ -1,4 +1,4 @@
# url: https://localhost.rubenwardy.com
url: https://renewedtab.com
description: A customisable New Tab page, with widgets and beautiful backgrounds
permalink: pretty
sass:
@ -6,6 +6,7 @@ sass:
plugins:
- jekyll-redirect-from
- jekyll-sitemap
firefox: https://addons.mozilla.org/addon/renewed-tab/?utm_source=renewedtab.com&utm_medium=referral
chrome: https://chrome.google.com/webstore/detail/renewed-tab/laljofodhebajcajogbolahbjdcnfgkf?utm_source=renewedtab.com&utm_medium=referral

View File

@ -17,11 +17,11 @@
<link rel="icon" href="/static/icon.svg">
{% if page.url == "/" %}
<meta name="og:title" content="Renewed Tab"/>
<meta name="og:description" content="{{ site.description }}"/>
<meta name="description" content="{{ site.description }}"/>
<meta name="og:url" content="{{ '/' | absolute_url }}"/>
<meta name="og:image" content="{{ '/static/images/gallery/widgets.png' | absolute_url }}"/>
<meta name="og:title" content="Renewed Tab" />
<meta name="og:description" content="{{ site.description }}" />
<meta name="description" content="{{ site.description }}" />
<meta name="og:url" content="{{ '/' | absolute_url }}" />
<meta name="og:image" content="{{ '/static/images/gallery/widgets.png' | absolute_url }}" />
{% endif %}
</head>
<body>