Micro.blog Family - Hosting on Micro.blog - Micro.blog Help Center:

Theme parameters

The Marfa design has a place in the footer of each post that shows the author of that post. Other custom themes may need modifications if you want to include author information.

Micro.blog adds the following Hugo parameters when processing your blog:

  • .Params.author.name
  • .Params.author.username
  • .Params.author.avatar

If the blog is not a team blog, these parameters will be blank. You can check whether the author is available, and then fall back on the blog’s default author:

{{ if .Params.author }}
  <p>{{ .Params.author.name }}</p>
{{ else }}
  <p>{{ .Site.Author.name }}</p>
{{ end }}
Screen Shot of text.