Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I first click "Articles" page 's categories, it doesn't work. #66

Open
moluuser opened this issue Dec 30, 2021 · 6 comments
Open

Comments

@moluuser
Copy link

I must refresh the website, it can work.

@moluuser
Copy link
Author

When it works, I refresh it again and it fails again

@thomasgtaylor
Copy link
Contributor

@moluuser Does this occur during local testing or after you've published your site?

@moluuser
Copy link
Author

moluuser commented Jan 4, 2022

@moluuser Does this occur during local testing or after you've published your site?

Both ways will appear. I use github and cloudflare page to publish my site.

@thomasgtaylor
Copy link
Contributor

@moluuser Does this occur during local testing or after you've published your site?

Both ways will appear. I use github and cloudflare page to publish my site.

What does your file structure look like? What does your Hugo config look like? What exactly is the problem - can you either showcase screenshots or provide us a link to your website?

@moluuser
Copy link
Author

moluuser commented Jan 4, 2022

Hugo config:

baseurl: ""
languageCode: "en-us"
title: ""
theme: "hugo-tania"
paginate: 6
copyright: ""

params:
  # Emoji will show before the blog title on site navbar.
  titleEmoji: "🍭"
  # Logo will show before the blog title on site navbar.
  titleLogo: 
  socialOptions:
    email: 
  enableFootnotes: true
  author: ""

  # Comments settings
  comments:
    enabled: true
    provider: giscus

    giscus:
      repo: 
      id: 
      category:
        name: Announcements
        id: 

  # Limit how many categories filter show above search input.
  maxCategoryToShow: 10
  mathjax: true
  
menu:
  header:
    - name: Articles
      url: "/articles/"
      weight: 1
    - name: Time
      url: "/time/"
      weight: 2
    - name: "About"
      url: "/about/"
      weight: 3
  footer:
    - name: RSS
      url: "/index.xml"

markup:
  highlight:
    noClasses: false
    lineNos: true
    guessSyntax: true
  goldmark:
    renderer:
      unsafe: true

outputs:
  home: ["HTML","RSS", "JSON"]

@WingLim
Copy link
Owner

WingLim commented Jan 19, 2022

Sorry for so late to reply you, I am busy about the company work recently.

Can you give me some link which can reproduce this problem?

Or press F12, to see if there are any error. I think it is some javascript code get error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants