diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-03-22 00:25:55 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-03-27 15:43:56 +0200 |
commit | 1b2be5e878c0bd8c68731389e46bf1c6d3664635 (patch) | |
tree | 1174452aab6221fc940db4cd31821275a00c162f /output | |
parent | baa29f6534fcd324dbade7dd6c32c90547e3fa4f (diff) | |
download | hugo-1b2be5e878c0bd8c68731389e46bf1c6d3664635.tar.gz hugo-1b2be5e878c0bd8c68731389e46bf1c6d3664635.zip |
hugolib: Add OutputFormats with permalinks to Page
Diffstat (limited to 'output')
-rw-r--r-- | output/outputFormat.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/output/outputFormat.go b/output/outputFormat.go index cc04bcbe4..392414cca 100644 --- a/output/outputFormat.go +++ b/output/outputFormat.go @@ -23,6 +23,9 @@ import ( var ( // An ordered list of built-in output formats // See https://www.ampproject.org/learn/overview/ + // TODO + // <link rel="amphtml" href="{{ .Permalink }}"> + // canonical AMPType = Format{ Name: "AMP", MediaType: media.HTMLType, |