Skip to content

Commit

Permalink
expanding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-a-krol committed Aug 13, 2024
1 parent 8d7c41d commit 5107ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/learning-path/unique.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ <h3 class="text-3xl font-semibold leading-9 text-gray-900 group-hover:text-gray-
<p class="mt-3 flex items-center justify-between">
<span class="relative z-10 rounded-full border-2 border-solid border-green-200 bg-green-50 px-3 py-0.5 text-sm font-medium text-green-700">{{ len (where .RegularPagesRecursive ".Params.style" "eq" "module") }} {{ i18n "key.modules" }}</span>
<span class="text-sm font-semibold text-gray-700">
{{ $totalReadingTime := 0 }}
<!-- {{ $totalReadingTime := 0 }}
{{ range .RegularPagesRecursive }}
{{ $totalReadingTime = add $totalReadingTime .ReadingTime }}
{{ end }}
<!-- {{ i18n "key.eta" }}: {{ printf "%d" $totalReadingTime }} {{ i18n "key.minutes" }} -->
{{ i18n "key.eta" }}: {{ printf "%d" $totalReadingTime }} {{ i18n "key.minutes" }} -->
</span>
</p>
<p class="mt-2 text-sm leading-6 text-gray-600">{{
Expand Down

0 comments on commit 5107ced

Please sign in to comment.