Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Bromann <github@christian-bromann.com>2021-09-29 14:19:47 +0300
committerGitHub <noreply@github.com>2021-09-29 14:19:47 +0300
commit8d51b8ba619af4504ad40386f6b452e50ec8a39b (patch)
treeef60e5a7a526bf6e8b2e29f735f8ff51d28fb1d4 /README.md
parent284736548ad97e5d84026ff982bca3aa92f5df0d (diff)
feat: Added support for Google Fonts (#255)
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 18dfa72..34499c3 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,7 @@ Anatole's aims to be minimalistic and sleek but still brings some great function
- Open Graph support
- MIT License
- Fontawesome 5.15.1 icons
+- Google Fonts support
- Custom CSS (optional)
- Custom JavaScript (optional)
- Medium like zoom for images
@@ -368,6 +369,18 @@ googleSiteVerify = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Replace the hash with the one Google provided you.
+### Google Fonts
+
+You can enable any [Google Font](https://fonts.google.com/) by selecting a font on the Google Font website and adding the `family` parameter of the font url to the `googleFonts` option in `[params]`, e.g.:
+
+```toml
+[params]
+googleFonts = [
+ "Indie+Flower",
+ "Roboto:ital,wght@0,100;0,400;0,700;1,400"
+]
+```
+
### Beautiful math functions
```toml