Skip to content

Commit 30de8b2

Browse files
committed
修改模板
1 parent c3e055d commit 30de8b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api_content.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ type DrawModifyPageOption struct {
303303
ConfluenceDirPrefix string // 在confluence上的目录前缀
304304
Data string // 文件内容
305305
CommitList []Commit // 最近提交信息
306+
GitName string // 仓库名称
306307
GitUrl string // 仓库地址
307308
FileUrl string // 文件地址
308309
FileName string // 文件名称

constant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const NewConfluenceNoteMacro = `
3030
{{end}}
3131
</p>
3232
<br />
33-
<p>渲染自<a href="{{.GitUrl}}">{{.GitUrl}}</a>仓库的<a href="{{.FileUrl}}">{{.FileName}}</a>文件</p>
33+
<p>渲染自<a href="{{.GitUrl}}">{{.GitName}}</a>仓库的<a href="{{.FileUrl}}">{{.FileName}}</a>文件</p>
3434
</ac:rich-text-body>
3535
</ac:structured-macro>
3636
`

0 commit comments

Comments
 (0)