💬 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' });
|
||||
|
||||
|
|
|
|||
46
config.toml
46
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"
|
||||
|
||||
[[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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue