Sha256: fb907e8463fe06c41d1c10de492b5ea74415b1829d458596610e155437238585
Contents?: true
Size: 552 Bytes
Versions: 12
Compression:
Stored size: 552 Bytes
Contents
module Blogelator module PostsHelper include LocalTimeHelper def body_class @body_class ||= "default" body_class = "blogelator" body_class += " " + controller.controller_name body_class += " " + controller.action_name body_class += " " + @body_class body_class end def page_title page = @title if page "#{page} • #{site_title}" else site_title end end def site_title Blogelator.site_name || "Blogelator" end end end
Version data entries
12 entries across 12 versions & 1 rubygems