Das HTML-Grundgerüst bearbeiten
Das Grundgerüst ist in der Datei 2-columns.html enthalten. Diese sieht folgendermaßen aus:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Your description goes here" />
<meta name="keywords" content="your,keywords,goes,here" />
<meta name="author" content="Your Name" />
<link rel="stylesheet" type="text/css" href="andreas00.css" media="screen,projection" />
<title>Site Title</title>
</head>
<body>
<div id="wrap">
<div id="header">
<h1><a href="#">Site Title</a></h1>
<p><strong>Site slogan</strong></p>
</div>
<div id="leftside">
<h2 class="hide">Sample menu:</h2>
<ul class="avmenu">
<li><a href="index.html">First page</a></li>
<li><a href="styles.html">Included styles</a></li>
<li><a class="current" href="2-columns.html">2 columns</a></li>
<li><a href="3-columns.html">3 columns</a></li>
</ul>
</div>
<div id="contentwide">
<h2>Page title</h2>
<p>This is an empty page that uses the included 2-column layout. To use this layout, make sure that id="contentwide" is used for the main content div and that no #extras div (which is the right-hand sidebar in the 3-column layout) is used in the code.</p>
</div>
<div id="footer">
<p><span>© 2012 <a href="#">Your Name</a></span><br />
Template design by <a href="http://andreasviklund.com/">Andreas Viklund</a><br />
Best hosted at <a href="https://www.svenskadomaner.se/?ref=mall&ling=en" title="Svenska Domäner AB">www.svenskadomaner.se</a></p>
</div>
</div>
</body>
</html>
Der Inhalt der Datei 2-columns.html wird nun zunächst komplett, so wie er ist, in die Datei index.tpl im Unterverzeichnis templates/default kopiert.
Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily