Closed ghost closed 8 years ago
Hi @rustemgareev did you check? is it working fine?
Hi, yes I checked it (except bundle-svgs). sass / js / htmls work fine. The only possible mistakes can be with mispellings (I haven't copy/pasted from notepad++, I inputed directly in browser github). But overall this works.
Ok. There is a small change. Keep "assets/" path in a separate variable. So that when user changes this path, all paths changes automatically. reusable concept. You can edit this PR by visiting "Files changed" tab, I think. and also, you added gulp-data
but it was never added in package.json. (better to remove that line, we can see later). Please work with patience with me :)
I sent package.json with "gulp-data" in another pull request (I still don't know how to edit multiple files in one pull request). As for "assets" in separate variable - I don't think. For example, people can have this structure: |site |--assets |--|--css |--|--js |--shop |--data |--images
So I don't think users will have trouble to change 20 characters in code.
ok :+1: will merge this once I fix the current issue which I am struggling to fix from morning.
Set paths to base templates and sources through variables. Added 'gulp-data' for adding data.json to site. You need to create 'data.json' file in site/data/ folder