When parsing theme metadata ignore the name if it is the placeholder value from the template
This commit is contained in:
parent
87943079fb
commit
ea5634b3fd
1 changed files with 3 additions and 1 deletions
|
|
@ -507,7 +507,9 @@ func parse_theme_metadata(path string) (*ThemeMetadata, map[string]string, error
|
|||
val = strings.TrimSpace(val)
|
||||
switch key {
|
||||
case "name":
|
||||
ans.Name = val
|
||||
if val != "The name of the theme (if not present, derived from filename)" {
|
||||
ans.Name = val
|
||||
}
|
||||
case "author":
|
||||
ans.Author = val
|
||||
case "upstream":
|
||||
|
|
|
|||
Loading…
Reference in a new issue