Debian / debiman

debiman generates a static manpage HTML repository out of a Debian archive
Apache License 2.0
189 stars 46 forks source link

add <link rel="alternate" hreflink=""> to pages #42

Closed stapelberg closed 7 years ago

stapelberg commented 7 years ago

…so that search engines can deliver results in the best lanugage for their users. See also https://support.google.com/webmasters/answer/2620865?hl=en

stapelberg commented 7 years ago

Actually, the sitemaps contain references to the index pages of a package, which are always in english. Hence, we’ll need to add the tags to the manpages themselves, which is not trivial due to the way our templates are structured (header.tmpl cannot access manpage.tmpl-specific attributes).