comparison page-index.c @ 75:b12491ceabfd

pasterd: begin of custom theme
author David Demelier <markand@malikania.fr>
date Wed, 15 Mar 2023 20:15:00 +0100
parents 67b3d13a5035
children fe78b16c694d
comparison
equal deleted inserted replaced
74:67b3d13a5035 75:b12491ceabfd
77 77
78 static inline json_t * 78 static inline json_t *
79 create_doc(const struct paste *pastes, size_t pastesz) 79 create_doc(const struct paste *pastes, size_t pastesz)
80 { 80 {
81 return json_pack("{ss so}", 81 return json_pack("{ss so}",
82 "pagetitle", "sci -- recent pastes", 82 "pagetitle", "paster -- recent pastes",
83 "pastes", create_pastes(pastes, pastesz) 83 "pastes", create_pastes(pastes, pastesz)
84 ); 84 );
85 } 85 }
86 86
87 void 87 void