Add instructions for creating a new page.
authorDavid Thompson <davet@gnu.org>
Fri, 22 Aug 2014 15:07:56 +0000 (11:07 -0400)
committerDavid Thompson <davet@gnu.org>
Fri, 22 Aug 2014 15:07:56 +0000 (11:07 -0400)
2015/README.md

index 28c624bcdfcfb8cc7375174bf4c430e21d0352c0..739ecab17b588cd541158f4a7452233bb6f792ac 100644 (file)
@@ -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`