As part of my learning journey, I am customizing few other stuff on the default aspects of the site. One such thing is the default author, which I felt it is a nice to have thought at the moment I am the only one managing the site.
I made use of the settings explained in the exampleSite of Fuji Theme in the GitHub Repo and also added a snippet in the archetypes\default.md file to have this snippet prepopulated in the new posts. I see that the author name is present in the new .md file generated for the post, however it does not get displayed in the web page.
Any idea as to what I am missing here ? Should I need to modify any meta html files for the posts?
Changes in the config.toml file
[params]
author = "Raghs" # You can also set author in post front matter individually
.......
Your guess in the TODO section of the screenshot is spot on. You’ll need to override post-meta.html and make use of something like {{with .Params.author}} {{.}} {{end}}.
I just made a small tweak on the icon, but it does not seem to work. Guess I need to work with the Fuji team, as the customization of the CSS and icons is more inclined with the theme setup/config.
Works fine. But the icon what I used is for ‘pricetag’ - which was used for the tags. I wanted to use something different like a human icon for an author. I tried the steps given in the websites as follows.
If you can share any quick resolution on this, it would be highly appreciated. Else, I will post this in the Fuji Theme Git Hub Repo as a feature request or something. I wish once I gain a bit more knowledge on this (perhaps with the Go Lang Knowledge, I do it on my own )