mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
- Added title attributes to links in multiple layout files to improve accessibility and SEO. - Updated the configuration file to add new excluded domains. - Improved the readability and user experience of various sections on the page.
14 lines
632 B
Plaintext
14 lines
632 B
Plaintext
<% if (page.link){ %>
|
|
<% if (page.title){ %>
|
|
<h1><a href="<%- page.link %>" target="_blank" title="<%= page.title || 'External Link' %>"><%= page.title || __('no_title') %></a></h1>
|
|
<% } else { %>
|
|
<h1><a href="<%- page.link %>" target="_blank" title="<%= page.link || 'External Link' %>"><%= page.link || __('no_title') %></a></h1>
|
|
<% } %>
|
|
<% } else { %>
|
|
<% if (false){ %>
|
|
<h1><a href="<%- url_for(page.path) %>" title="<%= page.title || 'Page Title' %>"><%= page.title || __('no_title') %></a></h1>
|
|
<% } else { %>
|
|
<h1><%= page.title || __('no_title') %></h1>
|
|
<% } %>
|
|
<% } %>
|