remove deprecated option
parent
d1c598b535
commit
db4b01839a
|
@ -82,13 +82,6 @@ func Parse(c *caddy.Controller) ([]Config, error) {
|
||||||
|
|
||||||
for c.NextBlock() {
|
for c.NextBlock() {
|
||||||
switch c.Val() {
|
switch c.Val() {
|
||||||
case "on":
|
|
||||||
// NOTE: DEPRECATED
|
|
||||||
if !c.NextArg() {
|
|
||||||
return configs, c.ArgErr()
|
|
||||||
}
|
|
||||||
|
|
||||||
cfg.BaseURL = c.Val()
|
|
||||||
case "frontmatter":
|
case "frontmatter":
|
||||||
if !c.NextArg() {
|
if !c.NextArg() {
|
||||||
return configs, c.ArgErr()
|
return configs, c.ArgErr()
|
||||||
|
|
Loading…
Reference in New Issue