We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11425a7 commit 0707b54Copy full SHA for 0707b54
1 file changed
themes/wowchemy/layouts/authors/list.html
@@ -12,7 +12,7 @@ <h1>{{ .Title }}</h1>
12
<section id="profile-page" class="pt-5">
13
<div class="container">
14
{{/* Show the About widget if an account exists for this user. */}}
15
- {{ if .File }}
+ {{ if and .File (ne (path.Base (path.Split .Path).Dir) "authors") }}
16
{{ $widget := "widgets/about.html" }}
17
{{ $username := (path.Base (path.Split .Path).Dir) }}{{/* Alternatively, use `index .Params.authors 0` */}}
18
{{ $params := dict "root" $ "page" . "author" $username }}
0 commit comments