WingLim / hugo-tania

A simple theme for bloggers.

Home Page:https://hugo-tania.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

moluuser opened this issue · comments

I must refresh the website, it can work.

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

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

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

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

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.