Skip to content

Commit

Permalink
list.html: fix FCSC titles
Browse files Browse the repository at this point in the history
  • Loading branch information
aiooss-anssi committed Oct 16, 2024
1 parent 6cf7979 commit 925c13a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/ -}}

{{ define "title" -}}
{{ if hasPrefix .Title "fcsc" -}}
{{ if hasPrefix .Title "Fcsc" -}}
FCSC {{ substr .Title 4 }} - {{ .Site.Title }}
{{- else -}}
{{ .Page.Title | title }} - {{ .Site.Title }}
Expand All @@ -14,7 +14,7 @@
{{ define "main" }}
<div class="jumbotron py-4 mb-3 text-center">
<h1 class="fw-light">
{{- if hasPrefix .Title "fcsc" }}
{{- if hasPrefix .Title "Fcsc" }}
{{- i18n "challenges_from_fcsc" }} {{ substr .Title 4 }}
{{- else }}
{{- .Title | title }}
Expand Down

0 comments on commit 925c13a

Please sign in to comment.