mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-10-02 21:46:51 -05:00
Merge branch 'pr/186' into dev
This commit is contained in:
@@ -138,6 +138,12 @@ app.engine('handlebars', handlebars({
|
||||
},
|
||||
slug(string) {
|
||||
return string.toLowerCase().replaceAll(/ /g, '-');
|
||||
},
|
||||
section(name, options) {
|
||||
if (!this._sections) this._sections = {};
|
||||
if (!this._sections[name]) this._sections[name] = [];
|
||||
this._sections[name].push(options.fn(this));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user