-
Notifications
You must be signed in to change notification settings - Fork 10
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
The tool only converts drafts, not posts. #6
Comments
Thanks for that , fixed my issue commenting the whole line |
On my exported medium posts, my draft has the prefix "draft" in the filename, so I add a new condition when checking file will ignore or not.
|
I also change the selector for checking it is a comment or not.
I see this class in every my comment |
Based on @nardiyansah solution, I have some comments without the graf-traling class so what's worked for me is
|
@sylwit's solution worked for me as well! |
I fixed this issue by forking the repository and commenting out line 137. If you're interested in just building my solution, download https://github.com/rtenacity/medium-to-hugo and build it from there. |
I'm trying to use the tool on a medium export I just made, and it's only converting drafts, and not comments.
Here's the command I'm using:
~/path/to/mediumtohugo/macos/mediumtohugo /path/to/medium-export/posts/ /path/to/dest posts
It outputs messages like this for everything that isn't a draft:
Looks like line 137 in main.go might be to blame?
All of my posts (not just comments) contain these lines:
The text was updated successfully, but these errors were encountered: