diff --git a/_site/content/posts/modules/git.md b/_site/content/posts/modules/git.md index e0a6a1f22..b601bfddc 100644 --- a/_site/content/posts/modules/git.md +++ b/_site/content/posts/modules/git.md @@ -54,6 +54,8 @@ None. ```yaml git: commitCount: 5 + commitFormat: "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]" + dateFormat: "%H:%M %d %b %y" enabled: true position: top: 0 @@ -72,6 +74,13 @@ git: The number of past commits to display.
Values: A positive integer, `0..n`. +`commitFormat`
+_Optional_ The string format for the commit message.
+ +`dateFormat`
+_Optional_ The string format for the date/time in the commit message. +
+ `enabled`
Determines whether or not this module is executed and if its data displayed onscreen.
Values: `true`, `false`. diff --git a/docs/posts/modules/git/index.html b/docs/posts/modules/git/index.html index 93606c79f..ddc9736bb 100644 --- a/docs/posts/modules/git/index.html +++ b/docs/posts/modules/git/index.html @@ -163,6 +163,8 @@

Keyboard Commands

Configuration

git:
   commitCount: 5
+  commitFormat: "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]"
+  dateFormat: "%H:%M %d %b %y"
   enabled: true
   position:
     top: 0
@@ -179,6 +181,13 @@ 

Attributes

The number of past commits to display.
Values: A positive integer, 0..n.

+

commitFormat
+Optional The string format for the commit message.

+ +

dateFormat
+Optional The string format for the date/time in the commit message. +

+

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true, false.