diff options
-rw-r--r-- | org/madore/damlengine/TodoEntryElement.java | 1 | ||||
-rw-r--r-- | org/madore/damlengine/TodoTranslations.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoEntryElement.java b/org/madore/damlengine/TodoEntryElement.java index db78c06..4fed3c1 100644 --- a/org/madore/damlengine/TodoEntryElement.java +++ b/org/madore/damlengine/TodoEntryElement.java @@ -80,6 +80,7 @@ public final class TodoEntryElement extends TodoDefaultElement { permalink.setAttributeNS(null, "href", entryYearStr+"-"+entryMonthStr+".html" +"#"+entryIdStr); + permalink.setAttributeNS(null, "rel", "bookmark"); permalink.appendChild(ctx.doc.createTextNode(entryDateStr)); headlink.appendChild(permalink); if ( ! entryDowStr.equals("") ) diff --git a/org/madore/damlengine/TodoTranslations.java b/org/madore/damlengine/TodoTranslations.java index cfd08af..53a9503 100644 --- a/org/madore/damlengine/TodoTranslations.java +++ b/org/madore/damlengine/TodoTranslations.java @@ -40,6 +40,7 @@ public final class TodoTranslations extends TodoElement { p.appendChild(a); a.setAttributeNS(null, "href", ctx.gc.fileName+"."+trlang); a.setAttributeNS(null, "hreflang", trlang); + a.setAttributeNS(null, "rel", "alternate"); str = trlang; if ( trlang.equals("en") ) str = "English version"; |