add description meta tag

This commit is contained in:
Mystikfluu
2022-12-01 13:55:48 +01:00
parent 819e97a97d
commit b2995e9939
13 changed files with 45 additions and 9 deletions
+5
View File
@@ -3,6 +3,11 @@
<head>
<meta charset="utf-8">
<title>DMs</title>
<% if(user.username === undefined) { %>
<meta name="description" content="<%-unauthorized_description%>">
<% } else { %>
<meta name="description" content="DM other people on IPost now">
<% } %>
<% if(user.username === undefined) { %>
<script> document.location.href = '/no_login?r='+encodeURIComponent(document.location.pathname) </script>
<% } %>