mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
19ab3f581c
Closes #14504
20 lines
455 B
Plaintext
20 lines
455 B
Plaintext
# Test the import + import jekyll command.
|
|
|
|
hugo import -h
|
|
stdout 'Import a project from another system'
|
|
|
|
hugo import jekyll -h
|
|
stdout 'hugo import from Jekyll\.'
|
|
|
|
hugo import jekyll my-jekyll-project my-hugo-project
|
|
checkfilecount 1 my-hugo-project/content/post
|
|
grep 'example\.org' my-hugo-project/hugo.yaml
|
|
|
|
# A simple Jekyll project.
|
|
-- my-jekyll-project/_posts/2012-01-18-hello-world.markdown --
|
|
---
|
|
layout: post
|
|
title: "Hello World"
|
|
---
|
|
Hello world!
|