Open aasutossh opened 4 years ago
The answers of all of your questions can be found here: https://translate.googleusercontent.com/translate_c?depth=1&nv=1&rurl=translate.google.com&sl=auto&sp=nmt4&tl=en&u=https://www.sainnhe.dev/post/build-blog-on-github-pages/&usg=ALkJrhiq-wluy76CeAsj8GHvxFuhIl_Q8w
Sorry if I wasn't clear. I am following the same post.
I made 2 repos, one blog, other username.github.io. I set up github actions and it's working.
Changed theme but don't know what to do after that. Also I set up the comment system same as you. But it's not showing up.
Update on comments: it's now showing up. But theme is still not working.
Update on theme: turns out the github actions wasn't working after I changed the theme _variables.scss file. and commited to my repo.
Git checkout failed. Looks like you are still using the original url of hugo-theme-even instead of your own fork, this message is shown in the log of GitHub Actions.
Do this:
git submodule --sync
git submodule --update
git submodule --update-remote
git add .
git push origin master
Also, check the .gitmodules
file in your repo.
Since I don't know what's going on in your git repo, so I may provide little help. If you have any questions in using submodules, search in stack overflow instead.
As for the comment system, make sure you are using a public repository. For detailed usage, see the official guide.
And after you modified the source code of hugo-theme-even, you need to rebuild them.
yarn update
yarn install
yarn build
See the official repository for detailed usage.
They updated their stuff. No need to build with yarn anymore.
Hi, I was building site similar to yours. How did you add the theme? as a submodule or you cloned it? And how did you push to the repo? I changed the edge theme to
Dark Violet
and did yarn install, yarn build. What to do after that?I thought this was the fastest way to communicate so. Also I enabled comments but they aren't coming online. I am using your guide btw.
edit: theme name