This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -89,3 +89,19 @@ A list of all the commits in chronological order.
89
89
### git.contributors
90
90
91
91
A list of contributors to all users who have modified the article.
92
+
93
+ ## Demo
94
+
95
+ ** Input**
96
+
97
+ ``` md
98
+ - Author of this page: {{ $page.git.author }}
99
+ - Contributors of this page: {{ $page.git.contributors.join(', ') }}
100
+ - Last commit of this page: {{ $page.git.commits[0].fullHash }}
101
+ ```
102
+
103
+ ** Output**
104
+
105
+ - Author of this page: {{ $page.git.author }}
106
+ - Contributors of this page: {{ $page.git.contributors.join(', ') }}
107
+ - Last commit of this page: {{ $page.git.commits[ 0] .fullHash }}
Original file line number Diff line number Diff line change @@ -89,3 +89,19 @@ module.exports = {
89
89
### git.contributors
90
90
91
91
文章的贡献者列表,即所有修改过文章的用户列表。
92
+
93
+ ## 演示
94
+
95
+ ** 输入**
96
+
97
+ ``` md
98
+ - 本页面的作者:{{ $page.git.author }}
99
+ - 本页面的贡献者:{{ $page.git.contributors.join(', ') }}
100
+ - 本页面的最后一次提交:{{ $page.git.commits[0].fullHash }}
101
+ ```
102
+
103
+ ** 输出**
104
+
105
+ - 本页面的作者:{{ $page.git.author }}
106
+ - 本页面的贡献者:{{ $page.git.contributors.join(', ') }}
107
+ - 本页面的最后一次提交:{{ $page.git.commits[ 0] .fullHash }}
You can’t perform that action at this time.
0 commit comments