Skip to content

Commit 0707b54

Browse files
committed
temporary fix for missing authors info
1 parent 11425a7 commit 0707b54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

themes/wowchemy/layouts/authors/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>{{ .Title }}</h1>
1212
<section id="profile-page" class="pt-5">
1313
<div class="container">
1414
{{/* Show the About widget if an account exists for this user. */}}
15-
{{ if .File }}
15+
{{ if and .File (ne (path.Base (path.Split .Path).Dir) "authors") }}
1616
{{ $widget := "widgets/about.html" }}
1717
{{ $username := (path.Base (path.Split .Path).Dir) }}{{/* Alternatively, use `index .Params.authors 0` */}}
1818
{{ $params := dict "root" $ "page" . "author" $username }}

0 commit comments

Comments
 (0)