this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

2026 sec on index

+18 -2
+18 -2
app/views/articles/index.html.erb
··· 44 44 45 45 <p><%= link_to "tags", tags_path %> | <a href="https://subscribeopenly.net/subscribe/?url=https://bubblegum.girlonthemoon.xyz/articles.xml">feed</a> | <a href="https://bytes.4-walls.net/kat/bubblegum">source</a> | <%= Article.public_count %> total posts </p> 46 46 47 + <h4>2026</h4> 48 + 49 + <dl class="h-feed hfeed"> 50 + <% Article.where(created_at: Date.parse("2026-01-01")..Date.parse("2026-12-31")).reverse.each do |article| %> 51 + <% unless article.archived? %> 52 + <dt> 53 + <time <%= tag.attributes datetime: article.created_at.strftime('%Y-%m-%d') %> ><%= article.created_at.strftime('%Y %b %d') %></time> 54 + </dt> 55 + <dd class="h-entry"> 56 + <%= link_to article.title, article, class: "u-url p-name" %> 57 + </dd> 58 + 59 + <% end %> 60 + <% end %> 61 + </dl> 62 + 47 63 <h4>2025</h4> 48 64 49 65 <dl class="h-feed hfeed"> 50 66 <% Article.where(created_at: Date.parse("2025-01-01")..Date.parse("2025-12-31")).reverse.each do |article| %> 51 67 <% unless article.archived? %> 52 68 <dt> 53 - <time <%= tag.attributes datetime: article.created_at.strftime('%Y-%m-%d') %> ><%= article.created_at.strftime('%Y %b %d') %></time> 69 + <time <%= tag.attributes datetime: article.created_at.strftime('%Y-%m-%d') %> ><%= article.created_at.strftime('%Y %b %d') %></time> 54 70 </dt> 55 71 <dd class="h-entry"> 56 72 <%= link_to article.title, article, class: "u-url p-name" %> ··· 66 82 <% Article.where(created_at: Date.parse("2024-01-01")..Date.parse("2024-12-31")).reverse.each do |article| %> 67 83 <% unless article.archived? %> 68 84 <dt> 69 - <time <%= tag.attributes datetime: article.created_at.strftime('%Y-%m-%d') %> ><%= article.created_at.strftime('%Y %b %d') %></time> 85 + <time <%= tag.attributes datetime: article.created_at.strftime('%Y-%m-%d') %> ><%= article.created_at.strftime('%Y %b %d') %></time> 70 86 </dt> 71 87 <dd class="h-entry"> 72 88 <%= link_to article.title, article, class: "u-url p-name" %>