diff options
| author | June <liumy.f@outlook.com> | 2022-11-28 15:13:34 +0800 |
|---|---|---|
| committer | June <liumy.f@outlook.com> | 2022-11-28 15:13:34 +0800 |
| commit | 71e55a893702ea6e1a15a71a3d0e2248673794f1 (patch) | |
| tree | 86f934391457b5dc379445504a75b77a5faae4c0 | |
| parent | 22331ce7dcf0b4fe78e002c12576d82edcbc4a29 (diff) | |
Update README.mdmaster
| -rw-r--r-- | README.md | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -23,6 +23,8 @@ - [x] Custom CSS and JS - [x] Custom 404 Page - [x] Custom Favicon +- [x] Custom Social Icons + ## Installation @@ -37,7 +39,6 @@ To use it, copy the [config.toml](exampleSite/config.toml) in the root directory ## Content - ### Archive Page add `archive/_index.md` to your `content` folder. This file will be used as the archive page. @@ -46,6 +47,28 @@ add `archive/_index.md` to your `content` folder. This file will be used as the like the archive page, add `about/_index.md` to your `content` folder. + +## Social Icons + +The default data of social links is located in [social.toml](assets/data/social.toml) + +You can directly set your `id` to get a default social link icon + +```toml +[params.social] +mastodon = "@xxxxx" +``` +Or You can set more options through a dict: + +```toml +[params.social.mastodon] +weight = 56 +icon = "fab fa-mastodon" +format = "https://mastodon.social/%v" +id = "johndoe" +url = "" +``` + ## License [Apache](LICENSE) |
