From 75013ec1c5a69eb9d6fcb097a6a1c30e329c3e97 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Wed, 6 Aug 2025 17:05:12 -0400 Subject: [PATCH] Add sitemap and robots.txt for SEO --- Gemfile | 1 + _config.yml | 30 +++++++++++----------- _layouts/default.html | 59 ++++++++++++++++++++++++++++++++----------- robots.txt | 9 +++++++ 4 files changed, 69 insertions(+), 30 deletions(-) create mode 100644 robots.txt diff --git a/Gemfile b/Gemfile index 7b5a425..64ee90a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ source 'http://rubygems.org' gem "webrick" +gem "jekyll-sitemap" gem 'github-pages', group: :jekyll_plugins diff --git a/_config.yml b/_config.yml index a94fc1b..0db36fb 100644 --- a/_config.yml +++ b/_config.yml @@ -7,26 +7,26 @@ blog_url: https://www.hallada.net/blog assets: https://hallada.net/assets/ logo: /img/profile_icon_128x128.jpg social: - name: Tyler Hallada - links: - - https://twitter.com/tyhallada - - https://www.facebook.com/tyhallada - - https://www.linkedin.com/in/thallada/ - - https://github.com/thallada + name: Tyler Hallada + links: + - https://twitter.com/tyhallada + - https://www.facebook.com/tyhallada + - https://www.linkedin.com/in/thallada/ + - https://github.com/thallada defaults: - - - scope: - path: "" - values: - image: /img/profile_icon_300x200.jpg + - scope: + path: "" + values: + image: /img/profile_icon_300x200.jpg markdown: kramdown kramdown: - syntax_highlighter: rouge + syntax_highlighter: rouge excerpt_separator: "" paginate: 10 paginate_path: "blog/page:num" gems: - - jekyll-redirect-from - - jekyll-paginate - - jekyll-seo-tag + - jekyll-redirect-from + - jekyll-paginate + - jekyll-seo-tag + - jekyll-sitemap include: [".well-known"] diff --git a/_layouts/default.html b/_layouts/default.html index c97fece..e2f05c2 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,40 +1,67 @@ - + - - + + {{ page.title }} - + - + + - - + + - - + + - + - + - + - + + + + {% seo %} @@ -48,7 +75,9 @@ {{ content }}
- RSS + RSS