* Migrate to esbuild WIP * Add exclude * Remove redundant file * Move file * Move to javascript_include_tag * Lint fix * WIP * WIP * Add watch mode to esbuild WIP * Get jest working * Remove babel * Revert "Remove babel" This reverts commit 6da35260aa19d6f97f586deb66c0ecaf48433b73. * More WIP * Got image to load * WIP * Resolve audit * Lint fix * WIP * Fix jest spec * [CI] Remove asset-restore for test build stage * Production compliant * Temp disable sourcemap * Update glob * Add esbuild helper to stimulus * Import fragment * Temp disable coverage to see failing tests * Fix broken spec * Address lint * Set proper es6 target * Use esbuild for everything * wait what * Revert "Set proper es6 target" This reverts commit 98f5278093421baa8ffe2ca580845b01c1a1eadf. * Revert "Use esbuild for everything" This reverts commit 0ac46738f07ffcb6af095ccb1ffa5e439b7fefa3. * Replace uglifier with terser * New compiled assets version * Remvoe honeybadger-io/webpack * Remove cypress coverage checks for now * Update jsconfig.json * Update docker-compose * Remove public/packs-test from ci cache
26 lines
1.1 KiB
Text
26 lines
1.1 KiB
Text
<% title_string = t("views.series.list.heading", series: @collection.slug) %>
|
|
<% description_string = t("views.series.meta.description", title: title_string, site: community_name) %>
|
|
|
|
<%= content_for :page_meta do %>
|
|
<%= render "collections/meta", title_string: title_string, description_string: description_string, path: @collection.path %>
|
|
<% end %>
|
|
|
|
<main id="main-content" class="crayons-layout">
|
|
<header class="px-2 m:px-0">
|
|
<h1><%= title_string %></h1>
|
|
<%= link_to t("views.series.list.back", user: @user.name), user_series_path(@user.username) %>
|
|
</header>
|
|
|
|
<div class="articles-list" id="articles-list">
|
|
<div class="substories" id="substories">
|
|
<% if @articles.present? %>
|
|
<% @articles.each do |article| %>
|
|
<%= render "articles/single_story", story: article.decorate, featured: article.main_image.present? %>
|
|
<% end %>
|
|
<%= javascript_include_tag "followButtons", "feedPreviewCards", "hideBookmarkButtons", "localizeArticleDates", defer: true %>
|
|
<% else %>
|
|
<p><%= t("views.series.list.empty") %></p>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</main>
|