Sha256: f959f89be6ccc2166e48c2a21b27f172ecf9ae80bd233e0c81e5e85cfa5a6d8d
Contents?: true
Size: 743 Bytes
Versions: 4
Compression:
Stored size: 743 Bytes
Contents
<article class="js-autolink"> <h1><%= @article.metadata.title %></h1> <p class="last-updated"> <span class="icon-clock"></span> Last updated <%= Date.today.strftime("%d %B %Y") %> (Local preview) </p> <% if !@article.html.to_s.empty? %> <div id="table-of-contents"> <h3> <span class="icon-list"></span> Table of Contents </h3> <ul> <% @article.toc.each do |section| %> <li><a href="#<%= section.attr('id') %>"><%= section.inner_text %></a></li> <% end %> </ul> </div> <%= @article.html %> <% elsif @article.parsing_error %> <div class="warning"> <p> Parsing error: <%= @article.parsing_error %> </p> </div> <% end %> </article>
Version data entries
4 entries across 4 versions & 1 rubygems