Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions secondary-navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ kafka:
- title: Docs
path: https://documentation.ubuntu.com/charmed-kafka/3

ceph:
title: Ceph
path: /ceph

children:
- title: Support
path: /ceph/support

legal:
title: Legal
path: /legal
Expand Down
35 changes: 35 additions & 0 deletions templates/ceph/_blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<section class="p-section--deep">
<div class="u-fixed-width">
<hr class="p-rule" />
<h2 class="p-muted-heading">Latest blogs about Ceph</h2>
</div>
<div class="grid-row" id="ceph-latest"></div>

<template id="ceph-latest-template">
<div class="grid-col-2 grid-col-medium-2 u-equal-height-items">
<div class="p-section--shallow">
<div class="u-crop--16-9">
<div class="article-image p-image-wrapper"></div>
</div>
<h3 class="p-heading--5">
<a class="article-link article-title"></a>
</h3>
<p class="article-excerpt"></p>
</div>
</div>
</template>
</section>

<script src="{{ versioned_static('js/modules/latest-news/latest-news.js') }}"></script>
{# djlint:off #}
<script>
canonicalLatestNews.fetchLatestNews({
articlesContainerSelector: "#ceph-latest",
articleTemplateSelector: "#ceph-latest-template",
excerptLength: 180,
tagId: 1780,
linkImage: true,
limit: 4
});
</script>
{# djlint:on #}
Loading
Loading