Currently I only want to show the featured image like this blog. But if you know how to proecess the image without bundling resources in single folders such as the way in your link, please let me know. Thanks in advance.
Thanks for your reply. I have tested the method below but failed.
I created the folder “assets” and “images” under it then added photos there.
I created “_default” folder and “single.html”.
I added “featured = ‘images/a.jpg’” to my script.
Here are my questions:
Originally, I have a html file related to section already. Would it cause problem since I newly created single.html?
My markdown used “:” instead of “=”. Would it be a problem? My process is based on blogdown library in R. When I add this “featured = ‘images/a.jpg’”, there is some problem appearing in R.
Thanks.
git clone --single-branch -b hugo-forum-topic-42231 https://github.com/jmooring/hugo-testing hugo-forum-topic-42231
cd hugo-forum-topic-42231
hugo server
I got your point. I saw your folder and how you organized files. But I can’t adopt your method into my blog.
First is about the way I write in my markdown file. I can’t change them from “:” to “=” as you did.
Second is about the html. Should I combine my publication html to yours? Actually, I have tried it but failed.