r5165: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 20 Jun 2003 04:46:54 +0000 (04:46 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 20 Jun 2003 04:46:54 +0000 (04:46 +0000)
2/base.lisp
2/stdsite.lisp

index 944df66f5e8369b74fea4daf89356af6c24a46c0..3105af84ffe03582be33f657d22472d0eebbfdba 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: base.lisp,v 1.1 2003/06/20 04:12:29 kevin Exp $
+;;;; $Id: base.lisp,v 1.2 2003/06/20 04:46:54 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
        ,@body))))
 
                     
+
+(defmacro alink (url desc)
+  `(html
+    ((:a :href ,url) ,desc)))
+
+(defmacro alink-c (class url desc)
+  `(html
+    ((:a :class ,class :href ,url) ,desc)))
+
+(export '(alink alink-c))
index bf7773ba5253e320ab919ac5561e756f711aa87a..49610e0eaa849a3504943ae72d729003e80104f7 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: stdsite.lisp,v 1.1 2003/06/20 04:12:29 kevin Exp $
+;;;; $Id: stdsite.lisp,v 1.2 2003/06/20 04:46:54 kevin Exp $
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 
 
 (defmacro std-body (file &body body)
-  `(body
-    (lml-load "banner.lml_")
-    (html
+  `(html
+    (:body
+     (lml-load "banner.lml_")
      ((:table :class "stdbodytable" :border "0" :cellpadding "3")
       (:tbody 
        ((:tr :valign "top")
-       ((td :class "stdcontentcell")
+       ((:td :class "stdcontentcell")
         (lml-load "contents.lml_"))
        ((:td :valign "top")
         ,@body