💬 Add more links
This commit is contained in:
parent
6d1ec072cc
commit
b8984694e3
2 changed files with 50 additions and 1 deletions
|
|
@ -8,6 +8,11 @@ async function compile() {
|
|||
const confToml = await readFile(confPath, { encoding: 'utf8' });
|
||||
const config = parse(confToml);
|
||||
|
||||
config.text = function () {
|
||||
const string = this.icon;
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
};
|
||||
|
||||
const tempPath = resolve('./index.html');
|
||||
const template = await readFile(tempPath, { encoding: 'utf8' });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue