@@ -41,8 +41,8 @@ script.
4141- var talk = site .data [talk_file] || site .data .talk
4242if talk
4343 - var i = talk
44- - var blockquote = i .blockquote
45- - var bottom = i .bottom
44+ - var blockquote = ( typeof i .blockquote === ' undefined ' ? false : i . blockquote )
45+ - var bottom = ( typeof i .bottom === ' undefined ' ? true : i . bottom )
4646 #talk_page
4747 .author-content.author-content-item.top-background.single ( style =i .top_background ? ` background: url(${ i .top_background } ) center 28% / cover no-repeat;` : "" )
4848 .card-content
@@ -94,34 +94,34 @@ if talk
9494 if (typeof item .bottom !== ' undefined' ? item .bottom : bottom)
9595 hr
9696 .bber-bottom
97- .bber-info
98- if item .date
99- .bber-info-time
100- - var datedata = new Date (item .date ).toISOString ()
101- i.fas.fa-clock
102- time.datatime ( datetime = item .date ) = datedata
103- if item .address
104- each i in item .address
97+ .bber-info
98+ if item .date
99+ .bber-info-time
100+ - var datedata = new Date (item .date ).toISOString ()
101+ i.fas.fa-clock
102+ time.datatime ( datetime = item .date ) = datedata
103+ if item .address
104+ each i in item .address
105+ .bber-info-from
106+ i.fas.fa-map-marker-alt
107+ span= i
108+ if item .link
109+ each i in item .link
110+ a.bber-content-link ( href =url_for (i .url ),rel ="external nofollow" )
111+ i.fas.fa-link
112+ | #{i .name }
113+ if item .tag
114+ each i in item .tag
115+ .bber-tag
116+ i.fa-solid.fa-tag
117+ | #{i}
118+ if item .from
105119 .bber-info-from
106- i.fas.fa-map-marker-alt
107- span= i
108- if item .link
109- each i in item .link
110- a.bber-content-link ( href =url_for (i .url ),rel ="external nofollow" )
111- i.fas.fa-link
112- | #{i .name }
113- if item .tag
114- each i in item .tag
115- .bber-tag
116- i.fa-solid.fa-tag
117- | #{i}
118- if item .from
119- .bber-info-from
120- i.fas.fa-fire-alt
121- span= item .from
122- - var content = item .content .replace (/ <[^ >] * >/ g , ' ' );
123- .bber-reply ( onclick ="rmf.commentText(" + JSON .stringify (content) + ")" )
124- i.far.fa-comment-alt
120+ i.fas.fa-fire-alt
121+ span= item .from
122+ - var content = item .content .replace (/ <[^ >] * >/ g , ' ' );
123+ .bber-reply ( onclick ="rmf.commentText(" + JSON .stringify (content) + ")" )
124+ i.far.fa-comment-alt
125125 if i .limit !== undefined
126126 #bber-tips ( style ='color: var(--fyz-secondtext);display: none;' )
127127 = " - 只展示最近" + i .limit + " 条说说 -"
0 commit comments