File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const (
74
74
{{.PreviewText}}
75
75
-----------------------------
76
76
{{- end}}{{if .EnableTelegraph}}
77
- {{.ContentTitle}} <a href="{{.TelegraphURL}}">Telegraph </a> | <a href="{{.RawLink}}">原文 </a>
77
+ <a href="{{.TelegraphURL}}">【預覽】 </a><a href="{{.RawLink}}">{{.ContentTitle}} </a>
78
78
{{- else }}
79
79
<a href="{{.RawLink}}">{{.ContentTitle}}</a>
80
80
{{- end }}
@@ -85,12 +85,21 @@ const (
85
85
{{.PreviewText}}
86
86
-----------------------------
87
87
{{- end}}{{if .EnableTelegraph}}
88
- {{.ContentTitle}} [Telegraph ]({{.TelegraphURL}}) | [原文 ]({{.RawLink}})
88
+ [【預覽】 ]({{.TelegraphURL}})[{{.ContentTitle}} ]({{.RawLink}})
89
89
{{- else }}
90
90
[{{.ContentTitle}}]({{.RawLink}})
91
91
{{- end }}
92
92
{{.Tags}}
93
93
`
94
+ //defaultMessageListItemTpl = `{{if .EnableTelegraph}}
95
+ //[【預覽】]({{.TelegraphURL}})[{{.ContentTitle}}]({{.RawLink}}) {{- else }}
96
+ //[{{.ContentTitle}}]({{.RawLink}}){{- end }}`
97
+ defaultMessageListItemTpl = `{{if .EnableTelegraph}}
98
+ <a href="{{.TelegraphURL}}">【預覽】</a><a href="{{.RawLink}}">{{.ContentTitle}}</a>
99
+ {{- else }}
100
+ <a href="{{.RawLink}}">{{.ContentTitle}}</a>
101
+ {{- end }}`
102
+
94
103
TestMode RunType = "Test"
95
104
ReleaseMode RunType = "Release"
96
105
)
You can’t perform that action at this time.
0 commit comments