Skip to content

Commit

Permalink
Go
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Dec 30, 2023
1 parent 7e2c79b commit d4c45b1
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions greeking/templatetags/greeking_tags.py
Expand Up @@ -2,7 +2,6 @@
from django.utils.html import format_html

from greeking import quotables
from greeking.fillmurray import get_url as get_fillmurray_url
from greeking.jabberwocky import get_grafs
from greeking.jabberwocky import get_html as get_jabberwocky_html
from greeking.latimes_ipsum import get_quote, get_story
Expand Down Expand Up @@ -46,24 +45,6 @@ def latimes_quote():
return get_quote()


@register.simple_tag
def fillmurray(width, height):
"""
Creates a random image of Bill Murray at the provided width and height.
Usage format:
{% fillmurray [width] [height] %}
Example usage:
Color image at 250 wide and 400 high
{% fillmurray 250 400 %}
"""
url = get_fillmurray_url(width, height)
return format_html('<img src="{}"/>', url)


@register.simple_tag
def placekitten(width, height):
"""
Expand Down

0 comments on commit d4c45b1

Please sign in to comment.