Skip to main content

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

  1. Install the theme

    pip install render_engine_fontawesome
    
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

render-engine-fontawesome-2024.1.1a1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file render-engine-fontawesome-2024.1.1a1.tar.gz.

File metadata

File hashes

Hashes for render-engine-fontawesome-2024.1.1a1.tar.gz
Algorithm Hash digest
SHA256 450250c84fd33b1297cd4acffcc1a007fdb775b46f2633772e8e17b613fc4afb
MD5 7391a01242d7f0d9158dfd0b6da5a47c
BLAKE2b-256 6244ce6610411a043b7a7422c8dfb18567dc8f7a916d92bbcb880254154e2924

See more details on using hashes here.

File details

Details for the file render_engine_fontawesome-2024.1.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for render_engine_fontawesome-2024.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 915a6b4e91522ee64e768df9b3c01bf351135f585dc1e660b1d699e89c943481
MD5 7e4da979b6b11a14a110132514d9a9e7
BLAKE2b-256 8eb0fcce1f1f3058598bb5a802ce94f3f34c62e62ff608976ecccb1963bdda89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page