This commit is contained in:
hyzen
2026-06-20 12:10:27 +05:30
parent a29cb0e570
commit 8489df8c73
10 changed files with 69 additions and 124 deletions

View File

@@ -19,9 +19,15 @@ $subjectcode = $subjectcodeRaw }} {{ end }}
<div class="uninotes-meta">
{{ with $semester }}<span class="uninotes-meta__pill">{{ . }}</span>{{ end }} {{ with
$subjectcode }}<span class="uninotes-meta__pill">{{ . }}</span>{{ end }} {{ with
$subjectcode }}<span class="uninotes-meta__pill">{{ . }}</span>{{ end }} {{ if
.Params.notecategory }}
<span class="uninotes-meta__pill uninotes-meta__pill--{{ . | lower }}">{{ . }}</span>
<span class="uninotes-meta__pill uninotes-meta__pill--{{ .Params.notecategory | lower }}"
>{{ .Params.notecategory }}</span
>
{{ else if .Params.unit }}
<span class="uninotes-meta__pill uninotes-meta__pill--{{ .Params.unit | lower }}"
>{{ .Params.unit }}</span
>
{{ end }}
</div>