Browse Source

Disable gitinfo

Track3 5 years ago
parent
commit
ab33d113ec
4 changed files with 3 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 0
      archetypes/default.md
  3. 1 0
      archetypes/posts.md
  4. 0 1
      config.toml

+ 1 - 0
.gitignore

@@ -2,4 +2,5 @@
 public/
 resources/
 content/
+content
 hugo.exe

+ 1 - 0
archetypes/default.md

@@ -1,6 +1,7 @@
 ---
 title: "{{ replace .Name "-" " " | title }}"
 date: {{ .Date }}
+lastmod: {{ .Date }}
 draft: true
 comments: false
 ---

+ 1 - 0
archetypes/posts.md

@@ -1,6 +1,7 @@
 ---
 title: "{{ replace .Name "-" " " | title }}"
 date: {{ .Date }}
+lastmod: {{ .Date }}
 draft: true
 toc: false
 images:

+ 0 - 1
config.toml

@@ -2,7 +2,6 @@ baseURL = "https://ojbk.im"
 languageCode = "zh-hans"
 title = "Track3's Blog"
 
-enableGitInfo = true
 pygmentsCodefences  = true
 pygmentsUseClasses  = true
 hasCJKLanguage = true