summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/fb-feed.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/design/templates/fb-feed.xml b/design/templates/fb-feed.xml
index e27b60d..471b64b 100644
--- a/design/templates/fb-feed.xml
+++ b/design/templates/fb-feed.xml
@@ -22,18 +22,18 @@
<meta property="op:markup_version" content="v1.0">
<meta property="fb:article_style" content="default">
<link rel="canonical" href="https://luxagraf.net{{object.get_absolute_url}}">
- </head>
+ </head>
<body>
<article>
<header>
<h1>{{object.title}}</h1>
- <time class="op-published" datetime="2016-02-17T19:11:17.905Z"></time>
- <time class="op-modified" dateTime="2016-02-17T19:35:25.271Z"></time>
+ <time class="op-published" datetime="{{object.pub_date}}"></time>
+ <time class="op-modified" dateTime="{{object.pub_date}}"></time>
<address><a>luxagraf</a></address>
</header>
- {{object.body_markdown|process for Facebook}} #wrap images in figure tags
+ {{object.body_html|}}
<footer>
- <small>&copy;{%now|date:"Y"%} luxagraf.net</small>
+ <small>&copy;{{object.pub_date|date:"Y"}} luxagraf.net</small>
</footer>
</article>
</body>
@@ -43,5 +43,6 @@
<link>https://luxagraf.net{{object.get_absolute_url}}</link>
<guid>https://luxagraf.net{{object.get_absolute_url}}</guid>
</item>
+ {% endfor %}
</channel>
</rss>