fix github info

This commit is contained in:
straightupjac 2022-05-03 01:51:15 -04:00
parent 7653fc0eac
commit c20da99a98
2 changed files with 5 additions and 0 deletions

View File

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

View File

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