From 14732fcdec75a54cfacaf05f36f3c558afe09d5a Mon Sep 17 00:00:00 2001 From: nnunn Date: Wed, 3 Apr 2019 14:16:47 -0600 Subject: [PATCH] giving page layout --- app/assets/stylesheets/giving.scss | 0 app/views/layouts/giving.html.erb | 33 ++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 app/assets/stylesheets/giving.scss create mode 100644 app/views/layouts/giving.html.erb diff --git a/app/assets/stylesheets/giving.scss b/app/assets/stylesheets/giving.scss new file mode 100644 index 00000000..e69de29b diff --git a/app/views/layouts/giving.html.erb b/app/views/layouts/giving.html.erb new file mode 100644 index 00000000..6881d781 --- /dev/null +++ b/app/views/layouts/giving.html.erb @@ -0,0 +1,33 @@ + + + + + + + + + + + <%= stylesheet_link_tag comfy_cms_render_css_path(@cms_site.id, @cms_layout.identifier) %> + + + <% if content_for(:title) %> + <%= yield(:title) %> - UofA Libraries + <% elsif @cms_page %> + <%= @cms_page.label %> - UofA Libraries + <% else %> + University of Alberta Libraries + <% end %> + + + + + <%= yield %> + + + + + + + +