HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.38k stars 2.91k forks source link

Error building site index.md:82:1" #1102

Closed icf20 closed 5 years ago

icf20 commented 5 years ago

version

hugo version      
Hugo Static Site Generator v0.55.6/extended linux/amd64 BuildDate: 2019-05-18T11:36:21Z

the error

hugo serve -w
Total in 63 ms
Error: Error building site: "/home/user/hugo/test.com/content/slides/example/index.md:82:1": failed to extract shortcode: template for shortcode "fragment" not found

this is a hugo local test, the content folder is a copy of the content folder from example folder

if i remove that file

hugo serve -w
Total in 71 ms
Error: Error building site: "/home/user/hugo/test.com/content/post/getting-started/index.md:100:1": failed to extract shortcode: template for shortcode "gallery" not found
gcushen commented 5 years ago

That error indicates that Academic is not properly installed. Refer to the official guide: https://sourcethemes.com/academic/docs/install/

icf20 commented 5 years ago

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 {}