github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/testscripts/commands/import_jekyll.txt (about)

     1  # Test the import jekyll command.
     2  
     3  hugo import -h 
     4  stdout 'Import your site from other web site generators like Jekyll\.'
     5  
     6  hugo import jekyll -h
     7  stdout 'hugo import from Jekyll\.'
     8  
     9  hugo import jekyll myjekyllsite myhugosite
    10  checkfilecount 1 myhugosite/content/post
    11  grep 'example\.org' myhugosite/hugo.yaml
    12  
    13  # A simple Jekyll site.
    14  -- myjekyllsite/_posts/2012-01-18-hello-world.markdown --
    15  ---
    16  layout: post
    17  title: "Hello World"
    18  ---
    19  Hello world!