Skip to content

Commit

Permalink
fix: adds meta header data to view files
Browse files Browse the repository at this point in the history
  • Loading branch information
shajanjp committed Apr 4, 2020
1 parent 9888e88 commit 852a43e
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/contacts/views/add-contact.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add Contact | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
2 changes: 1 addition & 1 deletion app/contacts/views/add-house.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add House | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
2 changes: 1 addition & 1 deletion app/contacts/views/contacts-dashboard.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
</head>
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/delete-contact.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= contacts.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= contacts.metaDescription %>">
<meta name="keywords" content="<%= contacts.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
2 changes: 1 addition & 1 deletion app/contacts/views/edit-contact.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title><%= contact.full_name %> | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= contacts.title %> <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= contacts.metaDescription %>">
<meta name="keywords" content="<%= contacts.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/list-contacts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= contacts.title %> | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= contacts.metaDescription %>">
<meta name="keywords" content="<%= contacts.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/list-houses.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= contacts.title %> <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= contacts.metaDescription %>">
<meta name="keywords" content="<%= contacts.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/upcoming_anniversaries.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Events | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/view-contact.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= contact.full_name %> - <%= contacts.title %> | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= contacts.metaDescription %>">
<meta name="keywords" content="<%= contacts.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
1 change: 1 addition & 0 deletions app/contacts/views/view-house.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><% if(house.title != ""){ %><%= house.title %><% }else{ %><%= house.head_contact.full_name %>'s House <% } %> - <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= contacts.metaDescription %>">
<meta name="keywords" content="<%= contacts.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
2 changes: 1 addition & 1 deletion app/contacts/views/welcome-contact.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Welcome | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
1 change: 1 addition & 0 deletions app/home/views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= home.metaDescription %>">
<meta name="keywords" content="<%= home.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
1 change: 1 addition & 0 deletions app/users/views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title><%= users.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<meta name="description" content="<%= users.metaDescription %>">
<meta name="keywords" content="<%= users.metaKeywords %>">
<meta name="author" content="guyswhocode">
Expand Down
2 changes: 1 addition & 1 deletion app/users/views/signin.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sign In | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
2 changes: 1 addition & 1 deletion app/users/views/signout.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Signed Out | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down
2 changes: 1 addition & 1 deletion app/users/views/signup.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Register | <%= home.title %></title>
<%- include('../../home/views/partials/head.ejs') %>
<%- include('../../home/views/partials/styles.ejs') %>
<link rel="stylesheet" href="/home/public/css/calendar.min.css">
<link rel="stylesheet" href="/contacts/public/css/contacts.css">
Expand Down

0 comments on commit 852a43e

Please sign in to comment.