Fix emoji in omnivore import

This commit is contained in:
JP Hastings-Spital 2024-03-27 23:25:28 +00:00
parent e7b7d255c8
commit e975660c04
3 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,8 @@
---
title: Adventures Raising the Next Generation
date: "2024-03-11T21:05:12Z"
emoji: "\U0001F476"
publishDate: "2024-03-07T17:00:00Z"
emoji: 👶
bookmarkOf: https://atlaspragmatica.com/doing-things-differently-adventures-raising-the-next-generation/
references:
bookmark:

View file

@ -1,7 +1,7 @@
---
title: Neologisms
date: "2024-03-03T08:57:01Z"
emoji: 🔮
emoji: "\U0001F52E"
bookmarkOf: https://maggieappleton.com/neologisms
references:
bookmark:

View file

@ -168,6 +168,7 @@ const omnivoreEndpoint = "https://api-prod.omnivore.app/api/graphql"
type Article struct {
ID string
Title string
Emoji string
BookmarkDate time.Time
PublishDate time.Time
OriginalTitle string
@ -187,6 +188,7 @@ type ArticleHighlight struct {
type FrontMatter struct {
Title string
Date string
Emoji string `yaml:"emoji,omitempty"`
PublishDate string `yaml:"publishDate,omitempty"`
BookmarkOf string `yaml:"bookmarkOf"`
References map[string]Ref