Frontmatter updates and new custom deck
This commit is contained in:
@@ -58,7 +58,9 @@ foreach (var file in mdFiles)
|
||||
: null,
|
||||
ImmortalizeFrom = StripWikiLink(yaml.GetValueOrDefault("immortalizeFrom")),
|
||||
ImmortalizeWhen = NullIfNa(StripWikiLinks(yaml.GetValueOrDefault("immortalizeWhen"))),
|
||||
ImageFile = imageFile
|
||||
ImageFile = imageFile,
|
||||
Artist = yaml.GetValueOrDefault("artist"),
|
||||
Rarity = yaml.GetValueOrDefault("rarity"),
|
||||
};
|
||||
|
||||
cards.Add(card);
|
||||
@@ -115,6 +117,9 @@ for (var i = 0; i < cards.Count; i++)
|
||||
WriteStrProp(writer, "ImmortalizeFrom", c.ImmortalizeFrom, 3);
|
||||
WriteStrProp(writer, "ImmortalizeWhen", c.ImmortalizeWhen, 3);
|
||||
WriteStrProp(writer, "ImageFile", c.ImageFile, 3);
|
||||
|
||||
WriteStrProp(writer, "Artist", c.Artist, 3);
|
||||
WriteStrProp(writer, "Rarity", c.Rarity, 3);
|
||||
|
||||
var comma = i < cards.Count - 1 ? "," : "";
|
||||
writer.WriteLine($" }}{comma}");
|
||||
|
||||
Reference in New Issue
Block a user