Skip to content

Commit

Permalink
Don't do weird <img> tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Jacoby committed Dec 20, 2012
1 parent c5b6743 commit 2bd5082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/content/projects/index.html
Expand Up @@ -18,7 +18,7 @@ <h2><a href="{{ res.full_url }}">{{ res.meta.title }}</a></h2>
</header> </header>
{% refer to res.relative_path as post %} {% refer to res.relative_path as post %}


<p>{%if post.html('article>section>p:nth-child(1)') %}{{post.html('article>section>p:nth-child(1)') }}{% else %}{{ post.excerpt }}{% endif %}</p> <p>{%if post.excerpt %}{{ post.excerpt }}{% else %}{{post.html('article>section>p:nth-child(1)') }}{% endif %}</p>
{% if res.meta.thumbnail %} {% if res.meta.thumbnail %}
{% set image='img/listing_' + res.meta.thumbnail %} {% set image='img/listing_' + res.meta.thumbnail %}
<figure><img src="{{ media_url(image) }}"/></figure> <figure><img src="{{ media_url(image) }}"/></figure>
Expand Down
2 changes: 1 addition & 1 deletion site/content/projects/monotype-app.html
Expand Up @@ -4,7 +4,7 @@
date: 2010-10-09 14:20:34 date: 2010-10-09 14:20:34
thumbnail: monotype-composite-1.jpg thumbnail: monotype-composite-1.jpg
--- ---
{{ macros.render_figure("<img src='/media/img/monotype-composite-1.jpg'></img>" , "Garamond, Joanna, & Centaur.") }} {{ macros.render_figure("<img src='/media/img/monotype-composite-1.jpg'/>" , "Garamond, Joanna, & Centaur.") }}


{% mark excerpt %} {% mark excerpt %}
In the fine printing community, there is a slight kerfuffle around the aesthetic difference between type designed for letterpress printing and type designed for digital or offset printing. With the rise of photopolymer printing, many designers are using digital-native typefaces to print on film, which inevitably results in bulky, inelegant letterforms, as a digital type design doesn't account for the cross-sectional distribution of ink-on-paper. In the fine printing community, there is a slight kerfuffle around the aesthetic difference between type designed for letterpress printing and type designed for digital or offset printing. With the rise of photopolymer printing, many designers are using digital-native typefaces to print on film, which inevitably results in bulky, inelegant letterforms, as a digital type design doesn't account for the cross-sectional distribution of ink-on-paper.
Expand Down

0 comments on commit 2bd5082

Please sign in to comment.