mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 06:35:41 +01:00
FB posts are notes by default
This commit is contained in:
parent
b1f5864732
commit
f6bba98516
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func postize(e PostCheckinPhotoOrVideo, matches []string) (shared.Post, shared.M
|
||||||
|
|
||||||
postDate := time.Unix(int64(e.Timestamp), 0).UTC()
|
postDate := time.Unix(int64(e.Timestamp), 0).UTC()
|
||||||
post := shared.Post{
|
post := shared.Post{
|
||||||
Path: makePostPath("post", postDate, postHash),
|
Path: makePostPath("note", postDate, postHash),
|
||||||
FrontMatter: shared.FrontMatter{
|
FrontMatter: shared.FrontMatter{
|
||||||
Title: e.Title,
|
Title: e.Title,
|
||||||
Date: postDate.Format(time.RFC3339),
|
Date: postDate.Format(time.RFC3339),
|
||||||
|
|
Loading…
Reference in a new issue