[MKDoc-commit] Fixed link rel's so they no longer link to hidden documents

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Feb 10 09:51:33 GMT 2005


Log Message:
-----------
Fixed link rel's so they no longer link to hidden documents

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/fragments/head:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/fragments/head/Attic/en.html,v
retrieving revision 1.1.2.33
retrieving revision 1.1.2.34
diff -Ltemplates/fragments/head/en.html -Ltemplates/fragments/head/en.html -u -r1.1.2.33 -r1.1.2.34
--- templates/fragments/head/en.html
+++ templates/fragments/head/en.html
@@ -123,7 +123,9 @@
     title="Previous Sibling Document Title"
     type="text/html"
     petal:condition="true: self/prev_showable"
-    petal:attributes="href self/prev/uri; hreflang self/prev/lang; title self/prev/title"
+    petal:attributes="href     self/prev_showable/uri; 
+                      hreflang self/prev_showable/lang; 
+                      title    self/prev_showable/title"
   />
   <link
     rel="next sibling"
@@ -132,7 +134,9 @@
     title="Next Sibling Document Title"
     type="text/html"
     petal:condition="true: self/next_showable"
-    petal:attributes="href self/next/uri; hreflang self/next/lang; title self/next/title"
+    petal:attributes="href     self/next_showable/uri; 
+                      hreflang self/next_showable/lang; 
+                      title    self/next_showable/title"
   />
   <link
     rel="first sibling"
@@ -141,7 +145,9 @@
     title="First Sibling Document Title"
     type="text/html"
     petal:condition="true: self/first_showable"
-    petal:attributes="href self/first/uri; hreflang self/first/lang; title self/first/title"
+    petal:attributes="href     self/first_showable/uri; 
+                      hreflang self/first_showable/lang; 
+                      title    self/first_showable/title"
   />
   <link
     rel="last sibling"
@@ -150,7 +156,9 @@
     title="Last Sibling Document Title"
     type="text/html"
     petal:condition="true: self/last_showable"
-    petal:attributes="href self/last/uri; hreflang self/last/lang; title self/last/title"
+    petal:attributes="href     self/last_showable/uri;  
+                      hreflang self/last_showable/lang; 
+                      title    self/last_showable/title"
   />
   <link
     rel="alternate"
@@ -164,7 +172,7 @@
   />
 <div 
   petal:condition="true: cousin_homonyms_showable"
-  petal:repeat="cousin_homonym cousin_homonyms"
+  petal:repeat="cousin_homonym cousin_homonyms_showable"
   petal:omit-tag="string:1"
 >
   <link
@@ -331,7 +339,7 @@
       petal:attributes="content self/coverage"
     />
 ?-->
-  <!-- DCTERMS.references is used for links within the documents -->
+  <!--? DCTERMS.references is used for links within the documents ?-->
   <link
     rel="DCTERMS.references" 
     href="http://example.com/" 


More information about the MKDoc-commit mailing list