mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-23 00:51:28 +00:00
19 lines
785 B
Plaintext
19 lines
785 B
Plaintext
|
|
<header class="hero-header" style="background: url('<% if (page.banner) { %> <%= page.banner %> <% } else { %> /img/knowledge-bg.jpg <% } %>') <% if (page.percent) { %> <%= page.percent %> <% } else { %> 50% 50% <% } %> no-repeat;">
|
|
<div class="heading">
|
|
<h1><%= page.title %></h1>
|
|
<h4 class="subheading"><%= page.subtitle || "" %></h4>
|
|
<% if (page.authors) { %>
|
|
<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>
|
|
<% } %>
|
|
</div>
|
|
</header>
|