hugo-PaperMod
hugo-PaperMod copied to clipboard
[Bug]: multilinguality issue
What happened?
Hi there, thanks for your invaluable contribution. I found a strange issue when I have two languages. You can find my template here: https://hadifar.github.io/
When I click on language (Fa) it redirect to localhost which I guess is a bug.
Steps to reproduce
Go here: https://hadifar.github.io/ Just click on language button (Fa)
Hugo Version
Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod)
PaperMod Version
PaperMod master
What kind of devices are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Browser Version
No response
Relevant log output
baseURL: "https://hadifar.github.io/"
title: Amir Hadifar
paginate: 5
theme: PaperMod
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
minify:
disableXML: true
# minifyOutput: true
languages:
en:
languageName: "En"
weight: 1
#taxonomies:
# category: categories
# tag: tags
# series: series
#menu:
# main:
# - name: Archive
# url: archives
# weight: 5
# - name: Search
# url: search/
# weight: 10
# - name: Tags
# url: tags/
# weight: 10
params:
HomeInfoParams:
Title: NLP Explorer
Content: I am a Machine Learning Research Engineer at Bell-labs, where I focus on exploring the field of Natural Language Processing (NLP).
fa:
languageDirection: rtl
languageName: "Fa"
weight: 1
title: امیر هادیفر
#taxonomies:
# category: FRcategories
# tag: FRtags
# series: FRseries
params:
HomeInfoParams:
Title: سلام!
Content: یه محقق پردازش زبان طبیعی در آزمایشگاه تحقیقاتی بل! علاقمند به بلاگ، تاریخ و زبان فارسی.
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "Theme PaperMod - https://github.com/hadifar/"
author: Theme PaperMod
# author: ["Me", "You"] # multiple authors
defaultTheme: auto
# disableThemeToggle: true
ShowShareButtons: true
ShowReadingTime: false
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: false
ShowToc: true
# comments: false
images: ["papermod-cover.png"]
profileMode:
enabled: false
title: Amir Hadifar
imageUrl: "https://www.dropbox.com/s/1li9nqixxoimug3/me.jpg?dl=1"
imageTitle: my image
# imageWidth: 120
# imageHeight: 120
# buttons:
# - name: Archives
# url: archives/
# - name: Search
# url: search/
# homeInfoParams:
# Title: "NLP Explorer"
# Content: >
# I am a Machine Learning Research Engineer at Bell-labs, where I focus on exploring the field of Natural Language Processing (NLP).
socialIcons:
- name: github
url: "https://github.com/hadifar"
- name: stackoverflow
url: "https://stackoverflow.com/users/1462770/amir"
- name: linkedin
url: "https://linkedin.com/in/hadif4r"
- name: googlescholar
url: "https://scholar.google.com/citations?user=vESJYOsAAAAJ"
- name: twitter
url: "https://twitter.com/hadif4r"
# label:
# text: "Home"
# icon: icon.png
# iconHeight: 35
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
assets:
favicon: "https://www.dropbox.com/s/6yibiw9ow6uhn5m/favicon.ico?dl=1"
favicon16x16: "https://www.dropbox.com/s/yllnhi3xvbblmkq/favicon-16x16.png?dl=1"
favicon32x32: "https://www.dropbox.com/s/asou6xm4f4lmkmm/favicon-32x32.png?dl=1"
apple_touch_icon: "https://www.dropbox.com/s/qhblg3zmsyxiipr/apple-touch-icon.png?dl=1"
safari_pinned_tab: "<link / abs url>"
# cover:
# hidden: true # hide everywhere but not in structured data
# hiddenInList: true # hide on list pages and home
# hiddenInSingle: true # hide on single page
# fuseOpts:
# isCaseSensitive: false
# shouldSort: true
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
taxonomies:
category: categories
tag: tags
series: series
markup:
goldmark:
renderer:
unsafe: true
highlight:
# # anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
noClasses: false
# style: monokai
privacy:
vimeo:
disabled: false
simple: true
twitter:
disabled: false
enableDNT: true
simple: true
instagram:
disabled: false
simple: true
youtube:
disabled: false
privacyEnhanced: true
services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true
Repository/Source Code link where this issue can be reproduced
https://github.com/hadifar/hadifar.github.io
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
which command are u using to build. this is just related to baseURL.