-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.coffee
52 lines (41 loc) · 1.21 KB
/
settings.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
url = 'https://hanzo.ai'
name = """
Hanzo Wallet
"""
description = """
Hanzo Wallet
"""
twitter =
username: ''
hashtags: 'hanzo'
text: ''
facebook =
username: ''
module.exports =
site:
title: name
name: name
url: url
copyright: '© ' + name + ' ' + (new Date()).getFullYear()
meta:
description: description
facebook:
# appid: '1648878842071733'
title: name
description: description
# image: 'https://getshopjs.com/img/logo.png'
twitter:
title: name
description: description
# image: 'https://getshopjs.com/img/logo.png'
social:
twitter:
username: "@#{twitter.username}"
shareLink: "https://twitter.com/intent/tweet?url=#{encodeURIComponent url}&text=#{encodeURIComponent twitter.text}&hashtags=#{twitter.hashtags}&via=#{twitter.username}&original_referer=#{encodeURIComponent url}"
facebook:
username: facebook.username
shareLink: 'https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent url
googlePlus:
shareLink: 'https://plus.google.com/share?url=' + encodeURIComponent url
id: 'yoursite'
version: (new Date()).getTime()