hugo/testscripts/commands/import_jekyll.txt
Rohan Hasabe 6b5e117a12 commands: Use consistent style when describing subcommands
Closes #12897

Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2024-10-15 08:51:53 +02:00

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!