mirror of
https://github.com/Fechin/reference.git
synced 2026-11-22 05:51:48 +03:00
14 lines
501 B
Plaintext
14 lines
501 B
Plaintext
<% if (page.link){ %>
|
|
<% if (page.title){ %>
|
|
<h1><a href="<%- page.link %>" target="_blank"><%= page.title || __('no_title') %></a></h1>
|
|
<% } else { %>
|
|
<h1><a href="<%- page.link %>" target="_blank"><%= page.link || __('no_title') %></a></h1>
|
|
<% } %>
|
|
<% } else { %>
|
|
<% if (false){ %>
|
|
<h1><a href="<%- url_for(page.path) %>"><%= page.title || __('no_title') %></a></h1>
|
|
<% } else { %>
|
|
<h1><%= page.title || __('no_title') %></h1>
|
|
<% } %>
|
|
<% } %>
|