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

hugo import from jekyll #101

Closed
spf13 opened this issue Oct 8, 2013 · 6 comments
Closed

hugo import from jekyll #101

spf13 opened this issue Oct 8, 2013 · 6 comments

Comments

@spf13
Copy link
Contributor

spf13 commented Oct 8, 2013

No description provided.

@anthonyfok
Copy link
Member

That's a great idea, @spf13!

Ideally, this hugo import command could eventually do all the following:

  1. Convert all the contents (i.e. Markdown)
  2. Convert the templates/layouts/themes (HTML and Liquid templates)
  3. Compile the Sass files, and also do any necessary conversion and place them in an appropriate location. (See also Support for preprocessors #16 and Add post hook on site generation #47 regarding support for pre- and post-processors)
  4. Alert the user to any problems that may require manual intervention.

And the accompanying documentation/tutorial.

There is quite a bit of work, though we can start from the basics first, perhaps even just a quick tutorial, then a quick-and-dirty shell script in the beginning as a proof-of-concept. If necessary, we will add features incrementally over several releases.

And perhaps eventually we will extend this feature for importing Octopress, Middleman, nanoc, DocPad too! Haha!

@anthonyfok
Copy link
Member

Reposting what I wrote in #100:

Indeed, seeing that Jekyll Import (http://import.jekyllrb.com/) already has the ability to convert from 23 other systems, we can leverage Jekyll Import to our advantage by perfecting our own Jekyll-to-Hugo Importer. Once that is done, we'll have the ability to convert from 24 systems, all for the price of 1! Haha! :-)

@spf13 spf13 modified the milestones: v0.13, v0.14 Feb 22, 2015
@anthonyfok
Copy link
Member

Great news!

Fredrik Loch (@SenjinDarashiva) has just announced on http://discuss.gohugo.io/t/i-created-a-small-script-for-converting-jekyll-posts-to-hugo/850 that he has written a Python script for converting Jekyll posts to Hugo! Awesome! His work is available at:

Documentation on Fredrik's blog here: http://fredrikloch.me/post/moving_jekyll_hugo/

@anthonyfok anthonyfok removed this from the v0.14 milestone Sep 16, 2015
@anthonyfok
Copy link
Member

Status update:

@digitalcraftsman has kindly compiled a list of Hugo migration tools, and documented them at http://gohugo.io/tools/. See his Pull Request #1423 for more information.

In particular, @digitalcraftsman has listed the following Jekyll-to-Hugo migration tools:

  • JekyllToHugo - A Small script for converting Jekyll blog posts to a Hugo site. (written in Python by @SenjinDarashiva)
  • ConvertToHugo - Convert your blog from Jekyll to Hugo. (also written in Python, by @coderzh)

We are keeping this issue #101 open in case anyone wants to make Jekyll-to-Hugo migration a built-in feature inside Hugo. 😉

@anthonyfok anthonyfok added this to the future milestone Sep 16, 2015
@coderzh
Copy link
Contributor

coderzh commented Sep 16, 2015

The built-in migration tool will be very helpful. I think I can give it a try.

coderzh added a commit to coderzh/hugo that referenced this issue Oct 4, 2015
usage: hugo import jekyll jekyll_root_path target_path

Implemented:
 * Create new hugo site
 * Create config.yaml
 * Convert all markdown contents.
 * Copy all other files and folders to static

Fixes gohugoio#101
@bep bep closed this as completed in 9a2f6c6 Oct 4, 2015
@anthonyfok anthonyfok modified the milestones: v0.15, future Oct 5, 2015
bramp pushed a commit to bramp/hugo that referenced this issue Dec 17, 2015
usage: hugo import jekyll jekyll_root_path target_path

Implemented:
 * Create new hugo site
 * Create config.yaml
 * Convert all markdown contents.
 * Copy all other files and folders to static

Fixes gohugoio#101
tychoish pushed a commit to tychoish/hugo that referenced this issue Aug 13, 2017
usage: hugo import jekyll jekyll_root_path target_path

Implemented:
 * Create new hugo site
 * Create config.yaml
 * Convert all markdown contents.
 * Copy all other files and folders to static

Fixes gohugoio#101
moorereason pushed a commit to moorereason/hugo that referenced this issue Sep 13, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants