public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
Fixes duplicate body bug in default theme

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2421 
567b1171-46fb-0310-a4c9-b4bef9110e78
Caged (author)
Sun Oct 29 22:06:57 -0800 2006
commit  dcffbf69d51d3fcfe624c9d719a38ea205584820
tree    6489bbf3448fca6d108888fb77d35b0e10f5c2d1
parent  32e78dffd631eddbdc506823d48c20a21b5f3e52
...
1
2
3
 
 
 
4
5
6
...
1
2
 
3
4
5
6
7
8
0
@@ -1,6 +1,8 @@
0
 * SVN *
0
 
0
-* Show excerpt by default on edit if the article has one
0
+* Fixed duplicate body bug in default Simpla theme when article has no excerpt
0
+
0
+* Show excerpt by default on admin edit if the article has one
0
 
0
 * big change to templates - store current site template in the Site db record. Store templates in /themes/site-#{id}/*.
0
   no more current/other/rollback bs.
...
11
12
13
 
 
 
14
15
16
17
18
19
...
11
12
13
14
15
16
17
18
 
19
20
21
0
@@ -11,9 +11,11 @@
0
      <a href="{{ article.url }}">Read the rest of this entry</a>
0
      {% endunless %}
0
     {% else %}
0
+ {% unless mode == 'single' %}{{ article.body }}{% endunless %}
0
+ {% endif %}
0
+ {% if mode == 'single' %}
0
      {{ article.body }}
0
     {% endif %}
0
- {% if mode == 'single' %}{{ article.body }}{% endif %}
0
   </div>
0
   
0
   <div class="entrymeta">

Comments

    No one has commented yet.