Closed mentorkadriu closed 10 years ago
Hi, have you referenced the page in https://github.com/use-init/init/blob/master/pages.json? If not, you need to do this, so INIT can stack the parts together and output it.
So, the process of build new pages should go like this, right?
"contact": {
"src": [
"templates/header.html",
"templates/conatct.html",
"templates/footer.html"
],
"dest": "temp/contact.html"
}
contact.html
and add your code.grunt pages:dev
or grunt pages:build
True.
On Sun, Aug 17, 2014 at 12:19 PM, mentorkadriu notifications@github.com wrote:
So, the process of build new pages should go like this, right?
Add new page to the pages.json like this:
"contact": { "src": [ "templates/header.html", "templates/conatct.html", "templates/footer.html" ], "dest": "temp/contact.html" }
1.
Create a new file on the template folder contact.html and add your code. 2.
Run grunt pages:dev or grunt pages:build
— Reply to this email directly or view it on GitHub https://github.com/use-init/init/issues/117#issuecomment-52418304.
Hans Christian Reinl Front-End Developer
Köln - Deutschland +49 176 44508482
drublic.de info@drublic.de
Please check the pages.json file and add the template there. Does this work for you?
We will improve the docs soon hopefully.
On Tuesday, August 12, 2014, mentorkadriu notifications@github.com wrote:
Hi! I'm creating new template pages in the folder template then i run "grunt pages:dev" and "grunt pages:build" tasks but I only result in index.html and about.html . I added for example contact.html in the template folder but no result so far!
— Reply to this email directly or view it on GitHub https://github.com/use-init/init/issues/117.
Hans Christian Reinl Front-End Developer
Köln - Deutschland +49 176 44508482
drublic.de info@drublic.de
Yeah, it works perfectly. All you need are better docs. :)
Thanks. We'll try to do that soon.
Hi! I'm creating new template pages in the folder template then i run "grunt pages:dev" and "grunt pages:build" tasks but I only result in index.html and about.html . I added for example contact.html in the template folder but no result so far!