Sha256: 19335fba87e2612e4a517256ccbc1582aa8ebe602f703f2f54ccf4782a14423d
Contents?: true
Size: 556 Bytes
Versions: 9
Compression:
Stored size: 556 Bytes
Contents
module Trestle module Auth module TitleHelper def trestle_auth_title if Trestle.config.auth.logo image_tag(Trestle.config.auth.logo) elsif Trestle.config.site_logo image_tag(Trestle.config.site_logo) elsif Trestle.config.site_logo_small safe_join([ image_tag(Trestle.config.site_logo_small, alt: "", class: ""), content_tag(:span, Trestle.config.site_title) ], "\n") else Trestle.config.site_title end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems