I have gone through documentation and searched for “Gitinfo”, “lastmod” on support group. I didn’t figure out what’s wrong with the code. I really appreciate if someone can answer/guide me. Below is the repo structure. I am trying to use gitinfo in baseof.html.
My content comes from another git submodule. My use-case is to display “lastmodified” date in all content files.
enableGitInfo=true in config.toml file. My GitInfo is nil. Lastmod shows page created date. I actually need modified date. I can provide if any additional information needed. Thanks.