diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-30 16:46:18 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-30 16:46:51 +0100 |
commit | f9d6feca0802cd83c4d843244ce389cf7c792cec (patch) | |
tree | f8d20cf525e60412fbfa3cca1041275def7a8c7b /hugolib/alias_test.go | |
parent | 439ab0339d9ac6972caabaa55fa41887ace839cb (diff) | |
download | hugo-f9d6feca0802cd83c4d843244ce389cf7c792cec.tar.gz hugo-f9d6feca0802cd83c4d843244ce389cf7c792cec.zip |
hugolib: Fix alias path for AMP and similar
Fixes #5760
Diffstat (limited to 'hugolib/alias_test.go')
-rw-r--r-- | hugolib/alias_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/alias_test.go b/hugolib/alias_test.go index 684e35c9a..f968caf23 100644 --- a/hugolib/alias_test.go +++ b/hugolib/alias_test.go @@ -80,7 +80,7 @@ func TestAliasMultipleOutputFormats(t *testing.T) { // the alias redirectors b.AssertFileContent("public/foo/bar/index.html", "<meta http-equiv=\"refresh\" content=\"0; ") - b.AssertFileContent("public/foo/bar/amp/index.html", "<meta http-equiv=\"refresh\" content=\"0; ") + b.AssertFileContent("public/amp/foo/bar/index.html", "<meta http-equiv=\"refresh\" content=\"0; ") assert.False(b.CheckExists("public/foo/bar/index.json")) } |