Sha256: a424591739651e4302609fbc9576e868e2e422373b446489680771cebfe295cb
Contents?: true
Size: 507 Bytes
Versions: 9
Compression:
Stored size: 507 Bytes
Contents
module Georgia module MetaTagsHelper def meta_title title site_title = "" site_title << "#{title} | " unless title.blank? site_title << Georgia.title content_tag :title, site_title end def meta_description description return unless description.present? tag :meta, name: 'description', content: description end def meta_keywords keywords return unless keywords.present? tag :meta, name: 'keywords', content: keywords end end end
Version data entries
9 entries across 9 versions & 1 rubygems