aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tag.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tag.html.erb')
-rw-r--r--templates/tag.html.erb59
1 files changed, 0 insertions, 59 deletions
diff --git a/templates/tag.html.erb b/templates/tag.html.erb
deleted file mode 100644
index c92c0ca..0000000
--- a/templates/tag.html.erb
+++ /dev/null
@@ -1,59 +0,0 @@
-<% _stylesheets = stylesheets %>
-<% _author = author %>
-<% _description = description %>
-<% _lang = lang %>
-<% _site_copyright_year = site_copyright_year %>
-<% _copyright_year = copyright_year %>
-<% _site_name = site_name %>
-<% _doctitle = tag.label %>
-<% _header_title = tag.label %>
-<% _posts = posts %>
-<!DOCTYPE html>
-<html lang="<%= _lang %>">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="author" content="<%= _author %>">
- <meta name="copyright" content="&copy; <%= _copyright_year %> <%= _author %>">
- <meta name="description" content="<%= _description %>">
- <link rel="icon" type="image/svg+xml" href="/favicon.svg">
- <title><%= _doctitle %> | <%= _site_name %></title>
- <% for stylesheet in _stylesheets %>
- <link rel="stylesheet" href="<%= stylesheet %>">
- <% end %>
- </head>
- <body class="list">
- <header class="header">
- <nav class="nav">
- <p class="logo">
- <a href="/">REPL: Rest-Eat-Program Loop</a>
- </p>
- </nav>
- </header>
- <main class="main">
- <header class="page-header">
- <h1><%= _header_title %></h1>
- </header>
- <% for post in _posts %>
- <article class="post-entry">
- <a href="<%= post.attributes['href'] %>">
- <header class="entry-header">
- <h2><%= post.doctitle %></h2>
- </header>
- <section class="entry-content">
- <p>
- <%= post.attributes['description'] %>
- </p>
- </section>
- <footer class="entry-footer">
- Posted on <time datetime="<%= post.attributes['revision-history'].first.date %>"><%= post.attributes['revision-history'].first.date %></time><% if post.attributes['revision-history'].length > 1 %>, updated on <time datetime="<%= post.attributes['revision-history'].last.date %>"><%= post.attributes['revision-history'].last.date %></time><% end %>
- </footer>
- </a>
- </article>
- <% end %>
- </main>
- <footer class="footer">
- &copy; <%= _site_copyright_year %> <%= _author %>
- </footer>
- </body>
-</html>