zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

Couldn't be published to github #3

Closed ghost closed 5 years ago

ghost commented 5 years ago

Describe the bug

I followed instructions to install cupper-hugo-theme from here. After that, i followed instructions to publish static site to github from here. But, an error comes up from github repository setting page:

Your site is having problems building: The tag image on line 129 in themes/cupper-hugo-theme/exampleSite/content/post/migrate-from-jekyll.md is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.

To Reproduce Steps to reproduce the behavior:

  1. Follow instructions from https://gohugo.io/getting-started/quick-start/
    • You should replace a theme with cupper-hugo-theme.
  2. Follow instructions from https://gohugo.io/hosting-and-deployment/hosting-on-github/ to host website on github
  3. Go to setting page of repository.
$ ls
archetypes  config.toml  content  data  deploy.sh  layouts  public  resources  static  themes

$ ls public/
android-chrome-192x192.png  apple-touch-icon.png  categories  favicon-16x16.png  favicon-96x96.png  images      index.xml  mstile-150x150.png     site.webmanifest  tags
android-chrome-512x512.png  browserconfig.xml     css         favicon-32x32.png  favicon.ico        index.html  js         safari-pinned-tab.svg  sitemap.xml

Screenshots

2019-02-22 11 04 46

Desktop (please complete the following information):

zwbetz-gh commented 5 years ago

Hi @jinbeomhong. The following error you gave:

Your site is having problems building: The tag image on line 129 in themes/cupper-hugo-theme/exampleSite/content/post/migrate-from-jekyll.md is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.

Has nothing to do with the Cupper theme, but is an issue with your GitHub Pages configuration.

I have never used GitHub Pages, but from reading that error message, "Liquid tag" is a Jekyll thing, so for some reason your site is being seen as a Jekyll site instead of a Hugo site. I'd recommend reading the GitHub Pages docs to troubleshoot the error.

Am closing this issue.

zwbetz-gh commented 5 years ago

Also, I'd recommend posting your issue to the Hugo forum https://discourse.gohugo.io/ as that is the more appropriate place to troubleshoot this issue. If you share your site code, folks will be able to help you better.