summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-29 09:37:08 +0800
committerDoge <[email protected]>2021-05-29 09:37:08 +0800
commitf15a0c0380ce2c490929b261b4d4674aa280e947 (patch)
tree07f6ce006b219cc9f8d815659e277aa03357942c /layout
parent83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e (diff)
downloadchromate-f15a0c0380ce2c490929b261b4d4674aa280e947.tar.gz
chromate-f15a0c0380ce2c490929b261b4d4674aa280e947.tar.bz2
chromate-f15a0c0380ce2c490929b261b4d4674aa280e947.zip
Fix invalid copyright info in RSS and desc
Diffstat (limited to 'layout')
-rw-r--r--layout/archive.ejs44
1 files changed, 24 insertions, 20 deletions
diff --git a/layout/archive.ejs b/layout/archive.ejs
index a15573f..620feb2 100644
--- a/layout/archive.ejs
+++ b/layout/archive.ejs
@@ -1,21 +1,25 @@
-<div class="archive">
- <% let lastyear = 0; let lastmonth = -1; %>
- <aside class="menu">
- <% site.posts.sort('date', -1).each(function(post) { %>
- <% let year = post.date.year(); let month = post.date.month(); %>
- <% if (lastyear !== year || lastmonth !== month) { %>
- <% if (lastyear !== 0 || lastmonth !== -1){ %>
- </ul>
- <% } %>
- <p class="menu-label"><%- date(post.date, "YYYY.MMM"); %></p>
- <ul class="menu-list">
- <% lastyear = year; lastmonth = month; %>
- <% } %>
- <li>
- <a class="title" href="<%- url_for(post.path) %>">
- <%= post.title %>
- </a>
- </li>
- <% }) %>
- </aside>
+<div class="columns">
+ <div class="column is-8 is-offset-2">
+ <div class="archive">
+ <% let lastyear = 0; let lastmonth = -1; %>
+ <aside class="menu">
+ <% site.posts.sort('date', -1).each(function(post) { %>
+ <% let year = post.date.year(); let month = post.date.month(); %>
+ <% if (lastyear !== year || lastmonth !== month) { %>
+ <% if (lastyear !== 0 || lastmonth !== -1){ %>
+ </ul>
+ <% } %>
+ <p class="menu-label"><%- date(post.date, "YYYY.MMM"); %></p>
+ <ul class="menu-list">
+ <% lastyear = year; lastmonth = month; %>
+ <% } %>
+ <li>
+ <a class="title" href="<%- url_for(post.path) %>">
+ <%= post.title %>
+ </a>
+ </li>
+ <% }) %>
+ </aside>
+ </div>
+ </div>
</div> \ No newline at end of file