Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front matter weird formatting #13

Closed
bwplotka opened this issue Jan 1, 2021 · 3 comments
Closed

front matter weird formatting #13

bwplotka opened this issue Jan 1, 2021 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@bwplotka
Copy link
Owner

bwplotka commented Jan 1, 2021

 ---
-authors:
-- name: "Bartek Płotka"
-date: 2020-09-03
-linktitle: Thanos Announces Weekly Mentoring Office Hours
-type:
-- post 
-- posts
-title: Thanos Announces Weekly Mentoring Office Hours
 weight: 1
-categories:
-- open-source
-images:
- - "/og-images/uche-header.png"
-featuredImage: "/og-images/uche-header.png"
+type: [post posts]
+title: Thanos Announces Weekly Mentoring Office Hours
+linktitle: Thanos Announces Weekly Mentoring Office Hours
+images: [/og-images/uche-header.png]
+featuredImage: /og-images/uche-header.png
+date: 2020-09-03
+categories: [open-source]
+authors: [map[name:Bartek Płotka]]
@bwplotka bwplotka added bug Something isn't working help wanted Extra attention is needed labels Jan 1, 2021
@saswatamcode
Copy link
Collaborator

I think this is due to frontMatter in mdformatter.go having nested key-value pairs which aren't being iterated over. Thus they're showing up as map[name:.... I would love to take this up!

@bwplotka
Copy link
Owner Author

bwplotka commented Mar 6, 2021

Please, do thank you!

@saswatamcode
Copy link
Collaborator

I'm not sure how to fix the lint check yet, would appreciate some help with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants