Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

modified: templates/_leftbar.html

modified:   templates/page.html
modified:   views.py
  • Loading branch information...
commit 0d4ab4031c2012ee0bb60340a4ac248613bb67e3 1 parent 15baf84
David authored
1  templates/_leftbar.html
@@ -8,6 +8,7 @@
8 8 <li><a href="/">首页</a></li>
9 9 <li><a href="http://paste.davidx.me/">大卫粘贴</a></li>
10 10 <li><a href="/page/about/">关于davidx</a></li>
  11 + <li><a href="/rss.xml">订阅本博客</a></li>
11 12 </div>
12 13 <div class="side_bar_component">
13 14 <h2>标签</h2>
2  templates/page.html
@@ -3,7 +3,7 @@
3 3 {% block content %}
4 4 <div id="blog_list">
5 5 <div class="blog_each">
6   - <div>{{ page.content }}</div>
  6 + <div>{{ page.content | content }}</div>
7 7 </div>
8 8 </div>
9 9 <br class="clearfloat" />
2  views.py
@@ -143,7 +143,7 @@ def GET(self):
143 143
144 144 rss = rss + '</channel>\n'
145 145 rss = rss + '</rss>\n'
146   - #web.header('Content-Type', 'text/xml')
  146 + web.header('Content-Type', 'text/xml')
147 147 rss = rss.encode('utf-8')
148 148 return rss
149 149

0 comments on commit 0d4ab40

Please sign in to comment.
Something went wrong with that request. Please try again.