diff --git a/docs/Gemfile b/docs/Gemfile index d7bf787..ca480e5 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -26,6 +26,7 @@ git_source(:codeberg) { "https://codeberg.org/#{_1}.git" } # If you need to upgrade/switch Bridgetown versions, change the line below # and then run `bundle update bridgetown` gem "bridgetown", "~> 2.1.2" +gem "bridgetown-stoa" # Uncomment to add file-based dynamic routing to your project: # gem "bridgetown-routes", "~> 2.1.2" diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 3f5e5f0..bd5288d 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -49,8 +49,10 @@ GEM zeitwerk (~> 2.5) bridgetown-paginate (2.1.2) bridgetown-core (= 2.1.2) + bridgetown-stoa (0.0.2) + bridgetown (~> 2.0) concurrent-ruby (1.3.6) - console (1.34.3) + console (1.35.1) fiber-annotation fiber-local (~> 1.1) json @@ -59,13 +61,13 @@ GEM dry-inflector (1.3.1) erb (6.0.4) erubi (1.13.1) - faraday (2.14.1) + faraday (2.14.2) faraday-net_http (>= 2.0, < 3.5) json logger faraday-follow_redirects (0.5.0) faraday (>= 1, < 3) - faraday-net_http (3.4.2) + faraday-net_http (3.4.3) net-http (~> 0.5) ffi (1.17.4) ffi (1.17.4-aarch64-linux-gnu) @@ -93,7 +95,7 @@ GEM prism (>= 1.3.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.19.4) + json (2.19.5) kramdown (2.5.2) rexml (>= 3.4.4) kramdown-parser-gfm (1.1.0) @@ -132,7 +134,7 @@ GEM reline (0.6.3) io-console (~> 0.5) rexml (3.4.4) - roda (3.103.0) + roda (3.104.0) rack rouge (4.7.0) samovar (2.4.1) @@ -151,7 +153,7 @@ GEM tilt (2.7.0) tsort (0.2.0) uri (1.1.1) - zeitwerk (2.7.5) + zeitwerk (2.8.1) PLATFORMS aarch64-linux-gnu @@ -168,6 +170,7 @@ PLATFORMS DEPENDENCIES bridgetown (~> 2.1.2) + bridgetown-stoa puma (< 8) BUNDLED WITH diff --git a/docs/config/initializers.rb b/docs/config/initializers.rb index 1e7f6de..07072ad 100644 --- a/docs/config/initializers.rb +++ b/docs/config/initializers.rb @@ -21,6 +21,8 @@ # Available options are `erb` (default), `serbea`, or `liquid` template_engine "erb" + init :"bridgetown-stoa" + # Other options you might want to investigate: # See list of timezone values here: diff --git a/docs/src/404.html b/docs/src/404.html index d92829a..d99497f 100644 --- a/docs/src/404.html +++ b/docs/src/404.html @@ -1,6 +1,6 @@ --- permalink: /404.html -layout: default +layout: bridgetown-stoa/layout ---

404

diff --git a/docs/src/500.html b/docs/src/500.html index 9297771..ae70d39 100644 --- a/docs/src/500.html +++ b/docs/src/500.html @@ -1,6 +1,6 @@ --- permalink: /500.html -layout: default +layout: bridgetown-stoa/layout ---

500

diff --git a/docs/src/_layouts/page.erb b/docs/src/_layouts/page.erb index aa8e166..0fd210c 100644 --- a/docs/src/_layouts/page.erb +++ b/docs/src/_layouts/page.erb @@ -1,5 +1,5 @@ --- -layout: default +layout: bridgetown-stoa/layout ---

<%= data.title %>

diff --git a/docs/src/_layouts/post.erb b/docs/src/_layouts/post.erb index aa8e166..0fd210c 100644 --- a/docs/src/_layouts/post.erb +++ b/docs/src/_layouts/post.erb @@ -1,5 +1,5 @@ --- -layout: default +layout: bridgetown-stoa/layout ---

<%= data.title %>

diff --git a/docs/src/index.md b/docs/src/index.md index 2b3cc7f..46fc21b 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,7 +1,7 @@ --- # Feel free to add content and custom Front Matter to this file. -layout: default +layout: bridgetown-stoa/layout --- # Welcome to your new Bridgetown website.