mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 22:11:48 -05:00
6b5e117a12
Closes #12897 Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718 Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
19 lines
425 B
Text
19 lines
425 B
Text
# Test the import + import jekyll command.
|
|
|
|
hugo import -h
|
|
stdout 'Import a site from another system'
|
|
|
|
hugo import jekyll -h
|
|
stdout 'hugo import from Jekyll\.'
|
|
|
|
hugo import jekyll myjekyllsite myhugosite
|
|
checkfilecount 1 myhugosite/content/post
|
|
grep 'example\.org' myhugosite/hugo.yaml
|
|
|
|
# A simple Jekyll site.
|
|
-- myjekyllsite/_posts/2012-01-18-hello-world.markdown --
|
|
---
|
|
layout: post
|
|
title: "Hello World"
|
|
---
|
|
Hello world!
|