File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 "title" : " FINAL FANTASY XIV Documentary Part #2 - \" Rewriting History\" " ,
3131 "youtube" : " aoOI5R-6u8k"
3232},
33+ {
34+ "date" : " 2017-07-31" ,
35+ "title" : " The Evolution of Trust" ,
36+ "url" : " https://ncase.me/trust/"
37+ },
3338{
3439 "date" : " 2018-06-14" ,
3540 "title" : " The Man Who COULD Have Been Bill Gates [Gary Kildall]" ,
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ export interface CurationPost extends DatedProcessed {
4040
4141 title : string ;
4242 synopsis : string | undefined ;
43+
44+ url : string | undefined ;
4345 youtubeVideoID : string | undefined ;
4446} ;
4547
@@ -72,7 +74,9 @@ function getShortEntries(): CurationPost[] {
7274
7375 title : objGetStr ( obj , "title" ) ,
7476 synopsis : objGetStrOptional ( obj , "synopsis" ) ,
75- youtubeVideoID : objGetStr ( obj , "youtube" ) ,
77+
78+ url : objGetStrOptional ( obj , "url" ) ,
79+ youtubeVideoID : objGetStrOptional ( obj , "youtube" ) ,
7680 } ;
7781 } ) ;
7882}
@@ -87,6 +91,8 @@ function collectionEntryToPost(entry: ThisCollectionEntry): CurationPost {
8791
8892 title : entry . data . title ,
8993 synopsis : entry . data . synopsis ,
94+
95+ url : undefined , // TODO: NOT YET IMPLEMENTED
9096 youtubeVideoID : entry . data . youtube ,
9197 } ;
9298}
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ const posts: CurationPost[] = _posts;
5959 { (!! p .synopsis ) &&
6060 <p >{ p .synopsis } </p >
6161 }
62+ { (!! p .url ) &&
63+ <p >Web link: <a href = { p .url } target = " _blank" >{ p .url } </a ></p >
64+ }
6265 { (!! p .youtubeVideoID ) &&
6366 <iframe width = " 560" height = " 315" src = { ` https://www.youtube.com/embed/${p .youtubeVideoID } ` } title = " YouTube video player" frameborder = " 0" allow = " accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy = " strict-origin-when-cross-origin" allowfullscreen ></iframe >
6467 }
Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ export const frontmatter = fm({
5757 { (!! p .synopsis ) &&
5858 <p >{ p .synopsis } </p >
5959 }
60+ { (!! p .url ) &&
61+ <p >Web link: <a href = { p .url } target = " _blank" >{ p .url } </a ></p >
62+ }
6063 { (!! p .youtubeVideoID ) &&
6164 <iframe width = " 560" height = " 315" src = { ` https://www.youtube.com/embed/${p .youtubeVideoID } ` } title = " YouTube video player" frameborder = " 0" allow = " accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy = " strict-origin-when-cross-origin" allowfullscreen ></iframe >
6265 }
Original file line number Diff line number Diff line change @@ -229,7 +229,11 @@ export const frontmatter = fm({
229229 <li >[<AYt p =" /c/VivaLaDirtLeague" />] <span class =" e" >Viva La Dirt League</span ></li >
230230 <li >[<AWeb href =" https://waitbutwhy.com/" />] <span class =" e" >Wait But Why</span ></li >
231231 <li >[<AYt p =" /user/WongFuProductions" />] <span class =" e" >Wong Fu Productions</span ></li >
232- <li >[<AWeb href =" https://xkcd.com/" />] <span class =" e" >xkcd</span ></li >
232+ <li >[<AWeb href =" https://xkcd.com/" />] <span class =" e" >xkcd</span >
233+ <ul >
234+ <li >[<AYt p =" @xkcd_whatif" />] <span class =" e" >xkcd's What If?</span ></li >
235+ </ul >
236+ </li >
233237</ul >
234238
235239
You can’t perform that action at this time.
0 commit comments