This PR resolves an issue where a taxonomy and localized term couldn't be found in the context when generating the hreflang. This PR closes issue #142. It looks like Statamic 5 has removed the augmentable in the title. This issue can be resolved by getting the page from the context, which should always be the augmented content like a taxonomy or localized term.
This PR resolves an issue where a taxonomy and localized term couldn't be found in the context when generating the
hreflang
. This PR closes issue #142. It looks like Statamic 5 has removed theaugmentable
in thetitle
. This issue can be resolved by getting thepage
from the context, which should always be the augmented content like a taxonomy or localized term.