Skip to content

Commit 6f39c7e

Browse files
committed
show article updated date
1 parent 6ce6890 commit 6f39c7e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

config/_default/hugo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ buildDrafts = false
1515
buildFuture = false
1616

1717
enableEmoji = true
18+
enableGitInfo = true
1819

1920
[pagination]
2021
pagerSize = 5

config/_default/params.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ smartTOC = true
2626
smartTOCHideUnfocusedChildren = true
2727

2828
[header]
29-
layout = "fixed-fill" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
29+
layout = "fixed-gradient" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
3030

3131
[footer]
3232
showMenu = false
@@ -50,7 +50,7 @@ smartTOCHideUnfocusedChildren = true
5050
showDate = true
5151
showViews = false
5252
showLikes = false
53-
showDateOnlyInArticle = false
53+
showDateOnlyInArticle = true
5454
showDateUpdated = true
5555
showAuthor = true
5656
#showAuthorBottom = false

0 commit comments

Comments
 (0)