Hello,
I am using Netlify and Github to built my personal website. I want to add the first item on the “Post” Widget. Does anyone know how to add the item on the post just by editing files in academic-kickstart.
I know it might sound stupid, I am really new to this. Bare with me, thank you!
Below is the error i got, thank you so much
Error: Error building site: failed to render pages: render of “section” failed: execute of template failed: template: section/post.html:18:9: executing “main” at <partial “li_compact” .>: error calling partial: execute of template failed: template: partials/li_compact.html:65:11: executing “partials/li_compact.html” at <partial “page_metadata” (dict “page” $item “is_list” 1)>: error calling partial: “/opt/build/repo/themes/academic/layouts/partials/page_metadata.html:49:64”: execute of template failed: template: partials/page_metadata.html:49:64: executing “partials/page_metadata.html” at <index site.Params.comments.commentable $page.Type>: error calling index: index of untyped nil
6:45:43 PM:
6:45:43 PM: ┌─────────────────────────────┐
6:45:43 PM: │ “build.command” failed │
6:45:43 PM: └─────────────────────────────┘
6:45:43 PM:
6:45:43 PM: Error message
6:45:43 PM: Command failed with exit code 255: hugo --gc --minify -b $URL
6:45:43 PM:
6:45:43 PM: Error location
6:45:43 PM: In build.command from netlify.toml:
6:45:43 PM: hugo --gc --minify -b $URL
6:45:43 PM:
6:45:43 PM: Resolved config
6:45:43 PM: build:
6:45:43 PM: command: hugo --gc --minify -b $URL
6:45:43 PM: publish: /opt/build/repo/public
6:45:43 PM: headers:
6:45:43 PM: - for: ‘*.webmanifest’
6:45:43 PM: values:
6:45:43 PM: Content-Type: application/manifest+json; charset=UTF-8
6:45:43 PM: - for: index.xml
6:45:43 PM: values:
6:45:43 PM: Content-Type: application/rss+xml