Skip to content

Commit

Permalink
fix: author warning doesn't fail build
Browse files Browse the repository at this point in the history
  • Loading branch information
leohku committed May 25, 2024
1 parent 5a121e5 commit 2bd3edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/widgets/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ $person_page := site.GetPage (printf "/authors/%s" $author) }}
{{ $link := $person_page.Params.personal_homepage }}
{{ if not $person_page }}
{{ errorf "Could not find an author page at `%s`. Please check the value of `author` in your About widget and create an associated author page if one does not already exist. See https://sourcethemes.com/academic/docs/page-builder/#about " $person_page_path }}
{{ warnf "Could not find an author page at `%s`. Please check the value of `author` in your About widget and create an associated author page if one does not already exist. See https://sourcethemes.com/academic/docs/page-builder/#about " $person_page_path }}
{{end}}
{{ $person := $person_page.Params }}
{{ $avatar := ($person_page.Resources.ByType "image").GetMatch "*avatar*" }}
Expand Down

0 comments on commit 2bd3edb

Please sign in to comment.