diff --git a/compile.js b/compile.js index 2f1d073..e72e665 100644 --- a/compile.js +++ b/compile.js @@ -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' }); diff --git a/config.toml b/config.toml index e1729cd..27e9475 100644 --- a/config.toml +++ b/config.toml @@ -8,6 +8,50 @@ url = "https://fosstodon.org/@danjones000" [[links]] icon = "blog" +la = "las" text = "Dan's Musings" url = "https://goodevilgenius.org" -la = "las" \ No newline at end of file + +[[links]] +icon = "swatchbook" +la = "las" +text = "Résumé" +url = "https://danielrayjones.com/" + +[[links]] +icon = "code-branch" +la = "las" +text = "Codeberg" +url = "https://codeberg.org/danjones000/" + +[[links]] +icon = "gitlab" +url = "https://gitlab.com/danjones000" + +[[links]] +icon = "github" +url = "https://github.com/goodevilgenius" + +[[links]] +icon = "linkedin" +text = "LinkedIn" +url = "https://www.linkedin.com/in/DanJones000/" + +[[links]] +icon = "goodreads" +url = "https://www.goodreads.com/user/show/2404213-dan-jones" + +[[links]] +icon = "lastfm" +text = "Last.FM" +url = "https://www.last.fm/user/dan000" + +[[links]] +icon = "telegram" +url = "https://t.me/danjones" + +[[links]] +icon = "at" +la = "las" +text = "Email" +url = "mailto:danjones@goodevilgenius.org"