Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit ac2cd77

Browse files
Add sitemap.xml and atom.xml generating
1 parent 412b54a commit ac2cd77

7 files changed

Lines changed: 23 additions & 188 deletions

File tree

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ source 'https://rubygems.org'
55
gem "github-pages", group: :jekyll_plugins
66

77
gem 'ruby_dep', '~> 1.3.1'
8+
gem 'jekyll-sitemap'
9+
gem 'jekyll-feed'

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ PLATFORMS
244244

245245
DEPENDENCIES
246246
github-pages
247+
jekyll-feed
248+
jekyll-sitemap
247249
ruby_dep (~> 1.3.1)
248250

249251
BUNDLED WITH

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@
33
## Jekyll
44

55
This site uses **Jekyll static site generator** to easily create a theme.
6-
You can run the local server using `bundle exec jekyll serve`.
6+
You can run the local server using `bundle exec jekyll serve`.
7+
8+
Jekyll auto-generates:
9+
* The website (in the _site directory)
10+
* The `sitemap.xml`
11+
* The `atom.xml`

_config.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
# Dependencies
22
theme: jekyll-theme-cayman
33

4+
# Providing atom.xml
5+
plugins:
6+
- jekyll-sitemap
7+
- jekyll-feed
8+
9+
# Used by "jekyll-sitemap" and "jekyll-feed"
10+
url: site.baseurl # the base hostname & protocol for your site
11+
12+
feed:
13+
path: atom.xml
14+
415
# Social
516
title: DockerWest — Easy docker images
617
description: "Easy docker images"
7-
authors: "Ike Devolder <BlackIkeEagle>, Pieter Meyvaert <Pegasuz> and other contributors"
18+
author: "Ike Devolder <BlackIkeEagle>, Pieter Meyvaert <Pegasuz> and other contributors"
819

920
# Marketing
1021
google_analytics: UA-100428460-1

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<meta charset="utf-8">
22
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
33
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
4-
<meta name="author" content="{{ site.authors }}">
4+
<meta name="author" content="{{ site.author }}">
55
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
66

77
<title>

atom.xml

Lines changed: 0 additions & 140 deletions
This file was deleted.

sitemap.xml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)