summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJune <liumy.f@outlook.com>2022-11-28 15:13:34 +0800
committerJune <liumy.f@outlook.com>2022-11-28 15:13:34 +0800
commit71e55a893702ea6e1a15a71a3d0e2248673794f1 (patch)
tree86f934391457b5dc379445504a75b77a5faae4c0
parent22331ce7dcf0b4fe78e002c12576d82edcbc4a29 (diff)
Update README.mdmaster
-rw-r--r--README.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 586a0a3..4ffa9d4 100644
--- a/README.md
+++ b/README.md
@@ -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)