aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-03-09 18:34:21 +0100
committerMax Magorsch <arzano@gentoo.org>2020-03-09 18:34:21 +0100
commitc80c0a2182c5c1b1e9986acb75430e2d53f997ff (patch)
treec50939b6f9f53d3296e19c1c0164fe82c3723ed3 /tyrian.html.erb
parentFix the atom feeds so that they are valid (diff)
downloadplanet-tyrian-c80c0a2182c5c1b1e9986acb75430e2d53f997ff.tar.gz
planet-tyrian-c80c0a2182c5c1b1e9986acb75430e2d53f997ff.tar.bz2
planet-tyrian-c80c0a2182c5c1b1e9986acb75430e2d53f997ff.zip
Correctly display universe feeds of gentoo devs
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'tyrian.html.erb')
-rw-r--r--tyrian.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/tyrian.html.erb b/tyrian.html.erb
index 90c0fce..8be15a5 100644
--- a/tyrian.html.erb
+++ b/tyrian.html.erb
@@ -134,6 +134,7 @@
ItemCursor.new(items).each do |item, new_date, new_feed|
%>
+ <% if item.feed.location == "planet" %>
<% if new_date %>
<div class="page-header article-view mt-5" data-date="<%= item.published.strftime('%Y-%m-%d') %>" data-location="<%= item.feed.location %>" style="border-bottom: none!important;padding-bottom: 0px!important;">
<h1><%= item.published.strftime('%B %d') %>
@@ -152,7 +153,7 @@
</div>
<div class="mb-1 text-muted" style="">
<span style="margin-right:2px;">
- <%= item.feed.title %> (<%= item.feed.key %>)
+ <%= item.feed.author %> (<%= item.feed.title %>)
</span>
<span style="">•</span>
<span style="font-weight: normal;margin-left:2px;">
@@ -176,7 +177,7 @@
</div>
<div class="row">
- <div class="col-sm-11">
+ <div class="col-sm-12">
<div class="card article-view mt-2" data-date="<%= item.published.strftime('%Y-%m-%d') %>" data-location="<%= item.feed.location %>" style="margin-top:20px;">
<div class="card-body px-5">
<div class="row mb-3 mt-3">
@@ -234,6 +235,7 @@
</div>
<% end %><!-- each item -->
+ <% end %><!-- each item -->
</div>