AvalonDocumentationEngine/views/system/fullwidth.ejs
MeowcaTheoRange 1b9904aa02 Whee
2023-01-05 14:58:03 -06:00

15 lines
No EOL
476 B
Text

<div class="fullwidthlink <%- redirect ? "showsearch" : "" %>" style="background-color: <%- data.color ?? "var(--main-fg)" %>;">
<a class="linkname" href="/wiki/<%- name %>">
<%- name.replace(/_/g, " ") %> <%- redirect ? (">> " + data.replace(/_/g, " ")) : "" %>
</a>
<% if (!redirect) { %>
<div class="taglist">
<% data.tags.forEach(function(tag){ %>
<%- include("tag", {
allPages,
tag
}) %>
<% }); %>
</div>
<% } %>
</div>