Skip to content

Commit

Permalink
add header to asana lexicon front (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 19, 2020
1 parent 0dde0fb commit a7b9c44
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/views/pages/asana_lexicon.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
- set_title(@html_title)

%h1.title
= t('navigation.asana-lexicon')
- header_image_setting = SiteSettings.fetch('asana_lexicon_header_image')

- content_for(:hero_head) do
= render partial: 'shared/hero_head_image_title',
locals: { image_url: header_image_variant_url(header_image_setting&.image),
title: t('navigation.asana-lexicon'),
image_edit_url: edit_admin_site_setting_path(header_image_setting) }

.container
.content.is-medium
Expand Down

0 comments on commit a7b9c44

Please sign in to comment.