Jekyll generating a blog

Discussion in 'App Development' started by analytics, Jun 14, 2020.

  1. So I am trying to get a blog up using Jekyll.
    Never used a site generator before.
    Just want to see how things fit together for now.

    So I run "jekyll new destination" and "jekyll serve", it displays a serve address and it looks like this
    upload_2020-6-14_6-31-2.png

    Then as mentioned in its documentation, I should run "jekyll build" and use (deploy) the files inside the _site folder. But the index file looks like. What's wrong?
    upload_2020-6-14_6-36-32.png
     
  2. It works now, after I amended the _config.yml file to specify the url: "http://example.com" and baseurl: "/blog". I thought the _site files could be viewed locally (not the jekyll serve generated server address) fine with links to assets properly assigned, but it seems I must use the local server address to properly view the output. Why? When the _site files are uploaded to the blog server www.example.com/blog, they work fine.
     
  3. old coot

    old coot

    I always wonder if they're talking about Jekyll and Hyde, or Hekyll and Jekyll. I'm a huge Hekyll and Jekyll fan. Not so much Jekyll and Hyde. Was once married to a woman with a split personality, and she accused me of cheating on her with her "other self" Of course it was true, hard to Hyde something like that. The other self was so much fun, though.