Skip to content

Commit

Permalink
Update author yml config path
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 31, 2022
1 parent 8b8aa4a commit e0578bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Models/Author.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* The Post Author Object Model.
*
* The Author is parsed from the authors.yml file using the AuthorService class
* The Author is parsed from the config/authors.yml file using the AuthorService class
*/
class Author
{
Expand Down
2 changes: 1 addition & 1 deletion src/Services/AuthorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AuthorService
*/
public function __construct()
{
$this->filepath = Hyde::path('_data/authors.yml');
$this->filepath = Hyde::path('config/authors.yml');

if (file_exists($this->filepath)) {
$this->yaml = $this->getYaml();
Expand Down

0 comments on commit e0578bb

Please sign in to comment.