Skip to content

Commit

Permalink
Transform distro data into introductions and steps
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Dec 17, 2023
1 parent 1180707 commit 2b9e0ef
Show file tree
Hide file tree
Showing 3 changed files with 412 additions and 633 deletions.
2 changes: 1 addition & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# which_fake_page: "Rendering a fake page with a local variable" }

data.distro.each do |i|
proxy "/setup/#{i.slug ? i.slug : i.name}.html", "/distro-template.html", :locals => { :name => i.name, :logo => i.logo, :info => i.info, :slug => i.slug }, :ignore => true
proxy "/setup/#{i.slug ? i.slug : i.name}.html", "/distro-template.html", :locals => { :name => i.name, :logo => i.logo, :introduction => i.introduction, :steps => i.steps, :slug => i.slug }, :ignore => true
end

# General configuration
Expand Down
Loading

0 comments on commit 2b9e0ef

Please sign in to comment.