2018-03-12 20:31:14 +01:00
|
|
|
|
2018-11-16 23:44:50 +01:00
|
|
|
<header class="hero-header" style="background: #211d1f url('<% if (page.banner) { %> <%= page.banner %> <% } else { %> /img/knowledge-bg.jpg <% } %>') <% if (page.percent) { %> <%= page.percent %> <% } else { %> 50% 50% <% } %> no-repeat; background-size: cover;">
|
2018-03-12 20:31:14 +01:00
|
|
|
<div class="heading">
|
|
|
|
<h1><%= page.title %></h1>
|
|
|
|
<h4 class="subheading"><%= page.subtitle || "" %></h4>
|
2018-06-04 16:30:53 +02:00
|
|
|
<% if (page.authors) { %>
|
2018-07-05 03:18:42 +02:00
|
|
|
<strong class="author">By:
|
|
|
|
<% page.authors.map(function(author) { %>
|
|
|
|
<a href="<%= author.url %>"><%= author.name %>
|
|
|
|
<% if (author.network) { %>
|
|
|
|
<span class="hero-icon"><svg role="img"><use xlink:href="#icon-<%= author.network %>"></use></svg></span>
|
|
|
|
<% } %>
|
|
|
|
</a><i>,</i>
|
|
|
|
<% }) %>
|
|
|
|
</strong>
|
2018-06-04 16:30:53 +02:00
|
|
|
<% } %>
|
2018-03-12 20:31:14 +01:00
|
|
|
</div>
|
|
|
|
</header>
|