diff options
Diffstat (limited to 'juick-www/src/main/resources/layouts')
-rw-r--r-- | juick-www/src/main/resources/layouts/content.html | 27 | ||||
-rw-r--r-- | juick-www/src/main/resources/layouts/rss.xml | 38 |
2 files changed, 0 insertions, 65 deletions
diff --git a/juick-www/src/main/resources/layouts/content.html b/juick-www/src/main/resources/layouts/content.html deleted file mode 100644 index ef12382cb..000000000 --- a/juick-www/src/main/resources/layouts/content.html +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8" /> - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> - <script type="text/javascript" src="/scripts.js"></script> - <link rel="stylesheet" type="text/css" href="/style.css" /> - {% block headers %} - {{ headers | raw }} - {% endblock %} - <title>{{ title }}</title> - <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" /> - <link rel="icon" href="//i.juick.com/favicon.png" /> - </head> - <body> - {% include "views/partial/navigation.html" %} - <section id="content"> - {% block content %} - {% endblock %} - </section> - <aside id="column"> - {% block column %} - {% endblock %} - </aside> - {% include "views/partial/footer.html" %} - </body> -</html>
\ No newline at end of file diff --git a/juick-www/src/main/resources/layouts/rss.xml b/juick-www/src/main/resources/layouts/rss.xml deleted file mode 100644 index 23866c8ab..000000000 --- a/juick-www/src/main/resources/layouts/rss.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/' - xmlns:juick='http://juick.com/'> - <channel> - <atom:link href='http://rss.juick.com/{{ user.getName() }}/blog' rel='self' type='application/rss+xml'/> - <title>{{ user.getName() }} - Juick</title> - <link>http://juick.com/{{ user.getName() }}/</link> - <description>The latest messages by @{{ user.getName() }} at Juick</description> - <image> - <url>http://i.juick.com/a/{{ user.getUid() }}.png</url> - <title>{{ user.getName() }} - Juick</title> - <link>http://juick.com/{{ user.getName() }}/</link> - </image> - {% for msg in msgs %} - <item> - <link>http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }}</link> - <guid>http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }}</guid> - <title><![CDATA[@{{ msg.getUser().getName() }}: {% for tag in msg.getTags() %} *{{ tag }}{% endfor %}]]></title> - <description><![CDATA[{{ msg.getText() | raw }}]]></description> - <pubDate>{{ sdfRSS.format(msg.getDate()) }}</pubDate> - <comments>http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }}</comments> - {% for tag in msg.getTags() %} - <category>{{ tag }}</category> - {% endfor %} - {% if msg.getAttachmentType() is not empty %} - {% if msg.getAttachmentType() == "jpg" %} - <media:content url='http://i.juick.com/photos-1024/{{ msg.getMid() }}.jpg' type='image/jpeg'/> - <media:thumbnail url='http://i.juick.com/ps/{{ msg.getMid() }}.jpg'/> - {% elseif msg.getAttachmentType() == "png" %} - <media:content url='http://i.juick.com/photos-1024/{{ msg.getMid() }}.png' type='image/png'/> - <media:thumbnail url='http://i.juick.com/ps/{{ msg.getMid() }}.png'/> - {% endif %} - {% endif %} - <juick:user uid='{{ msg.getUser().getUid() }}'/> - </item> - {% endfor %} - </channel> -</rss> |