I am relatively new to Hugo and I have been using Fuji2 Theme and hosted my website in Netlify.
I have a few questions.
The summary page on a tag lists down the posts under the tag. However, on each post I would like to have a ‘Read More…’ as that would be more meaningful to give a hint to the readers that the blog post has something more in it, than just giving an impression that whatever is displayed is the entire content. How do I achieve this?
Also the tags displayed underneath each post does not have a comma to separate each of them, which I feel would be of a good use. How can I achieve this?
Thanks @peaceiris . I will work on this and update you.
Another QQ (quick question). How do I link the text to the particular post? That is when it would be meaningful and connected. Excuse my ignorance as I have not been familiar with the golang.
In your list.html inside the loop of the pages, you’ll can use {{ .RelPermalink }} or {{ .Permalink }} to link to the page (probably around line 13 of your layout).
Thanks @funkydan2 and @peaceiris . I tried following the suggestions you gave, but still no luck. No changes happening in the post listing at all. Below is the content of <MySite>/layouts/_default/list.html.
<div class="post-item post-summary markdown-body">
{{ .Summary }}
<a href="{{ .RelPermalink }}">{{ T "readMore" }}</a>
{{ if .Truncated }}
<a href="{{ .RelPermalink }}">{{ T "readMore" }}</a>
{{ end }}
</div>
</div>
I tried giving the ReadMore link inside if and outside as well - just to check whether any of them could bring a luck but unfortunately they did not. Anything I am missing? I just understand the fact that contents inside the actual theme folder is a master copy and we shouldn’t directly modify them, instead we copy it locally inside the main site folder with relevant subdirectory like layout etc., and then modify it there so that it gets overridden with the default.
@divinerites thanks for buying in ignorance on the basics as I am totally new to Hugo and also golang. Will supply this argument in the command line when starting the hugo server and see the difference if any that brings.
Hello @divinerites@peaceiris@funkydan2 can you please help me how can I achieve this - comma separated tags than the whitespace? I will also explore a bit on my own in the meta html, but that requires more of the golang syntax.