Work LayoutWell, what do we need. First, a template file with main page layout and placeholders for different kind of information blocks like menu, headers and content. To get one we first need to create our sample page in GPC. Then we will use its layout as a template for our entire site. We choose a GPC layout for the page and enter the information in the following zones on the page:
At this point we only have to put one or two lines in the corresponding blocks since we only need to identify our blocks later in hte HTML code. As soon as we publish the page we can access it on the internet by clicking on site address in GPC console. Now this page has all the stuff we need to turn it into the template and reuse it for all other pages. We save it on our machine in the template folder which is any directory outside your source folder. In the source folder you will store your source files which you can create right now: start.src tutorial.src reference.src support.src links.src All those are text files (empty by now) with To better understand the method for naming source files see Appendix A: Resolving target filenames in Commands Reference. Now let's look at the template file. |
