Sha256: 51b627dafa354ade219daf653ff3b45b9bb2f47458d9f7ed3d1b42cada4b65c3

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

<% content_for :title, Write.title + " - " + @post.description %>

<%= stylesheet_link_tag "write/application", :media => "all" %>

<%= content_tag :div, link_to(Write.tagline, root_path), class: "blog-title" %>

<div id="post-view" data-comments-url="<%= @post.comments_url %>">
  <%= content_tag :div, @post.description, class: "post-title" %>
  <%= content_tag :div, timestamp_display(@post), class: "post-time" %>

  <%= content_tag :div, Write::MD.render(@post.content).html_safe, class: "post-content" %>

  <%= content_tag :div, :class => "post-footer" do %>
    <%= share_links(@post.description) %>
    <%= content_tag :div, link_to("Write a comment (requires a github account)", @post.html_url, :class => "btn"), class: "github-link" %>
  <% end %>

  <div id="comments"></div>
</div>

<%= javascript_include_tag "write/application" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
write-0.2.1 app/views/write/posts/show.html.erb