updated readme for iconlinks and supported icons

This commit is contained in:
Gabriele Musco 2021-04-14 11:27:24 +02:00
parent 09b4084830
commit aac07e9b5b
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
1 changed files with 23 additions and 19 deletions

View File

@ -57,29 +57,11 @@ summaryLength = 70 # number of words for article summaries
plausibleScriptUrl = "https://something.com/..."
plausibleDomain = "gabmus.org"
# the links array shows links with icons (if explicitly supported)
# it's an array of arrays containing two strings: name and link
# the supported icons are:
# gitlab
# gnome
# youtube
# email
# twitter
# instagram
# facebook
# github
# linkedin
# telegram
# phone
# rss
# WARNING: deprecated! Use [[menu.icons]] instead, look below
# links = [
# ["GitLab", "https://gitlab.com/gabmus"],
# ["GNOME", "https://gitlab.gnome.org/gabmus"],
# ["YouTube", "https://youtube.com/TechPillsNet"],
# ["Email", "mailto:gabmus@disroot.org"]
# ["YouTube", "https://youtube.com/TechPillsNet"]
# ]
# you can customize all of the colors in this theme
@ -125,6 +107,28 @@ summaryLength = 70 # number of words for article summaries
home = ["HTML", "JSON"]
```
### Supported icons
For the `[[menu.icons]]` menu. They match identifier, name and url can be whatever. Here's a list of supported identifiers:
- gitlab
- gnome
- youtube
- email
- twitter
- instagram
- facebook
- github
- linkedin
- telegram
- xmpp
- pleroma
- peertube
- matrix
- mastodon
- phone
- rss
## Inject custom content
Ficurinia supports injecting custom content into the theme. There are several files you can create in `layouts/partials/inject` that will be included inside the theme in different places.