Author: sebb
Date: Tue Apr 24 00:43:02 2018
New Revision: 1829953

URL: http://svn.apache.org/viewvc?rev=1829953&view=rev
Log:
Clearer layout whilst still preserving the same output spacing

Modified:
    attic/site-jekyll/src/_layouts/project.html

Modified: attic/site-jekyll/src/_layouts/project.html
URL: 
http://svn.apache.org/viewvc/attic/site-jekyll/src/_layouts/project.html?rev=1829953&r1=1829952&r2=1829953&view=diff
==============================================================================
--- attic/site-jekyll/src/_layouts/project.html (original)
+++ attic/site-jekyll/src/_layouts/project.html Tue Apr 24 00:43:02 2018
@@ -60,7 +60,11 @@
     </tr>
     <tr>
       <td>Website</td>
-      {% if page.json.website == '#' %}<td>n/a</td>{% else %}<td><a href="{{ 
page.json.website }}">{{ page.json.website | replace: "http://",""; 
}}</a></td>{% endif %}
+{%- if page.json.website == '#' %}
+      <td>n/a</td>
+{%- else %}
+      <td><a href="{{ page.json.website }}">{{ page.json.website | replace: 
"http://",""; }}</a></td>
+{%- endif %}
     </tr>
     <tr>
       <td>Mailing List Archives</td>
@@ -114,8 +118,14 @@
 {%- endunless %}
     <tr>
       <td>Downloads</td>
-      {% if page.json.nodist %}<td>n/a</td>{% else %}<td><a 
href="http://archive.apache.org/dist/{{ page.json.dist 
}}/">archive.apache.org/dist/{{ page.json.dist }}/</a> 
-{% if page.json.nokeys %}      <!-- hiding KEYS -->{% else %}      | <a 
href="http://archive.apache.org/dist/{{ page.json.dist }}/KEYS">KEYS</a>
+{%- if page.json.nodist %}
+      <td>n/a</td>
+{%- else %}
+      <td><a href="http://archive.apache.org/dist/{{ page.json.dist 
}}/">archive.apache.org/dist/{{ page.json.dist }}/</a>
+{%- if page.json.nokeys %} 
+      <!-- hiding KEYS -->
+{%- else %} 
+      | <a href="http://archive.apache.org/dist/{{ page.json.dist 
}}/KEYS">KEYS</a>
 {%- endif %}
       </td>{% endif %}
     </tr>


Reply via email to