Skip to content

Commit

Permalink
fix(RenderCustom): 修复目录错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-light committed Jan 16, 2025
1 parent 7edc0e1 commit 565ebcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/helpers/render/render.dart
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ final class RemoteRender {
// 数据
final data = {'menus': menusData, 'themeConfig': themeConfig, 'commentSetting': site.comment};
final html = env.getTemplate('$name.j2').render(data.toMap());
FS.createDirSync(FS.dirname(renderPath));
FS.writeStringSync(renderPath, html);
}
}
Expand Down

0 comments on commit 565ebcf

Please sign in to comment.