diff --git a/app-utils.lisp b/app-utils.lisp index 1466f23..d0fa324 100644 --- a/app-utils.lisp +++ b/app-utils.lisp @@ -4,7 +4,8 @@ (:use :cl) (:export :internal-disable-debugger) (:export :internal-quit - :pht)) + :pht + :member-string)) (in-package :asteroid.app-utils) @@ -19,6 +20,11 @@ (internal-quit))) (setf *debugger-hook* #'internal-exit))) +(defun member-string (item seq) + "Checkes if a string 'item' is a member of a list. Returns t or nil for the finding result." + (when (member item seq :test #'string-equal) + t)) + (defun internal-quit (&optional code) "Taken from the cliki" ;; This group from "clocc-port/ext.lisp" diff --git a/template/partial/navbar.ctml b/template/partial/navbar.ctml index 67820b9..edb3ced 100644 --- a/template/partial/navbar.ctml +++ b/template/partial/navbar.ctml @@ -6,25 +6,33 @@ framesetp='framesetp'>