The original Yohaku can only display one ICP filing. Configure it in the cloud function section:
{
"footer": {
"otherInfo": {
"date": "2020-{{now}}",
"icp": {
"text": "萌 ICP 备 20250030 号",
"link": "https://icp.gov.moe/?keyword=20250030"
}
},
//....
However, it becomes a dilemma when you have both a Moe ICP and a standard ICP filing.
You can display multiple filing numbers by modifying two files:
Add the newly defined moeicp around line 36 in app.config.d.ts:
// Around line 36
export interface OtherInfo {
date: string
icp?: {
text: string
link: string
}
moeicp?: {
text: string
link: string
}
}
Add the newly defined moeicp around line 36 in FooterInfo.tsx:
CodeBlock Loading...
Then, change the cloud function configuration as follows to display both filing numbers:
CodeBlock Loading...