Closed icf20 closed 5 years ago
That error indicates that Academic is not properly installed. Refer to the official guide: https://sourcethemes.com/academic/docs/install/
Download and extract Academic Kickstart Download and extract the Academic theme files from the hugo-academic-master folder to the themes/academic/ folder in Academic Kickstart
obliviously that is not the case
not even using git
git clone https://github.com/sourcethemes/academic-kickstart.git test.com
Cloning into 'test.com'...
remote: Enumerating objects: 501, done.
remote: Total 501 (delta 0), reused 0 (delta 0), pack-reused 501
Receiving objects: 100% (501/501), 143.22 KiB | 736.00 KiB/s, done.
Resolving deltas: 100% (161/161), done.
user@user-pc ~/hugo cd test.com
user@user-pc ~/hugo/test.com master git submodule update --init --recursive
Submodule 'themes/academic' (https://github.com/gcushen/hugo-academic.git) registered for path 'themes/academic'
Cloning into '/home/user/hugo/test.com/themes/academic'...
Submodule path 'themes/academic': checked out '23e2c4dcab1a0108b94cb1eb6eb73327fd9a11ab'
user@user-pc ~/hugo/test.com master hugo serve -w
Building sites … ERROR 2019/05/26 19:54:17 render of "page" failed: "/home/user/hugo/test.com/themes/academic/layouts/_default/single.html:3:19": execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "page_header.html" .>: error calling partial: "/home/user/hugo/test.com/themes/academic/layouts/partials/page_header.html:3:19": execute of template failed: template: partials/page_header.html:3:19: executing "partials/page_header.html" at <$page.Params.image.focal_point>: can't evaluate field focal_point in type interface {}
version
the error
this is a hugo local test, the content folder is a copy of the content folder from example folder
if i remove that file