mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Add missing ".adoc" extension in handler_page.go
Commit 358dcce
supposedly added ".adoc" extension recognition
for AsciiDoc, but one place was missed.
Thanks to @sjfloat for reporting the bug!
See discussions at #470.
This commit is contained in:
parent
be84f93716
commit
0921761e47
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ type asciidocHandler struct {
|
|||
basicPageHandler
|
||||
}
|
||||
|
||||
func (h asciidocHandler) Extensions() []string { return []string{"asciidoc", "ad"} }
|
||||
func (h asciidocHandler) Extensions() []string { return []string{"asciidoc", "adoc", "ad"} }
|
||||
func (h asciidocHandler) PageConvert(p *Page, t tpl.Template) HandledResult {
|
||||
p.ProcessShortcodes(t)
|
||||
|
||||
|
|
Loading…
Reference in a new issue