Mercurial > public > sg101
annotate gpp/templates/comments/markdown_preview.html @ 20:c0d0779b266f
Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 20:41:37 +0000 |
parents | dbd703f7d63a |
children | 06503edcc56b |
rev | line source |
---|---|
gremmie@1 | 1 {% load markup %} |
gremmie@1 | 2 {% load smiley_tags %} |
gremmie@1 | 3 <?xml version="1.0" encoding="UTF-8"?> |
gremmie@1 | 4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
gremmie@1 | 5 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
gremmie@1 | 6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
gremmie@1 | 7 <head> |
gremmie@1 | 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
gremmie@1 | 9 <title>Markdown Preview</title> |
gremmie@1 | 10 <link rel="stylesheet" type="text/css" href="~/templates/preview.css" /> |
gremmie@1 | 11 </head> |
gremmie@1 | 12 {{ data|markdown:"safe"|smilify }} |
gremmie@1 | 13 </body> |
gremmie@1 | 14 </html> |