binokochumolvarghese / lightbi-hugo

Lightbi is a minimal and clean blog theme for Hugo.
https://lightbi-hugo-theme.netlify.app/
MIT License
64 stars 36 forks source link

how can I add myself as author, and the sections? #26

Closed hanscees closed 10 months ago

hanscees commented 10 months ago

Hi,

I have adjust the config.toml in the root of the site like so, but the footer of articles (written by) does not show my name

baseURL = 'https://econrevolt.com/'
languageCode = 'en-us'
title = 'economic capitalism revolt to save the earth'
theme = 'lightbi-hugo'
copyright = 'HC Speel'
enableInlineShortcodes = 'true'
[params]
  AuthorName = 'Hans-Cees Speel'
hanscees commented 10 months ago

I have found the syntax your template expects somewhere hidden in your theme. These work well

[Author]
  name = "Hans-Cees Speel"
  website = "https://www.hans.com/"
  email = "hans@hanscees.com"
  linkedin = "hans"
  mastodon = "https://social.sargasso.nl/@hans"
  github = "hans"

[[menu.main]]
    name = "Home"
    url = "/"
    weight = 1

[[menu.main]]
    name = "About"
    url = "/about/"
    weight = 5