Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
put sidebar back in on cartoons
Browse files Browse the repository at this point in the history
  • Loading branch information
thraxil committed Jul 31, 2008
1 parent a81a1e8 commit b8d56cb
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions fu/templates/article.html
Expand Up @@ -15,44 +15,37 @@
{% block content %}


<div id="faux">
<div id="main">

{% if article.cartoon %}

<h2 class="cartoon">{{ article.headline }}</h2>
{% else %}
<h2>{{ article.headline }}</h2>
{% endif %}

<div id="byline">
<div class="article-thumb">
<a href="/team/{{ article.author.first_name }}_{{ article.author.last_name }}/"><img src="{% thumbnail article.author.headshot 65x65 crop,upscale %}"
width="65" height="65" /></a>
</div>
<p><a href="/team/{{ article.author.first_name }}_{{ article.author.last_name }}/">{{ article.author.fullname}}</a></p>

</div>
<div class="clear"></div>

{% thumbnail article.image 850x30000 as cartoonimg %}
<img src="{{ cartoonimg.absolute_url }}" width="{{ cartoonimg.width }}" alt="{{ cartoonimg.height }}" />

{% if article.cartoon %}

{% thumbnail article.image 650x30000 as cartoonimg %}
<img src="{{ cartoonimg.absolute_url }}" width="{{ cartoonimg.width }}" alt="{{ cartoonimg.height }}" />
<div class="blurb">
{% if article.content %}
{{ article.content|markdown }}
{% endif %}
</div>

{% else %}
<div id="faux">
<div id="main">

<h2>{{ article.headline }}</h2>

<div id="byline">
<div class="article-thumb">
<a href="/team/{{ article.author.first_name }}_{{ article.author.last_name }}/"><img src="{% thumbnail article.author.headshot 65x65 crop,upscale %}"
width="65" height="65" /></a>
</div>
<p><a href="/team/{{ article.author.first_name }}_{{ article.author.last_name }}/">{{ article.author.fullname}}</a></p>
</div>
<div class="clear"></div>
{% else %}

{% if article.image %}
<div class="article-thumb">
Expand All @@ -73,6 +66,7 @@ <h2>{{ article.headline }}</h2>

{% endif %}


{% if article.tags.all %}
<hr />

Expand Down Expand Up @@ -152,7 +146,7 @@ <h3>comments</h3>
</div>
<div class="clear"></div>

{% if not article.cartoon %}

</div>


Expand Down Expand Up @@ -195,5 +189,5 @@ <h3>Tag cloud</h3>

</div>
</div>
{% endif %}

{% endblock %}

0 comments on commit b8d56cb

Please sign in to comment.