mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 19:05:41 +01:00
[Facebook] A first photo and some tweeks
This commit is contained in:
parent
388644fe8c
commit
6d6a2f2023
4 changed files with 11 additions and 2 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
media:
|
||||||
|
- url: media-0.jpg
|
||||||
|
date: "2009-03-16T14:06:37Z"
|
||||||
|
tags:
|
||||||
|
- from-facebook
|
||||||
|
---
|
||||||
|
Send me a message (and a quid :p) if you'd like a copy of the full size one!
|
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
|
@ -12,3 +12,4 @@ q52a5kehxx6k3my3wtguijbtlq
|
||||||
dibpsddlyh53wou3po54dx4dte
|
dibpsddlyh53wou3po54dx4dte
|
||||||
4xrfjvhl5mc7fkvjpb42bfpr5m
|
4xrfjvhl5mc7fkvjpb42bfpr5m
|
||||||
ipyvqr7n332u43qac6ygd3qbmu
|
ipyvqr7n332u43qac6ygd3qbmu
|
||||||
|
hws3xuvgtvqkwaeck22sqnij6u
|
|
@ -94,7 +94,7 @@ func postize(e PostCheckinPhotoOrVideo, matches []string) (shared.Post, shared.M
|
||||||
post.FrontMatter.References = append(post.FrontMatter.References, ref)
|
post.FrontMatter.References = append(post.FrontMatter.References, ref)
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.HasSuffix(post.FrontMatter.Title, "shared a link.") {
|
if strings.HasSuffix(post.FrontMatter.Title, "shared a link.") || strings.HasSuffix(post.FrontMatter.Title, "added a new photo.") {
|
||||||
post.FrontMatter.Title = ""
|
post.FrontMatter.Title = ""
|
||||||
}
|
}
|
||||||
if post.FrontMatter.Title == "" && ref.Name != "" {
|
if post.FrontMatter.Title == "" && ref.Name != "" {
|
||||||
|
|
Loading…
Reference in a new issue