Commits

Anonymous committed f9e72ad

Preprocessed *_html fields already contain outer elements.

Comments (0)

Files changed (13)

templates/Chris Pressey's Lingography.html

     <p><a href="{{ filekey(thing) }}">{{ thing }}</a> ({{ data[thing].inception_date }})</p>
     
     {% if data[thing].description_html %}
-      <p>{{ data[thing].description_html }}</p>
+      {{ data[thing].description_html }}
     {% endif %}
     
     {% if data[thing].commentary_html %}
-      <p>{{ data[thing].commentary_html }}</p>
+      {{ data[thing].commentary_html }}
     {% endif %}
     
     {% if data[thing].sample_html %}
         {% endif %}
       </p>
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
     </li>
   {%- endif -%}

templates/Collection.html

     <li>
       <p><a href="{{ filekey(thing) }}">{{ thing }}</a></p>
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
     </li>
   {% endif %}

templates/Distribution.html

       {% endif %}
     </p>
     {% if description_html %}
-      <p>{{ description_html }}</p>
+      {{ description_html }}
     {% endif %}
   </section>
 {% endblock description %}

templates/Gallery.html

           <a class="online" href="{{ data[thing].exhibit_link }}">{{ thing }}</a>
         </p>
         {% if data[thing].description_html %}
-          <p>{{ data[thing].description_html }}</p>
+          {{ data[thing].description_html }}
         {% endif %}
         {% if data[thing].commentary_html %}
-          <p>{{ data[thing].commentary_html }}</p>
+          {{ data[thing].commentary_html }}
         {% endif %}
       </li>
     {%- endif -%}

templates/Games by Chris Pressey.html

       <p><a href="{{ filekey(thing) }}">{{ thing }}</a> ({{ data[thing].inception_date }})</p>
 
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
 
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
 
       {# screenshot #}
          ({{ data[thing].inception_date }})
       </p>
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
     </li>
   {%- endif -%}

templates/Implementation.html

       {%- endif -%}.
     </p>
     {% if description_html %}
-      <p>{{ description_html }}</p>
+      {{ description_html }}
     {% endif %}
   </section>
 {% endblock description %}

templates/LoUIE.html

     <li>
       <p><a href="{{ filekey(thing) }}">{{ thing }}</a> ({{ data[thing].inception_date }})</p>
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
     </li>
   {%- endif -%}

templates/Music by What is this I don't even.html

         {% endfor %}
       </p>
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
     </li>
   {%- endif -%}
         {% endif %}
       </p>
       {% if data[impl].description_html %}
-        <p>{{ data[impl].description_html }}</p>
+        {{ data[impl].description_html }}
       {% endif %}
       {% if data[impl].commentary_html %}
-        <p>{{ data[impl].commentary_html }}</p>
+        {{ data[impl].commentary_html }}
       {% endif %}
     </li>
   {%- endif -%}

templates/Ranking.html

   <li>
     <p><a href="{{ filekey(thing) }}">{{ thing }}</a></p>
     {% if data[thing].description_html %}
-      <p>{{ data[thing].description_html }}</p>
+      {{ data[thing].description_html }}
     {% endif %}
     {% if data[thing].commentary_html %}
-      <p>{{ data[thing].commentary_html }}</p>
+      {{ data[thing].commentary_html }}
     {% endif %}
   </li>
 {% endfor %}

templates/Tools by Chris Pressey.html

       <p>{{ link(thing) }}</p>
 
       {% if data[thing].description_html %}
-        <p>{{ data[thing].description_html }}</p>
+        {{ data[thing].description_html }}
       {% endif %}
 
       {% if data[thing].commentary_html %}
-        <p>{{ data[thing].commentary_html }}</p>
+        {{ data[thing].commentary_html }}
       {% endif %}
 
       {% if data[thing].online_implementations %}

templates/base.html

       {% if description %}
         <section id="description">
           <h2>Description</h2>
-          <p>{{ description_html }}</p>
+          {{ description_html }}
         </section>
       {% endif %}
     {% endblock description %}

templates/include/recommended_implementation.html

 {#
-  This might be better off as a macro but...
-  Expects req_key to be set to the key of the thing required.
-  req_plat_key can also be set.
+  Includeable template fragment for rendering a requirement for an
+  implementation.
+  Expects req_key to be set to the key of the node which is a requirement.
+  req_plat_key can also be set to indicate a required platform.
+  XXX this might be better off as a macro.
 #}
 
 {# special case to make this not suck #}

templates/type.html

       This is a list of all {{ key|lower }}s with entries in {{ link('Chrysoberyl') }}.
     </p>
     {% if description %}
-      <p>{{ description_html }}</p>
+      {{ description_html }}
     {% endif %}
   </section>
 {% endblock description %}