Pe: Use global includes

Pe has the most excellent ability to import other files as „includes.“ This functions similar to a server-side include (SSI), but works within the editor itself. Insert code like this in your HTML document:

<!-- #include "./anotherfilename.html" -->
        bla bla
<!-- end include-->

anotherfilename.html can be any block of HTML — a page header or footer, or your left-hand navigation, for example. When you’re ready to hoover the include into your document, click the Update button on the HTML tool palette. This lets you manage a page „object“ as a single file, so you can update lots of files without having to paste the same object into each one.
Pe includes also accept static variables such as: $date$, $time$, $name$ and $file$.

 

Comments

No comments so far.

(comments are closed)

Kategorien

 
 
Blogroll
Resources