Skip to content

Commit

Permalink
Typo in dashboards layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziip-dev committed Jul 3, 2024
1 parent adb9a56 commit 2a3dbfb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions layouts/partials/dashboards.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $displayed_in_homepage := .IsHome }}
{{ $dashboards_to_show := slice }}

{{/* Compile list of highlight to show depending upon the page */}}
{{/* Compile list of dashboards to show depending upon the page */}}
{{ if eq $currentPage.File "dashboards" }}
{{ $dashboards_to_show = $dashboards_to_show | append (where $dashboards "Identifier" "ne" "all_dashboards") }}
{{ else if $displayed_in_homepage }}
Expand Down Expand Up @@ -34,11 +34,14 @@
<div class="p-2 bg-dashboard-title">
<h6><a href="{{ .Page.RelPermalink }}">{{ .Name }}</a></h6>
</div>
<!-- <div class="mt-2"> -->
<!-- <small>{{% serology_date_modified %}}</small> -->
<!-- </div> -->
<div class="p-2">
{{ .Page.Description }}
</div>
{{ if not $displayed_in_homepage }}
<div class="px-2 pb-3">
<div class="px-2 pb-3">
{{ range (.Page.GetTerms "dashboards_topics") }}
<span class="topic_badge_small"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></span>
{{ end }}
Expand Down

0 comments on commit 2a3dbfb

Please sign in to comment.