Commits

Kit Roed  committed 4acae9b

Hide "Tags:" label when none. Moved post footer style into stylesheet.

Also removed reference to Tumblr background-image resource.

  • Participants
  • Parent commits cdbb860

Comments (0)

Files changed (2)

File PostView.ascx

     <h1 class ="post-title"><a href="<%=Post.RelativeLink %>" class="taggedlink"><%=Server.HtmlEncode(Post.Title) %></a></h1>
     <div class="go"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
     <div class="description">
+    <% if (Post.Tags.Count > 0)
+       { %>
       <p class="tags">Tags: <%=TagLinks(" ") %></p>
+    <%} %>
       <p class="categories"><%=CategoryLinks(", ") %></p>
       <%=Rating %>
     </div>
   </div>
-  <div class="footer" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); padding-top: 20px; padding-right: 0px; padding-bottom: 20px; padding-left: 0px; font-size: 10px; text-align: left; margin-bottom: 2.5em; background-position: initial initial; background-repeat: initial initial; ">    
+  <div class="footer">    
     <%=AdminLinks %>
 
     <% if (BlogEngine.Core.BlogSettings.Instance.ModerationType == BlogEngine.Core.BlogSettings.Moderation.Disqus)
     background-attachment:initial;
     background-clip:initial;
     background-color:#FFFFFF;
-    background-image:url(http://static.tumblr.com/bwtvnaf/YIzkhqyas/input_bg.gif);
     background-origin:initial;
     background-position:50% 0;
     background-repeat:repeat no-repeat;
     list-style-type:none;
     margin-right:2px;
 }
+div.footer {
+    padding-top: 20px; 
+    padding-right: 0px;
+    padding-bottom: 20px;
+    padding-left: 0px;
+    margin-bottom: 2.5em;
+}
 .post h2 {
     font-size:1.3em;
 }