Selaa lähdekoodia

Remove white spaces

Talha Mansoor 11 vuotta sitten
vanhempi
commit
f7b83b1170
2 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 7 7
      templates/article.html
  2. 1 1
      templates/page.html

+ 7 - 7
templates/article.html

@@ -55,19 +55,19 @@
                 {% if previous_article %}
                 {% set ptitle = previous_article.title|striptags %}
                 {% set pv_title = ptitle %}
-                    {%if previous_article.subtitle %} 
+                    {%if previous_article.subtitle %}
                         {% set pv_title = ptitle + ' ' +  '<small>' + previous_article.subtitle + '</small>' %}
                         {% set ptitle = ptitle + ' - ' + previous_article.subtitle %}
-                    {% endif %} 
+                    {% endif %}
                 <li class="previous_article">« <a href="{{ SITEURL }}/{{ previous_article.url }}" title="Previous: {{ ptitle }}">{{ pv_title }}</a></li>
                 {% endif %}
                 {% if next_article %}
                 {% set ntitle = next_article.title|striptags %}
                 {% set nv_title = ntitle %}
-                    {%if next_article.subtitle %} 
+                    {%if next_article.subtitle %}
                         {% set nv_title = ntitle + ' ' +  '<small>' + next_article.subtitle + '</small>' %}
                         {% set ntitle = ntitle + ' - ' + next_article.subtitle %}
-                    {% endif %} 
+                    {% endif %}
                 <li class="next_article"><a href="{{ SITEURL }}/{{ next_article.url }}" title="Next: {{ ntitle }}">{{ nv_title }}</a> »</li>
                 {% endif %}
             </ul>
@@ -78,7 +78,7 @@
         </div>
         <section>
         <div class="span2" style="float:right;font-size:0.9em;">
-            {% if article.date %} 
+            {% if article.date %}
             <h4>Published</h4>
             {% set day = article.date.strftime('%d')|int %}
             <time pubdate="pubdate" datetime="{{ article.date.isoformat() }}">{{ article.date.strftime('%b') }} {{ day }} {{- article.date.strftime(', %Y') }}</time>
@@ -86,11 +86,11 @@
             {% include 'last_updated.html' %}
             {% if article.category %}
             <h4>Category</h4>
-            <a class="category-link" href="{{ SITEURL }}/categories.html#{{ category.slug }}-ref">{{ article.category }}</a> 
+            <a class="category-link" href="{{ SITEURL }}/categories.html#{{ category.slug }}-ref">{{ article.category }}</a>
             {% endif %}
             {% if article.tags %}
             <h4>Tags</h4>
-            <ul class="list-of-tags tags-in-article"> 
+            <ul class="list-of-tags tags-in-article">
                 {% for tag in article.tags|sort %}
                 <li><a href="{{ SITEURL }}/tags.html#{{ tag.slug }}-ref">{{ tag }}
                     {% for aTag, tagged_articles in tags if aTag == tag %}

+ 1 - 1
templates/page.html

@@ -41,7 +41,7 @@
         </div>
         <section>
         <div class="span2" style="float:right;font-size:0.9em;">
-            {% if page.date %} 
+            {% if page.date %}
             <h4>Published</h4>
             {% set day = page.date.strftime('%d')|int %}
             <time pubdate="pubdate" datetime="{{ page.date.isoformat() }}">{{ page.date.strftime('%b') }} {{ day }} {{- page.date.strftime(', %Y') }}</time>