From c98853b925d01608f3be99a8e445c002ab36439c Mon Sep 17 00:00:00 2001 From: IIHOSHI Yoshinori Date: Wed, 3 Jan 2024 03:39:19 +0900 Subject: [PATCH] Remove th175.ttinclude --- TemplateGenerator/Templates/th175.ttinclude | 14 -------------- TemplateGenerator/Templates/th175score1.tt | 20 ++++++++++++-------- TemplateGenerator/Templates/th175score2.tt | 15 ++++++++------- 3 files changed, 20 insertions(+), 29 deletions(-) delete mode 100644 TemplateGenerator/Templates/th175.ttinclude diff --git a/TemplateGenerator/Templates/th175.ttinclude b/TemplateGenerator/Templates/th175.ttinclude deleted file mode 100644 index 8a4e882e..00000000 --- a/TemplateGenerator/Templates/th175.ttinclude +++ /dev/null @@ -1,14 +0,0 @@ -<#@ include file="footer.ttinclude" once="true" #> -<#@ import namespace="TemplateGenerator.Models.Th175" #> -<# - var title = Definitions.Title; - - var levels = Definitions.LevelNames; - - var characters = Definitions.CharacterNames; - var charactersWithTotal = Definitions.CharacterWithTotalNames; - - var charaKeyOrderTotalFirst = Definitions.CharacterKeysTotalFirst; - var charaKeyOrderTotalLast = Definitions.CharacterKeysTotalLast; - var charaKeyTotal = charaKeyOrderTotalFirst.First(); -#> \ No newline at end of file diff --git a/TemplateGenerator/Templates/th175score1.tt b/TemplateGenerator/Templates/th175score1.tt index bae508da..f01dec93 100644 --- a/TemplateGenerator/Templates/th175score1.tt +++ b/TemplateGenerator/Templates/th175score1.tt @@ -1,14 +1,18 @@ <#@ template debug="false" hostspecific="false" language="C#" #> <#@ include file="imports.ttinclude" once="true" #> -<#@ include file="th175.ttinclude" once="true" #> +<#@ include file="footer.ttinclude" once="true" #> +<#@ import namespace="TemplateGenerator.Models.Th175" #> <#@ output extension=".html" encoding="utf-8" #> +<# + var charaKeyTotal = Definitions.CharacterKeysTotalFirst.First(); +#> - <#= title #> スコアデータ + <#= Definitions.Title #> スコアデータ