Hi,
I’m working on my first hugo site and I’m getting an error I haven’t been able to figure out or find an answer to yet.
Chrome and Safari show the error Unexpected token: <
in line one of Index which is
Looking around in chrome dev tools, it appears 2 index pages are loaded as shown in the screenshot. I’m guessing the error occurs when the browser see a second .
I’m running the server locally using hugo server -D
and have installed one theme “hugo-kross”. I’ve copied some templates from the theme layouts directory to the site layouts directory so I can make changes. There are 2 index pages, one for the theme and one copied and changed for my site
test-hugo/layouts/index.html
test-hugo/themes/kross-hugo/layouts/index.html
Any suggestion on how to troubleshoot this problem?
Thank you.