From 616cbe5730fdfabd1a5d9cea09e77ecf0bc80511 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sun, 3 Jan 2021 13:37:55 +0000 Subject: [PATCH] Move templates into src --- {templates => src/templates}/base.html.tera | 0 .../templates}/characters/edit_character.html.tera | 0 .../templates}/characters/edit_character_macros.html.tera | 0 {templates => src/templates}/characters/new_character.html.tera | 0 .../templates}/characters/view_character.html.tera | 0 {templates => src/templates}/error.html.tera | 0 {templates => src/templates}/index.html.tera | 0 {templates => src/templates}/login.html.tera | 0 {templates => src/templates}/registration.html.tera | 0 static/scripts/ts/webpack.config.js | 2 +- 10 files changed, 1 insertion(+), 1 deletion(-) rename {templates => src/templates}/base.html.tera (100%) rename {templates => src/templates}/characters/edit_character.html.tera (100%) rename {templates => src/templates}/characters/edit_character_macros.html.tera (100%) rename {templates => src/templates}/characters/new_character.html.tera (100%) rename {templates => src/templates}/characters/view_character.html.tera (100%) rename {templates => src/templates}/error.html.tera (100%) rename {templates => src/templates}/index.html.tera (100%) rename {templates => src/templates}/login.html.tera (100%) rename {templates => src/templates}/registration.html.tera (100%) diff --git a/templates/base.html.tera b/src/templates/base.html.tera similarity index 100% rename from templates/base.html.tera rename to src/templates/base.html.tera diff --git a/templates/characters/edit_character.html.tera b/src/templates/characters/edit_character.html.tera similarity index 100% rename from templates/characters/edit_character.html.tera rename to src/templates/characters/edit_character.html.tera diff --git a/templates/characters/edit_character_macros.html.tera b/src/templates/characters/edit_character_macros.html.tera similarity index 100% rename from templates/characters/edit_character_macros.html.tera rename to src/templates/characters/edit_character_macros.html.tera diff --git a/templates/characters/new_character.html.tera b/src/templates/characters/new_character.html.tera similarity index 100% rename from templates/characters/new_character.html.tera rename to src/templates/characters/new_character.html.tera diff --git a/templates/characters/view_character.html.tera b/src/templates/characters/view_character.html.tera similarity index 100% rename from templates/characters/view_character.html.tera rename to src/templates/characters/view_character.html.tera diff --git a/templates/error.html.tera b/src/templates/error.html.tera similarity index 100% rename from templates/error.html.tera rename to src/templates/error.html.tera diff --git a/templates/index.html.tera b/src/templates/index.html.tera similarity index 100% rename from templates/index.html.tera rename to src/templates/index.html.tera diff --git a/templates/login.html.tera b/src/templates/login.html.tera similarity index 100% rename from templates/login.html.tera rename to src/templates/login.html.tera diff --git a/templates/registration.html.tera b/src/templates/registration.html.tera similarity index 100% rename from templates/registration.html.tera rename to src/templates/registration.html.tera diff --git a/static/scripts/ts/webpack.config.js b/static/scripts/ts/webpack.config.js index 8de88ab..421b9c3 100644 --- a/static/scripts/ts/webpack.config.js +++ b/static/scripts/ts/webpack.config.js @@ -8,7 +8,7 @@ const root = path.resolve(__dirname, '..', '..', '..'); function packPage(page, chunks) { if (!chunks) chunks = []; return new HtmlWebpackPlugin({ - template: `${root}/templates/${page}`, + template: `${root}/src/templates/${page}`, filename: `${root}/static/templates/${page}`, chunks: chunks, inject: false,