Files
hugo/testscripts/commands/import_jekyll.txt
T
2026-02-12 20:52:56 +01:00

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!