Merge pull request #120 from straightupjac/fix/github-info

This commit is contained in:
Jacky Zhao 2022-05-03 09:47:48 -04:00 committed by GitHub
commit d758e6b4a3
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Build Link Index
uses: jackyzha0/hugo-obsidian@v2.12

View File

@ -28,3 +28,6 @@ enableGitInfo = true
lineNumbersInTable = true
style = "dracula"
tabWidth = 4
[frontmatter]
lastmod = ["lastmod", ":git", "date", "publishDate"]
publishDate = ["publishDate", "date"]