Rebuilt frontmatter templates as template widgets

This commit is contained in:
Zef Hemel
2024-01-08 17:08:35 +01:00
parent 5b3dd500e4
commit 848e11a773
45 changed files with 471 additions and 483 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export class PanelWidgetHook implements Hook<PanelWidgetT> {
if (!functionDef.panelWidget) {
continue;
}
if (!["top", "bottom", "frontmatter"].includes(functionDef.panelWidget)) {
if (!["top", "bottom"].includes(functionDef.panelWidget)) {
errors.push(
`Panel widgets must be attached to either 'top' or 'bottom'.`,
);