forked from vfat-io/vfat-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.js
30 lines (27 loc) · 1.25 KB
/
globals.js
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
const {resolve} = require('path')
// Use the following variables in src/views and src/js. They are made available in
// build-tools/ejs-to-html.js in the 'transformer' function and in webpcak.config.js
module.exports.PP = ''
module.exports.DEV_PATH = __dirname
module.exports.SITE_TITLE = 'YieldFarming'
module.exports.SITE_NAME = 'yieldfarming.info'
module.exports.DESCRIPTION = 'Boilerplate for a Static website using EJS and SASS'
module.exports.SITE_URL = 'https://yieldfarming.info'
module.exports.DEVELOPER_NAME = 'Jongseung Lim'
module.exports.DEVELOPER_URL = 'https://yieldfarming.info'
// module.exports.GOOGLE_ANALYTICS_ID = ''
module.exports.Dir = {
dist: resolve(__dirname, 'dist'),
src: resolve(__dirname, 'src'),
css: resolve(__dirname, 'src', 'css'),
js: resolve(__dirname, 'src', 'js'),
utils: resolve(__dirname, 'src', 'js', 'utils'),
static: resolve(__dirname, 'src', 'static'),
favicons: resolve(__dirname, 'src', 'favicons'),
images: resolve(__dirname, 'src', 'static', 'images'),
videos: resolve(__dirname, 'src', 'static', 'videos'),
vendor: resolve(__dirname, 'src', 'vendor'),
views: resolve(__dirname, 'src', 'views'),
pages: resolve(__dirname, 'src', 'views', 'pages'),
partials: resolve(__dirname, 'src', 'views', 'partials')
}