add the fontawesome iconset
Project description
Render Engine FontAwesome
Adds the fontawesome iconset to render engine themes.
Converts <i class="fas fa-home"></i>
to .
How to use this theme
-
Install the theme
pip install render_engine_fontawesome
-
Import the theme into your project
from render_engine import Site from render_engine_fontawesome import fontawesome app = Site() app.register_theme(fontawesome) app.site_vars['theme'].update({fontawesome: 'your token here'})
Required Settings
Fontawesome now requires a token to be used. You can get a free token from fontawesome.com.
The plugin looks for the fontawesome
key in site_vars['theme']
key. The value should be your token.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file render-engine-fontawesome-2024.1.1a1.tar.gz
.
File metadata
- Download URL: render-engine-fontawesome-2024.1.1a1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450250c84fd33b1297cd4acffcc1a007fdb775b46f2633772e8e17b613fc4afb |
|
MD5 | 7391a01242d7f0d9158dfd0b6da5a47c |
|
BLAKE2b-256 | 6244ce6610411a043b7a7422c8dfb18567dc8f7a916d92bbcb880254154e2924 |
File details
Details for the file render_engine_fontawesome-2024.1.1a1-py3-none-any.whl
.
File metadata
- Download URL: render_engine_fontawesome-2024.1.1a1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915a6b4e91522ee64e768df9b3c01bf351135f585dc1e660b1d699e89c943481 |
|
MD5 | 7e4da979b6b11a14a110132514d9a9e7 |
|
BLAKE2b-256 | 8eb0fcce1f1f3058598bb5a802ce94f3f34c62e62ff608976ecccb1963bdda89 |