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 hashes)

Uploaded Source

Built Distribution

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