Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add badges #324

Merged
merged 1 commit into from
Feb 28, 2025
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
3 changes: 2 additions & 1 deletion site/layouts/categories/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<div class="sectioncards p-2 flex-fill flex-grow-1 h-100">
<div class="card sectioncards flex-fill flex-grow-1 m-3 shadow text-start small border-0 h-100 position-relative">
<div class="card-body p-4 px-20">
<span class="badge text-bg-secondary">{{- title $pageWithData.page.Params.ResourceType }}</span>
<h3 class="ttl-nkdagility h5 text-start" title="{{ $title }}">{{- $title }}</h3>
<div class="card-text text-muted">
{{- $description | markdownify }}
Expand Down Expand Up @@ -75,5 +76,5 @@ <h3 class="ttl-nkdagility h5 text-start" title="{{ $title }}">{{- $title }}</h3>
{{- end }}

{{- define "template" }}
tags/list.html
categories/list.html
{{- end }}
1 change: 1 addition & 0 deletions site/layouts/tags/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<div class="sectioncards p-2 flex-fill flex-grow-1 h-100">
<div class="card sectioncards flex-fill flex-grow-1 m-3 shadow text-start small border-0 h-100 position-relative">
<div class="card-body p-4 px-20">
<span class="badge text-bg-secondary">{{- title $pageWithData.page.Params.ResourceType }}</span>
<h3 class="ttl-nkdagility h5 text-start" title="{{ $title }}">{{- $title }}</h3>
<div class="card-text text-muted">
{{- $description | markdownify }}
Expand Down
Loading