fediparty/themes/starter/layout/knowledge.ejs
2018-07-05 04:18:42 +03:00

28 lines
579 B
Plaintext

---
layout: layout
---
<%
const data = site.data.knowledge.list;
%>
<%- partial('_partial/heroheader') %>
<main class="contents">
<h4 class="section-title">
<svg class="icon-share" role="img" aria-labelledby="f-share">
<title id="f-share">share icon</title>
<use xlink:href="#icon-share">
</svg><span><%- __('share') %></span>
</h4>
<ul class="article-list">
<% for (item in data) { %>
<li>
<a href="<%= data[item].url %>"><%= data[item].title %></a>
</li>
<% } %>
</ul>
<%- partial('_partial/buttons') %>
</main>