Today, I updated the theme PaperMod via git.
Then, after running rsync, all the post images declared in the frontmatter suddenly disappeared.
The images I put in the posts are OK.
I underline that nothing changed in the posts’ frontmatter nor the config.toml.
Is there someone who can help me?
No, but I refer only to the information that is in the frontmatter as below:
---
title: "Newsletter XMPP di novembre 2023 - versione italiana"
author: "NicFab"
draft: false
subtitle: "Newsletter XMPP di novembre 2023 - versione italiana"
summary: "Questo numero copre il mese di novembre 2023 e sarà l'ultima pubblicazione per il 2023. Grazie a tutti i nostri lettori e a tutti i collaboratori!"
image: "/images/xmpp/2023/11-2023/gsoc-2023-logo.svg"
tags: ['XMPP','newsletter']
ShowToc: false
cover:
image: "/images/xmpp/2023/11-2023/gsoc-2023-logo.svg"
alt: ""
caption: "XMPP"
relative: false
linkFullImages: false
date: 2023-12-11T02:00:00+01:00
PublishDate: 2023-12-11T02:00:00+01:00
---
Now, if you reach the content related to the mentioned frontmatter - https://notes.nicfab.eu/it/posts/newsletter_xmpp/newsletter-xmpp-nov-2023/ - you can see that there are no images above the title but there are the images into the article.
At the same time all the frontmatter images on my Digital Notepad disappeared as you can see here: https://notes.nicfab.eu.
I don’t know why and how to solve.
My first guess is that you modified the original theme instead of overriding one or more templates. Then, when you updated the theme, you lost the modifications. Is that possibly what happened?
I didn’t modified the file under /themes/PaperMod.
I modified some parameters putting the files under /layout/partial
I also tried to delete them, but nothing changed.
What do you suggest me?
The situation is the following:
I returned by Time Machine and put the entire Hugo folder as it was some days ago.
Infeed I did so, but I saw that it appeared as a string, and that was because the theme needed to be updated.
I tried to update it via git, but I received some errors, so I ran the following: git stash and then git pull.
After that, the images disappeared.