# Try this updated plugin to import from Jekyll!

**URL:** <https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135>\
**Category:** Ideas\
**Created:** [May 4, 2019, 5:02am UTC](https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135 "2019-05-04T05:02:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mekomlusa](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mekomlusa](https://forum.ghost.org/u/mekomlusa)\
**Post date:** [May 4, 2019, 5:02am UTC](https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135/1 "2019-05-04T05:02:50Z")

</div>

Hey guys! I just got my Ghost blog up and running today. Previously, my technical notes were hosted using Jekyll under Github pages. Thanks to the [migration guide](https://docs.ghost.org/api/migration/#non-official), I was able to find the [unofficial Jekyll to Ghost plugin](https://github.com/mattvh/Jekyll-to-Ghost) to start with. Everything went out well, until I tried to import the converted JSON file and got the error asking me to downgrade to 1.0, import, and export… I don’t want to set up another Ghost 1.0 site, though. So again, I refer to the migration example and tweak the code a little bit so that the exported JSON file works fine for Ghost 2.1.4. I’m still working on the author function (unable to extract it properly from Jekyll… yet), but I’ve provided a workaround in README. You’re more than welcome to try this out! And please let me know how it goes.

Github repo: [https://github.com/mekomlusa/Jekyll-to-Ghost](https://github.com/mekomlusa/Jekyll-to-Ghost)

Thanks for reading!!!

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [May 6, 2019, 1:52pm UTC](https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135/2 "2019-05-06T13:52:12Z")

</div>

This is awesome. Thanks for sharing! Let know about the progress and probably worth doing a PR to the original plugin, so people could make use of your work 😉

---

<div class="post-metadata">

**Author:** ![mekomlusa](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mekomlusa](https://forum.ghost.org/u/mekomlusa)\
**Post date:** [May 6, 2019, 7:51pm UTC](https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135/3 "2019-05-06T19:51:34Z")

</div>

Thanks Naz! I’ve added the author extraction function and tested it. Everything works fine. There’s just an extra step - that is, one would need to use the tryghost/migrate tool to get mobiledocs generated. I have created a PR under the original repo, hopefully it could get merged in 🙂

---

<div class="post-metadata">

**Author:** ![markstos](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/markstos/32/18182_2.png) [@markstos](https://forum.ghost.org/u/markstos)\
**Post date:** [June 21, 2022, 5:46pm UTC](https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135/4 "2022-06-21T17:46:00Z")

</div>

I’ve submitted a pull request to the Jekyll importer that fixes a number of bugs and adds several additional features including:

- Added support for HTML-formatted context in addition to Markdown
- Added support for the `.markdown` file extension
- Added support for `published:false` in frontmatter
- Added support for unquoted dates in frontmatter
- Added support for `basename` in frontmatter
- Improved support for importing `tags` and `categories`
- Imports Jekyll categories as the primary Ghost tag.
- Better handle empty imports
- Fix problems reading from the import zip file
- Documents that internal #jekyll tag is added to imports.
- Improved importing from blogs hosted at a subdirectory

Many of the code fixes come with automated tests to cover them as well. My pull request which contains all the above changes is here: [Jekyll: Fix many bugs, add new features by markstos · Pull Request #506 · TryGhost/migrate · GitHub](https://github.com/TryGhost/migrate/pull/506)

---

<div class="post-metadata">

**Author:** ![markstos](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/markstos/32/18182_2.png) [@markstos](https://forum.ghost.org/u/markstos)\
**Post date:** [July 13, 2022, 5:42pm UTC](https://forum.ghost.org/t/try-this-updated-plugin-to-import-from-jekyll/7135/5 "2022-07-13T17:42:42Z")

</div>

All my fixes described above were merged into the official `migrate` tool.
