Introduce destPath variable
mielp opened this issue · comments
Feature suggestion: provide a destPath
variable that allows templates to know the current destination file.
As far as I know, it's mostly useful for canonical links (<link rel="canonical"…>
and <meta property="og:url"…>
), which is mostly a SEO thing.
I wrote a quick implementation in e335913. Not sure how to make a cleaner version.