Skip to content

Commit 8db364c

Browse files
committed
Fix sitemap.xml build
1 parent 6da094b commit 8db364c

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ gem 'middleman-livereload'
1010
gem 'middleman-minify-html'
1111
gem 'middleman-robots'
1212
gem "middleman-tailwind", github: "teaforthecat/middleman-tailwind", branch: "upgrade-execs-to-3.4.1"
13-
gem 'middleman-search_engine_sitemap'
1413

1514
# Version 5 not yet supported
1615
# https://github.com/middleman/middleman/issues/2619
1716
gem 'slim', '~> 4.0'
17+
gem 'builder'
1818

1919
# Ruby 3.4 support
2020
gem "bigdecimal"

Gemfile.lock

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ GEM
108108
middleman-robots (1.3.7)
109109
middleman-cli (~> 4.0)
110110
middleman-core (~> 4.0)
111-
middleman-search_engine_sitemap (1.4.0)
112-
builder
113-
middleman-core (~> 4.0)
114111
mini_portile2 (2.8.7)
115112
minitest (5.25.1)
116113
mutex_m (0.2.0)
@@ -159,6 +156,7 @@ PLATFORMS
159156
DEPENDENCIES
160157
base64
161158
bigdecimal
159+
builder
162160
csv
163161
middleman (~> 4.5)
164162
middleman-favicon-maker
@@ -167,7 +165,6 @@ DEPENDENCIES
167165
middleman-livereload
168166
middleman-minify-html
169167
middleman-robots
170-
middleman-search_engine_sitemap
171168
middleman-tailwind!
172169
mutex_m
173170
slim (~> 4.0)

config.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
activate :favicon_maker, icons: generate_favicons_hash
3030
activate :gzip
3131
activate :minify_html
32-
activate :search_engine_sitemap
3332
activate :relative_assets
3433
activate :robots,
3534
rules: [{ user_agent: '*', allow: %w[/] }],

source/sitemap.xml.builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
xml.instruct! :xml, version: "1.0", encoding: "UTF-8"
1+
xml.instruct!
22
xml.urlset("xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9", "xmlns:xhtml" => "http://www.w3.org/1999/xhtml") do
33
xml.url do
44
xml.loc "https://csa-admin.org"

0 commit comments

Comments
 (0)