mirror of
https://github.com/hanzoai/ecommerce-boilerplate.git
synced 2026-10-30 18:38:20 +00:00
53 lines
1.2 KiB
CoffeeScript
53 lines
1.2 KiB
CoffeeScript
url = 'https://hanzo.ai'
|
|
|
|
name = """
|
|
Your Site
|
|
"""
|
|
|
|
description = """
|
|
YOUR SITE - Your new ecommerce site
|
|
"""
|
|
|
|
twitter =
|
|
username: ''
|
|
hashtags: 'shop'
|
|
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()
|
|
|