nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.53k stars 420 forks source link

ShowMoreLinkDest do not Support Multi Language #1845

Closed Weaxs closed 1 week ago

Weaxs commented 1 week ago

Describe the bug I set 'zh-CN' as default langage, and I supported en.

I swich to en, and when I click showMore, jump to zh-CN articles list page.

params.toml:

[homepage]
  showMoreLink = true
  showMoreLinkDest = "/articels"

To Reproduce Steps to reproduce the behavior:

  1. Switch to language which is not default
  2. Click on ShowMore
  3. See error

Expected behavior

click on ShowMore, jump to current language showMoreLinkDest

Desktop (please complete the following information):

Hugo & Blowfish versions blowfish v2.78.0

Weaxs commented 1 week ago

I have solved it.

change showMoreLinkDest from /articels to articels