Skip to content

philipn/django-noun-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Django template tag to render noun icons from the totally sweet Noun Project!

http://mathburritos.org/misc/icons_for_github.png

Note

2015-7: This project may need updating, as it looks like the noun project API endpoints have changed.

Installation

  1. pip install django-noun-project or, from source, python setup.py install
  2. Add noun_project to your INSTALLED_APPS

Usage

Inside a template:

{% load noun_icon %}

then simply:

{% noun_icon "coffee" %}

To make a pretty coffee icon appear!

Examples:

{% noun_icon "coffee" width="50px" %}

{% noun_icon "coffee" width="50px" height="200px" %}

{% noun_icon "coffee" as coffee %}

About

Django template tag for Noun Project icons!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages