Open archiekennedy opened 3 years ago
This adds the {{path}} variable that stores the path to the current page, excluding the filename.
{{path}}
src/pages/about.html -> src/pages/subfolder/about.html -> subfolder/
Generating canonical tags, for example:
<link rel="canonical" href="https://example.com/{{path}}{{page}}.html">
@DanielRuf can you review this PR? Thanks :smiley:
@joeworkman can you take a look at these changes?
This adds the
{{path}}
variable that stores the path to the current page, excluding the filename.Example
Use case
Generating canonical tags, for example: