Skip to content

Commit 8a0ed4e

Browse files
committed
Add Facebook Open Graph
1 parent 059e477 commit 8a0ed4e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

public/images/fb.png

96.5 KB
Loading

server/views/layouts/_head.jade

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ head
1616
else
1717
meta(name='viewport' content='width=device-width, initial-scale=1.0')
1818

19+
meta(property='og:site_name' content='JavaScript.com' )
20+
meta(property='og:url' content='https://www.javascript.com' )
21+
meta(property='og:description' content='Learn JavaScript and stay connected with the latest news created and curated by the JavaScript community.' )
22+
meta(property='og:image' content='/images/fb.png' )
23+
1924
if pageTitle
2025
title=pageTitle + ' - ' + 'JavaScript.com'
2126
else

0 commit comments

Comments
 (0)