Search code examples
github-pageshugoreadme

README.md showing as index file in github page [hugo blog engine deployment]


*Heading a issue while rendering posts as static pages hosted in github ... What I am willing to complete is a personal blog environment with Hugo! By so far I have run the site locally and went well...but while deploying in Github the only thing I get when I visit the site is

Blockquote

README.md rendered as index page on :https://passager07.github.io/ I am not making it to access the ...content/post/[post].md

Blockquote

https://github.com/passager07/passager07.github.io


Solution

  • Solution of this problem was found by :

    1. Constructing my new repository without Readme.md file and licence.

    2. Playing around on localhost with hugo and all the configuration (including theme) to get the greatest satisfaction!

    3. Making sure that public folder is created running hugo
    4. Getting a .gitingore file on public folder
    5. Pushing it to my repository on master branch

    After this steps I let https://www.netlify.com do the rest by automatic deployment!