Sha256: 744a2bd03c9bc5eab28470d9ce172839c1108bb37638ec4ac912376914652ba0

Contents?: true

Size: 1.4 KB

Versions: 5

Compression:

Stored size: 1.4 KB

Contents

<html>
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="main.css">

    <title>Mako for <%= today %></title>
  </head>
  <body>
    <header id="banner">
      <h1 class="banner-text">Mako 🥛 </h1>
      <h4 class="banner-text"><%= today %></h4>
    </header>

    <nav id="quick-nav">
      <%= quick_nav(feeds) %>
    </nav>

    <section id="feed-container">
      <% feeds.select { |f| f.articles.size.positive? }.each_with_index do |feed, index| %> 
        <section>
          <header class="article-header">
            <h1><a href="<%= feed.url %>" id=<%= "feed-#{index}" %>><%= h(feed.title) %></a></h1>
          </header>
          <% feed.articles_desc.each do |article| %>
            <article>
              <h3><a href="<%= article.url %>"><%= h(article.title) %></a></h3>
              <p class="meta"><%= article.formatted_published %></p>
              <%= article.summary %>
              <p class="back-to-top"><a href="#banner">Back to Top</a></p>
            </article>
            <hr />
          <% end %>
        </section>
      <% end %>
    </section>

    <footer id="footer">
      <p class="meta">Last updated: <%= last_updated %></p>

      <a class="meta" href="https://github.com/jonathanpike/mako">About</a>
    </footer>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mako_rss-0.2.3 lib/templates/themes/simple.html.erb
mako_rss-0.2.2 lib/templates/themes/simple.html.erb
mako_rss-0.2.1 lib/templates/themes/simple.html.erb
mako_rss-0.2.0 lib/templates/themes/simple.html.erb
mako_rss-0.1.0 lib/templates/themes/simple.html.erb