update theme-setup and project-setup script

This commit is contained in:
Somrat 2025-02-16 12:19:36 +06:00
parent 02085ffbe0
commit eafce894f6
5 changed files with 3 additions and 2 deletions

View File

@ -27,5 +27,5 @@ require (
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20250213104422-d6c69545f20a // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20250213104422-d6c69545f20a // indirect
github.com/hugomods/mermaid v0.1.4 // indirect
github.com/zeon-studio/hugoplate v0.0.0-20250205092428-3b220f635d99 // indirect
github.com/zeon-studio/hugoplate v0.0.0-20250216060719-02085ffbe054 // indirect
)

View File

@ -94,7 +94,7 @@ const setupProject = () => {
},
].forEach(toggleComment);
const folderList = ["layouts", "assets", "static"];
const folderList = ["layouts", "assets", "static", "tailwind-plugin"];
const folderName = getFolderName(rootFolder);
const newFolderName = createNewFolder(
path.join(rootFolder, "themes"),

View File

@ -97,6 +97,7 @@ const setupTheme = () => {
"content",
"i18n",
"static",
"tailwind-plugin",
];
const folder = createNewFolder(rootFolder, "exampleSite");