hugo-tania icon indicating copy to clipboard operation
hugo-tania copied to clipboard

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

Open moluuser opened this issue 3 years ago • 6 comments

I must refresh the website, it can work.

moluuser avatar Dec 30 '21 14:12 moluuser

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

moluuser avatar Dec 30 '21 14:12 moluuser

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

thomasgtaylor avatar Jan 04 '22 06:01 thomasgtaylor

@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.

moluuser avatar Jan 04 '22 06:01 moluuser

@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?

thomasgtaylor avatar Jan 04 '22 06:01 thomasgtaylor

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"]

moluuser avatar Jan 04 '22 08:01 moluuser

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.

WingLim avatar Jan 19 '22 10:01 WingLim