18 lines
449 B
Text
18 lines
449 B
Text
|
<section class="compareView">
|
||
|
<img src="<%= image %>" alt="<%= alt %>" title="<%= alt %>" width="256" height="128"/>
|
||
|
<h2><%= title %></h2>
|
||
|
<ul>
|
||
|
<% description.forEach(([ summary, content ]) => { %>
|
||
|
<li>
|
||
|
<% if (content) { %>
|
||
|
<details>
|
||
|
<summary><%= summary %></summary>
|
||
|
<p><%= content %></p>
|
||
|
</details>
|
||
|
<% } else { %>
|
||
|
<span><%= summary %></span>
|
||
|
<% } %>
|
||
|
</li>
|
||
|
<% }) %>
|
||
|
</ul>
|
||
|
</section>
|