Files
@ 9b48cc94e651
Branch filter:
Location: website/www/conservancy/templates/blog/entry_partial.html - annotation
9b48cc94e651
1.6 KiB
text/html
Continuing saga of the sizing chart problems for original shirts
Gildan removed the sizing chart entirely from their website again
after yet another redesign. Originally, we deep-linked into files in
their CDN for the charts, but it appears that in 5c72071 that I
introduced cut-and-paste error on the sizing charts. I cannot find
the original links, but finally I simply decided we'd mirror the
files in our CDN, which is where these now link to.
I suspect that I didn't do this to start for worrying about copyright
infringement, but upon second thought, I think it's very reasonably
fair use for us to distribute these images. We bought a lot of
t-shirts from Gildan and just trying to sell through.
Gildan removed the sizing chart entirely from their website again
after yet another redesign. Originally, we deep-linked into files in
their CDN for the charts, but it appears that in 5c72071 that I
introduced cut-and-paste error on the sizing charts. I cannot find
the original links, but finally I simply decided we'd mirror the
files in our CDN, which is where these now link to.
I suspect that I didn't do this to start for worrying about copyright
infringement, but upon second thought, I think it's very reasonably
fair use for us to distribute these images. We bought a lot of
t-shirts from Gildan and just trying to sell through.
e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d 170aa38bb5c3 e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d 477e9f4c0291 bea2e1110880 bea2e1110880 e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d e7c1171b6e3d | {% comment %}
This partial requires these parameters:
* `entry`: The BlogEntry object to render.
This partial accepts these optional parameters:
* `show`: How much of the BlogEntry to render. Accepted values are
"headline", "dateline", "summary", "summary+tags", and "body".
Every value will render the parts listed before it, except "body"
doesn't include "summary". Default "body".
* `htag`: Name of the HTML tag to render the entry headline. Default "h3".
{% endcomment %}
<div class="blog-entry">
<{{ htag|default:"h3" }} class="clear"
>{% if show|default:"body" != "body" %}<a href="{{ entry.get_absolute_url }}"
>{% endif %}{{ entry.headline|safe }}{% if show|default:"body" != "body" %}</a>{% endif %}</{{ htag|default:"h3" }}>
{% if show != "headline" %}
<p class="date">by <span class="author">{{ entry.author.formal_name }}</span>
on {{ entry.pub_date|date:"F j, Y" }}
</p>
{% if show != "dateline" %}
{% if show|default:"body" == "body" %}
{{ entry.body|safe }}
{% else %}
{{ entry.summary|safe }}
{% endif %}
{% if show|default:"body" != "body" %}
<p><a class="continued" href="{{ entry.get_absolute_url }}">Read More…</a></p>
{% endif %}
{% if show != "summary" %}
<p class="permalink"><a href="{{ entry.get_absolute_url }}">[permalink]</a></p>
{% endif %}
{% if show != "summary" and entry.tags.exists %}
<p class="blog-tags">Tags:
{% for tag in entry.tags.iterator %}
<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>
{% endif %}
{% endif %}{# show != "dateline" #}
{% endif %}{# show != "headline" #}
</div>
|