Minor stuff
This commit is contained in:
parent
2ec7e6cd85
commit
c7bc40ba33
@ -105,7 +105,6 @@ func generateBookMarkdown(book Book) error {
|
|||||||
|
|
||||||
// Helper function to update only YAML fields that exist in both the frontmatter and YAML data
|
// Helper function to update only YAML fields that exist in both the frontmatter and YAML data
|
||||||
func updateFrontmatterWithYAML(frontmatter utils.FrontMatter, book Book) utils.FrontMatter {
|
func updateFrontmatterWithYAML(frontmatter utils.FrontMatter, book Book) utils.FrontMatter {
|
||||||
// Update fields (adapt based on your actual Book struct)
|
|
||||||
frontmatter.Progress = book.Progress
|
frontmatter.Progress = book.Progress
|
||||||
frontmatter.Date = book.Date
|
frontmatter.Date = book.Date
|
||||||
frontmatter.Rate = book.Rate
|
frontmatter.Rate = book.Rate
|
||||||
|
Loading…
Reference in New Issue
Block a user