CodeblockContext method renames

Fixes #9577
This commit is contained in:
Bjørn Erik Pedersen 2022-02-27 13:31:55 +01:00
parent e1f696911e
commit f7109771a0
7 changed files with 14 additions and 14 deletions

View file

@ -150,11 +150,11 @@ func (c *codeBlockContext) Page() interface{} {
return c.page
}
func (c *codeBlockContext) Lang() string {
func (c *codeBlockContext) Type() string {
return c.lang
}
func (c *codeBlockContext) Code() string {
func (c *codeBlockContext) Inner() string {
return c.code
}