Sha256: 70d6746f6f736506b74f5988ba102c83b2ba4c92e619c78bb79a81b612f5e048

Contents?: true

Size: 1.37 KB

Versions: 8

Compression:

Stored size: 1.37 KB

Contents

<div class="notee_main">
  <h2><%= @notee_title %></h2>
  <% @posts.each do |post| %>
      <div class="notee_list">

        <!-- title -->
        <a href="/<%= post.slug %>">
          <h3><%= post.title %></h3>
        </a>

        <div class="notee_list_meta">
          <!-- publish-->
          <span class="notee_list_meta_content">
            <%= post.published_at.strftime("%Y/%m/%d") %>,
          </span>

          <!-- writer -->
          <span class="notee_list_meta_content">
            writer: <a href="/writers/<%= post.user.name %>"><%= post.user.name %></a>
          </span>
        </div>

        <div class="notee_list_content">
          <!--thumbnail-->
          <a href="/<%= post.slug %>">
            <img src="/notee/<%= post.thumbnail.content %>">
          </a>

          <!-- content -->
          <div class="notee_list_content_p">
            <a href="/<%= post.slug %>">
              <p><%= post.seo_description %></p>
            </a>
          </div>
        </div>

        <div class="notee_list_meta">
          <!-- category -->
          <span class="notee_list_meta_content">
              category:
              <span class="notee_list_meta_content notee_list_category">
                <a href="/categories/<%= post.category.slug %>"><%= post.category.name %></a>
              </span>
          </span>
        </div>
      </div>
  <% end %>
</div>


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
notee-1.1.2.4 lib/tasks/views/notee/posts.html.erb
notee-1.1.2.3 lib/tasks/views/notee/posts.html.erb
notee-1.1.2.2 lib/tasks/views/notee/posts.html.erb
notee-1.1.2.1 lib/tasks/views/notee/posts.html.erb
notee-1.1.2 lib/tasks/views/notee/posts.html.erb
notee-1.1.1 lib/tasks/views/notee/posts.html.erb
notee-1.1.0 lib/tasks/views/notee/posts.html.erb
notee-1.0.8 lib/tasks/views/notee/posts.html.erb