Sha256: 2336e5f1f650da5c27c4d938f5bad317001cd9e7cd34feed076ec6812cff2f4d
Contents?: true
Size: 402 Bytes
Versions: 58
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true module Spotlight ## # Helper module for content in mastheads module MastheadHelper def masthead_heading_content return current_exhibit.title if current_exhibit application_name end def masthead_subheading_content return current_exhibit&.subtitle&.presence if current_exhibit current_site&.subtitle&.presence end end end
Version data entries
58 entries across 58 versions & 1 rubygems