Sha256: e7789df377b96816206f4ea1f9107b45d09f7c8c9ecb1f60fc79d228032aa1ea
Contents?: true
Size: 1.07 KB
Versions: 7
Compression:
Stored size: 1.07 KB
Contents
/ Page Header / Set your background image for this header on the line below. -#%header.intro-header{:style => "background-image: url('img/post-bg.jpg')"} %header.intro-header{:style => "background:#333"} .container .row .col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1 .post-heading %h1= @node.title %h2.subheading= @node.description - if @node.type == 'Theblog::Post' %span.meta = t('content_node.posted_by') = @node.author.try(:user_name) || "anonymous" on = @node.created_at.strftime('%d.%m.%Y') / Post Content %article .container .row .col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1 %p= raw(@node.body) - if @node.is_a? Theblog::Category %h2.section-heading = t('content_node.posts') %ul.posts - @posts.each do |child| %li= link_to_content_node(child) = paginate @posts - if @node.is_a? Theblog::Post = render 'theblog/comments/block', node: @node
Version data entries
7 entries across 4 versions & 1 rubygems