add description meta tag
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>User | IPost</title>
|
||||
<% if(user.username === undefined) { %>
|
||||
<meta name="description" content="<%-unauthorized_description%>">
|
||||
<% } else { %>
|
||||
<meta name="description" content="view your own user page">
|
||||
<% } %>
|
||||
<% if(user.username === undefined) { %>
|
||||
<script> document.location.href = '/no_login?r='+encodeURIComponent(document.location.pathname) </script>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user