Add all news posts (still some TODOs)
This commit is contained in:
@@ -11,10 +11,17 @@
|
||||
{{ $categories:= .Params.categories }}
|
||||
{{ if $categories }}
|
||||
<ul class="mb-4">
|
||||
{{ $authors := compare.Conditional (reflect.IsSlice .Params.Author) .Params.Author (slice .Params.Author) }}
|
||||
|
||||
<li class="mr-4 inline-block">
|
||||
<a href="{{ `people/` | relLangURL }}{{ .Params.Author | urlize }}/">
|
||||
<i class="fa-regular fa-circle-user mr-2"></i>{{ .Params.author }}
|
||||
</a>
|
||||
<i class="fa-regular fa-circle-user mr-2"></i>
|
||||
{{/* TODO: These links are broken. Disabled for now. */}}
|
||||
{{ range $i, $a := $authors -}}
|
||||
{{- if gt $i 0 }}, {{ end -}}
|
||||
{{/*<a href="{{ `people/` | relLangURL }}{{ $a | urlize }}/">*/}}
|
||||
{{- $a -}}
|
||||
{{/*</a>*/}}
|
||||
{{- end }}
|
||||
</li>
|
||||
<li class="mr-4 inline-block">
|
||||
<i class="fa-regular fa-folder mr-1"></i>
|
||||
|
||||
Reference in New Issue
Block a user