💬 Add more links

This commit is contained in:
Dan Jones 2023-01-01 16:46:05 -06:00
commit b8984694e3
2 changed files with 50 additions and 1 deletions

View file

@ -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' });