feat(cv): expand builder studio tools
This commit is contained in:
@@ -31,6 +31,8 @@ public sealed class CvRenderSection
|
||||
public List<string> Tags { get; set; } = new();
|
||||
public List<CvRenderEntry> Entries { get; set; } = new();
|
||||
public List<CvRenderSkillGroup> SkillGroups { get; set; } = new();
|
||||
public string? Presentation { get; set; }
|
||||
public int Columns { get; set; } = 1;
|
||||
|
||||
public bool IsEmpty => Bullets.Count == 0 && Tags.Count == 0 && Entries.Count == 0 && SkillGroups.Count == 0;
|
||||
}
|
||||
@@ -158,6 +160,8 @@ public static class CvVariantResolver
|
||||
{
|
||||
section.Entries = ReorderByKey(section.Entries, cfg.ItemOrder);
|
||||
}
|
||||
section.Presentation = cfg.Presentation;
|
||||
section.Columns = cfg.Columns is 2 ? 2 : 1;
|
||||
}
|
||||
else if (customHiddenByKey.TryGetValue(key, out var customHidden) && customHidden)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user