pankajkoti commented on issue #773:
URL: https://github.com/apache/airflow-site/issues/773#issuecomment-1523445112
When I do a `./site.sh build-site` after following the steps outlined in
README.md and installing `brew install hugo`, I get the below error and
currently stuck at resolving this
```
WARNING in asset size limit: The following asset(s) exceed the recommended
size limit (244 KiB).
This can impact web performance.
Assets:
chunk-4.3d5f5.js (1.53 MiB)
$ cross-env HUGO_ENV=production hugo -d ../dist -s site -v
Start building sites …
hugo v0.111.3+extended darwin/arm64 BuildDate=unknown
INFO 2023/04/26 19:02:52 syncing static files to /
ERROR 2023/04/26 19:02:54 render of "page" failed:
"/Users/pankajkoti/airflow-site/landing-pages/site/layouts/_default/baseof.html:23:7":
execute of template failed: template: _default/search.html:23:7: executing
"_default/search.html" at <partial "head.html" .>: error calling partial:
execute of template failed: html/template:partials/head.html:15:17: no such
template "_internal/google_news.html"
ERROR 2023/04/26 19:02:54 render of "page" failed:
"/Users/pankajkoti/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7":
execute of template failed: template: blog/single.html:23:7: executing
"blog/single.html" at <partial "head.html" .>: error calling partial: execute
of template failed: html/template:partials/head.html:15:17: no such template
"_internal/google_news.html"
ERROR 2023/04/26 19:02:54 render of "page" failed:
"/Users/pankajkoti/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7":
execute of template failed: template: blog/single.html:23:7: executing
"blog/single.html" at <partial "head.html" .>: error calling partial: execute
of template failed: html/template:partials/head.html:15:17: no such template
"_internal/google_news.html"
ERROR 2023/04/26 19:02:54 render of "page" failed:
"/Users/pankajkoti/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7":
execute of template failed: template: blog/single.html:23:7: executing
"blog/single.html" at <partial "head.html" .>: error calling partial: execute
of template failed: html/template:partials/head.html:15:17: no such template
"_internal/google_news.html"
Error: Error building site: failed to render pages: render of "page" failed:
"/Users/pankajkoti/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7":
execute of template failed: template: blog/single.html:23:7: executing
"blog/single.html" at <partial "head.html" .>: error calling partial: execute
of template failed: html/template:partials/head.html:15:17: no such template
"_internal/google_news.html"
Total in 2060 ms
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this
command.
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this
command.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]