Compare commits

..

No commits in common. "2cfcfaf69dbd8f5a01347660c28960aa3a7e942f" and "cf6921329dc4368abb33d487cb7c2e3ac234113a" have entirely different histories.

8 changed files with 6 additions and 8 deletions

View file

@ -1,4 +0,0 @@
class AboutController < ApplicationController
def terms
end
end

View file

@ -0,0 +1,2 @@
class StaticController < ApplicationController
end

View file

@ -13,7 +13,7 @@
%link{href: image_path('favicon.png'), rel: 'icon'} %link{href: image_path('favicon.png'), rel: 'icon'}
= yield :stylesheets = yield :stylesheets
= stylesheet_link_tag "application" = stylesheet_link_tag "application"
= render 'analytics' = render 'static/analytics'
= yield :meta = yield :meta
= open_graph_tags = open_graph_tags
= csrf_meta_tag = csrf_meta_tag
@ -24,7 +24,7 @@
%body{:class => body_class} %body{:class => body_class}
#container #container
= yield :before_title = yield :before_title
= render 'announcement' = render 'static/announcement'
- if content_for?(:title) && show_title_header? - if content_for?(:title) && show_title_header?
%h1#title= yield :title %h1#title= yield :title
= yield :before_flashes = yield :before_flashes

View file

@ -17,7 +17,7 @@
%link{href: image_path('favicon.png'), rel: 'icon'} %link{href: image_path('favicon.png'), rel: 'icon'}
= stylesheet_link_tag 'fonts' = stylesheet_link_tag 'fonts'
= javascript_include_tag 'wardrobe-2020-page', defer: true = javascript_include_tag 'wardrobe-2020-page', defer: true
= render 'analytics' = render 'static/analytics'
= open_graph_tags = open_graph_tags
= csrf_meta_tags = csrf_meta_tags
= impress_2020_meta_tags = impress_2020_meta_tags

View file

@ -87,7 +87,7 @@ OpenneoImpressItems::Application.routes.draw do
get '/donate' => 'fundraising/campaigns#current', as: :donate get '/donate' => 'fundraising/campaigns#current', as: :donate
# Static pages! # Static pages!
get '/terms', to: "about#terms", as: :terms get '/terms', to: "static#terms", as: :terms
# Other useful lil things! # Other useful lil things!
get '/sitemap.xml' => 'sitemap#index', :as => :sitemap, :format => :xml get '/sitemap.xml' => 'sitemap#index', :as => :sitemap, :format => :xml