Compare commits
2 commits
cf6921329d
...
2cfcfaf69d
| Author | SHA1 | Date | |
|---|---|---|---|
| 2cfcfaf69d | |||
| 9aef987f95 |
8 changed files with 8 additions and 6 deletions
4
app/controllers/about_controller.rb
Normal file
4
app/controllers/about_controller.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
class AboutController < ApplicationController
|
||||||
|
def terms
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
class StaticController < ApplicationController
|
|
||||||
end
|
|
||||||
|
|
@ -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 'static/analytics'
|
= render '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 'static/announcement'
|
= render '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
|
||||||
|
|
|
||||||
|
|
@ -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 'static/analytics'
|
= render 'analytics'
|
||||||
= open_graph_tags
|
= open_graph_tags
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= impress_2020_meta_tags
|
= impress_2020_meta_tags
|
||||||
|
|
|
||||||
|
|
@ -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: "static#terms", as: :terms
|
get '/terms', to: "about#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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue