[MKDoc-commit] [1.6] style hidden docs in sitemap
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Thu Sep 8 13:34:42 BST 2005
Log Message:
-----------
[1.6] style hidden docs in sitemap
Tags:
----
mkdoc-1-6
Modified Files:
--------------
mkd/templates/sitemap:
nesting.html
-------------- next part --------------
Index: nesting.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/sitemap/Attic/nesting.html,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -Ltemplates/sitemap/nesting.html -Ltemplates/sitemap/nesting.html -u -r1.1.2.7 -r1.1.2.8
--- templates/sitemap/nesting.html
+++ templates/sitemap/nesting.html
@@ -42,6 +42,8 @@
hreflang="en"
lang="en"
xml:lang="en"
+ petal:condition="false: child/doc/is_hidden"
+ class="showable"
petal:attributes="href child/doc/Full_Path;
hreflang child/doc/Lang;
title child/doc/Description;
@@ -51,6 +53,22 @@
>
Child Document Title
</a>
+ <a
+ href="#"
+ hreflang="en"
+ lang="en"
+ xml:lang="en"
+ petal:condition="true: child/doc/is_hidden"
+ class="not-showable"
+ petal:attributes="href child/doc/Full_Path;
+ hreflang child/doc/Lang;
+ title child/doc/Description;
+ lang child/doc/Lang;
+ xml:lang child/doc/Lang"
+ petal:content="child/doc/Title"
+ >
+ Hidden Child Document Title
+ </a>
</strong>
</dt>
<dd
More information about the MKDoc-commit
mailing list