Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
show an ad on file downloads because you guys cost me money
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cramer authored and David Cramer committed Feb 28, 2010
1 parent 6156b53 commit b1e0fa3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pastethat/templates/pastes/view.html
Expand Up @@ -60,6 +60,17 @@ <h1>{{ paste.get_name() }}</h1>
</tr>
</tbody>
</table>
<script type="text/javascript"><!--
google_ad_client = "pub-5438764616465181";
/* 300x250, created 2/27/10 */
google_ad_slot = "3882677740";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
{% elif paste.type == PASTE_TYPE_IMAGE %}
<img src="{{ paste.file.url }}" alt="preview" style="max-width: 99%;" />
<div class="share" id="share">
Expand Down

0 comments on commit b1e0fa3

Please sign in to comment.