laminas / documentation-theme

Documentation theme for Laminas and Mezzio
2 stars 10 forks source link

Canonical URL is wrong #21

Closed froschdesign closed 4 years ago

froschdesign commented 4 years ago

Bug Report

Q A
Version(s) master

Summary

The site_url for MkDocs is not set correctly. This results in different problems. One of them is a wrong canonical URL.

Current behavior

<link rel="canonical" href="https://docs.mezzio.dev/v3/getting-started/features/">
<link rel="canonical" href="https://docs.laminas.dev/element/collection/">

Expected behavior

Must be:

<link rel="canonical" href="https://docs.mezzio.dev/mezzio/v3/getting-started/features/">
<link rel="canonical" href="https://docs.laminas.dev/laminas-form/element/collection/">

or the element should be removed.


Rleated to #16

froschdesign commented 4 years ago

Fixed with #23