the date on the articles is not properly
it was working fine till 2 weeks back - but something broke recently which I was debugging unable to figure out anything.
Theme?
Template?
Hugo version?
Theme - Papermod
hugo version - hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740 linux/amd64 BuildDate=2023-12-08T08:47:45Z VendorInfo=gohugoio
The theme author fixed this a couple of months ago. Update the theme.
https://github.com/adityatelange/hugo-PaperMod/commit/7795c90f6fa106733267481d9ed0518b00f2c62c
hugo serve
Watching for changes in /home/jarvis/workspace/alen-abraham.github.io/{archetypes,content,layouts,static,themes}
Watching for config changes in /home/jarvis/workspace/alen-abraham.github.io/config.yml
Start building sites âŚ
hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740 linux/amd64 BuildDate=2023-12-08T08:47:45Z VendorInfo=gohugoio
Built in 203 ms
Error: error building site: render: failed to render pages: render of âhomeâ failed: â/home/jarvis/workspace/alen-abraham.github.io/layouts/_default/list.html:40:36â: execute of template failed: template: _default/list.html:40:36: executing âmainâ at <partial âhome_info.htmlâ .>: error calling partial: â/home/jarvis/workspace/alen-abraham.github.io/layouts/partials/home_info.html:8:7â: execute of template failed: template: partials/home_info.html:8:7: executing âpartials/home_info.htmlâ at <partial âsocial_icons.htmlâ site.Params.socialIcons>: error calling partial: â/home/jarvis/workspace/alen-abraham.github.io/themes/PaperMod/layouts/partials/social_icons.html:1:34â: execute of template failed: template: partials/social_icons.html:1:34: executing âpartials/social_icons.htmlâ at <.align>: canât evaluate field align in type interface {}
It looks like you are overriding some of the themeâs templates. If you want help, pleae post a link to the public repository for your project.
See Requesting Help.
Let us see your code
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you canât share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem youâre experiencing.
here is the link to my source code GitHub - abrahamalen/alen-abraham.github.io: A personal website created using Hugo.
This is what I did:
git clone --recurse-submodules https://github.com/abrahamalen/alen-abraham.github.io
cd alen-abraham.github.io
hugo
This is what I got:
Start building sites âŚ
hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended linux/amd64 BuildDate=2023-12-08T08:47:45Z VendorInfo=gohugoio
| EN
-------------------+-----
Pages | 51
Paginator pages | 0
Non-page files | 0
Static files | 32
Processed images | 0
Aliases | 16
Sitemaps | 1
Cleaned | 0
Total in 241 ms
No errors.
I resolved the issue
so these were the scenarios
first I updated my theme with the latest changes due to the breaks happened with new release, as you mentioned in the first reply
then after I updates some of my custom changes broke with the updates theme
resolved it now
thanks for the support
@jmooring
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.