File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
export interface XeblogConvProps {
2
2
name : string ;
3
3
mood : string ;
4
+ title ?: string ;
4
5
children : HTMLElement [ ] ;
5
6
standalone ?: boolean ;
6
7
aiModel ?: string ;
@@ -10,6 +11,7 @@ const ConvSnippet = ({
10
11
name,
11
12
mood,
12
13
children,
14
+ title,
13
15
standalone,
14
16
aiModel,
15
17
} : XeblogConvProps ) => {
@@ -45,6 +47,13 @@ const ConvSnippet = ({
45
47
{ /* Username */ }
46
48
< span className = "font-semibold text-sm block mb-1" >
47
49
< a href = { `/characters#${ nameLower } ` } > { name } </ a >
50
+ { ! ! title && (
51
+ < >
52
+ { " (" }
53
+ { title }
54
+ { ")" }
55
+ </ >
56
+ ) }
48
57
</ span >
49
58
< span className = "mx-auto" />
50
59
Original file line number Diff line number Diff line change 7
7
"doc" : " docs"
8
8
},
9
9
"scripts" : {
10
- "test" : " echo \" Error: no test specified\" && exit 1"
10
+ "test" : " echo \" Error: no test specified\" && exit 1" ,
11
+ "dev" : " go run ./cmd/xesite --site-url https://preview.xeiaso.net --devel"
11
12
},
12
13
"repository" : {
13
14
"type" : " git" ,
22
23
"dependencies" : {
23
24
"execa" : " ^8.0.1"
24
25
}
25
- }
26
+ }
You can’t perform that action at this time.
0 commit comments