fediparty/themes/starter/layout/knowledge.ejs

28 lines
579 B
Plaintext
Raw Normal View History

2018-03-12 19:31:14 +00:00
---
layout: layout
---
<%
const data = site.data.knowledge.list;
%>
2018-03-12 19:31:14 +00:00
<%- 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>
<% } %>
2018-03-12 19:31:14 +00:00
</ul>
<%- partial('_partial/buttons') %>
</main>