From: David Thompson <davet@gnu.org> Date: Fri, 22 Aug 2014 15:07:56 +0000 (-0400) Subject: Add instructions for creating a new page. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=742fb5946f7280b8396df7c00549feba8a794add;p=libreplanet-static.git Add instructions for creating a new page. --- diff --git a/2015/README.md b/2015/README.md index 28c624bc..739ecab1 100644 --- a/2015/README.md +++ b/2015/README.md @@ -75,8 +75,26 @@ Visit <http://lp2015.libreplanet.org/2015> in your web browser. If everything is configured properly, you will see the LibrePlanet 2015 site, complete with header, sidebar, and footer. -Enabling Server Side Includes on New Pages ------------------------------------------- +Creating a New Page +------------------- + +### Boilerplate + +Add the following to your new page: + +``` +<!--#include virtual="/2015/header.html"--> +<!--#include virtual="/2015/footer.html"--> +``` + +This will include the header and footer, saving you from duplicating +HTML. + +### Add Your Markup + +Add HTML markup in-between the header and footer includes. + +### Enable SSI Files that contain include directives must be marked as executable otherwise Apache will not parse them. The directive `XBitHack on`