Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Commit 47bbfbb

Browse files
committed
_layout: add icon and description
1 parent 7c79a11 commit 47bbfbb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

themes/lightx/layout/layout.ejs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ if (is_tag()) pageTitle = 'Tag: ' + page.tag;
55
if (is_category()) pageTitle = 'Category: ' + page.category;
66
if (is_month()) pageTitle += ': ' + page.month + '/' + page.year;
77
if (is_year()) pageTitle += ': ' + page.year;
8-
pageTitle += ' | ' + config.title;
8+
pageTitle = config.title + ' | ' + pageTitle;
99
%>
1010
<!DOCTYPE html>
1111
<html lang="<%=config.language%>">
1212
<head>
1313
<meta charset="UTF-8" />
1414
<meta name="viewport" content="width=device-width, initial-scale=1" />
15+
<link rel="icon" href="/favicon.ico" type="image/x-icon">
16+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
1517
<title><%=pageTitle%></title>
18+
<meta name="description" content="<%= page.description || config.description || 'Monero Observer' %>">
1619
<!-- <link rel="stylesheet" href="<%= theme.highlight %>"> -->
1720
<link rel="stylesheet" href="/lightx.css"/>
1821
<link rel="manifest" href="/manifest.json" />
@@ -71,4 +74,4 @@ pageTitle += ' | ' + config.title;
7174
hljs.initHighlightingOnLoad();
7275
</script> -->
7376
</body>
74-
</html>
77+
</html>

0 commit comments

Comments
 (0)