We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e055d commit 30de8b2Copy full SHA for 30de8b2
api_content.go
@@ -303,6 +303,7 @@ type DrawModifyPageOption struct {
303
ConfluenceDirPrefix string // 在confluence上的目录前缀
304
Data string // 文件内容
305
CommitList []Commit // 最近提交信息
306
+ GitName string // 仓库名称
307
GitUrl string // 仓库地址
308
FileUrl string // 文件地址
309
FileName string // 文件名称
constant.go
@@ -30,7 +30,7 @@ const NewConfluenceNoteMacro = `
30
{{end}}
31
</p>
32
<br />
33
- <p>渲染自<a href="{{.GitUrl}}">{{.GitUrl}}</a>仓库的<a href="{{.FileUrl}}">{{.FileName}}</a>文件</p>
+ <p>渲染自<a href="{{.GitUrl}}">{{.GitName}}</a>仓库的<a href="{{.FileUrl}}">{{.FileName}}</a>文件</p>
34
</ac:rich-text-body>
35
</ac:structured-macro>
36
`
0 commit comments