diff --git a/TemplateGenerator/Templates/th075.ttinclude b/TemplateGenerator/Templates/th075.ttinclude deleted file mode 100644 index 4eea769b..00000000 --- a/TemplateGenerator/Templates/th075.ttinclude +++ /dev/null @@ -1,17 +0,0 @@ -<#@ include file="footer.ttinclude" once="true" #> -<#@ import namespace="TemplateGenerator.Models.Th075" #> -<# - var title = Definitions.Title; - - var levels = Definitions.LevelNames; - var levelsWithTotal = Definitions.LevelWithTotalNames; - - var levelKeyOrderTotalFirst = Definitions.LevelKeysTotalFirst; - var levelKeyOrderTotalLast = Definitions.LevelKeysTotalLast; - var levelKeyTotal = levelKeyOrderTotalFirst.First(); - - var characters = Definitions.CharacterNames; - - var cardsPerLevel = Definitions.NumCardsPerLevel; - var numCards = cardsPerLevel.Values.Sum(); -#> \ No newline at end of file diff --git a/TemplateGenerator/Templates/th075card.tt b/TemplateGenerator/Templates/th075card.tt index 4037d777..725e3932 100644 --- a/TemplateGenerator/Templates/th075card.tt +++ b/TemplateGenerator/Templates/th075card.tt @@ -1,14 +1,19 @@ <#@ template debug="false" hostspecific="false" language="C#" #> <#@ include file="imports.ttinclude" once="true" #> -<#@ include file="th075.ttinclude" once="true" #> +<#@ include file="footer.ttinclude" once="true" #> +<#@ import namespace="TemplateGenerator.Models.Th075" #> <#@ output extension=".html" encoding="utf-8" #> +<# + var levelKeyTotal = Definitions.LevelKeysTotalFirst.First(); + var numCards = Definitions.NumCardsPerLevel.Values.Sum(); +#>
-