Fix links in template

This commit is contained in:
Neale Pickett 2009-11-11 00:08:11 -06:00
parent f8c62db2f3
commit ed9b4b94ac
3 changed files with 12 additions and 9 deletions

View File

@ -3,6 +3,7 @@ SubDir TOP ;
Webify index.mdwn ; Webify index.mdwn ;
SubInclude TOP papers ; SubInclude TOP papers ;
SubInclude TOP projects ;
SubInclude TOP poems ; SubInclude TOP poems ;
SubInclude TOP src ; SubInclude TOP src ;
SubInclude TOP toys ; SubInclude TOP toys ;

View File

@ -32,10 +32,12 @@ rule Webify {
} }
} }
actions MdwnToHtml {
$(MDWNTOHTML) $(TEMPLATE) < $(2) > $(1)
}
actions DirList { actions DirList {
$(DIRLIST) $(HEAD) $(2) > $(1) $(DIRLIST) $(HEAD) $(2) > $(1)
} }
actions MdwnToHtml {
$(MDWNTOHTML) $(TEMPLATE) < $(2) > $(1)
}

View File

@ -5,9 +5,9 @@
<head> <head>
<title>TITLE</title> <title>TITLE</title>
<link rel="stylesheet" type="text/css" media="screen" <link rel="stylesheet" type="text/css" media="screen"
href="/~neale/www/default.css" /> href="/~neale/default.css" />
<link rel="stylesheet" type="text/css" media="print" <link rel="stylesheet" type="text/css" media="print"
href="/~neale/www/print.css" /> href="/~neale/print.css" />
<link rel="icon" type="image/png" href="/favicon.png" /> <link rel="icon" type="image/png" href="/favicon.png" />
</head> </head>
@ -15,10 +15,10 @@
<h1>TITLE</h1> <h1>TITLE</h1>
divert(1) divert(1)
<ul id="nav"> <ul id="nav">
<li><a href="/~neale/www/src/" title="Free Software">Software</a></li> <li><a href="/~neale/src/" title="Free Software">Software</a></li>
<li><a href="/~neale/www/toys/" title="Various fun things">Toys</a></li> <li><a href="/~neale/toys/" title="Various fun things">Toys</a></li>
<li><a href="/~neale/www/poems/" title="I won't quit my day job">Poems</a></li> <li><a href="/~neale/poems/" title="I won't quit my day job">Poems</a></li>
<li><a href="/~neale/www/papers/" title="Various writings">Papers</a></li> <li><a href="/~neale/papers/" title="Various writings">Papers</a></li>
</ul> </ul>
<address> <address>