Comments (10)
Thanks for reporting this issue @Rayjun0525 . It has been fixed now.
can't we change it so that we can specify the initial home path as a variable
Yes, we can do that.
Can you update your theme and then set the baseURL
in config.toml
file to your blog/website URL?
from hugo-blog-awesome.
Hello :)
There is a problem of going to the top of the git page when you press the home button. I wonder if this is my git page setting problem or if it can be solved by setting it in the config.toml file.
Could you please explain what you meant by 'git page' ?
from hugo-blog-awesome.
I am writing a hugoblog through the page of GitHub.
My url is like this
https://gitId.github.io/blogTitle/
However, clicking the Home button on the main page will switch to page 404 of github.
The same problem occurs when you click 'See all posts' on the main page that is set to go to /posts/.
I resolved by changing the link address of the third line of the file "hugo-blog-awesome/layouts/partials/header.html" and the link address of the 20th line of the file "hugo-blog-awesome/layouts/index.html"
But to avoid this problem, can't we change it so that we can specify the initial home path as a variable? I am not familiar with the correction of hugo yet, so I inquired about the issue instead of a commit request.
from hugo-blog-awesome.
It's Fantastic. Thank you for the quick action!
from hugo-blog-awesome.
You are welcome @Rayjun0525.
Happy blogging :)
from hugo-blog-awesome.
set the
baseURL
inconfig.toml
I want to mention that there is ability to set baseURL variable in build command (hugo -b /kusyka/
). Setting baseURL in config file may break site running on dev server (hugo server
command). See CLI docs for more options.
from hugo-blog-awesome.
Setting baseURL in config file may break site ruining on dev server
@kusyka911, my experience has been quite the opposite of what you mentioned.
I have worked with a ton of Hugo websites but I never experienced this issue. If this issue arises only when we use no-root baseURL, then I have nothing to say. I have not used a non-root baseURL yet.
from hugo-blog-awesome.
Hello, I am having a similar issue where the Home Icon Button is redirecting me to "localhost:1313".
I have double checked that my config file has baseURL set to my blog's domain. Is there something else I should check as well?
from hugo-blog-awesome.
Hello, I am having a similar issue where the Home Icon Button is redirecting me to "localhost:1313".
I have double checked that my config file has baseURL set to my blog's domain. Is there something else I should check as well?
Hi @Ritter99.
- What command are you using to deploy or build your site?
- What exactly is your
baseURL
?
from hugo-blog-awesome.
@hugo-sid, I am using the "server" command to run Hugo and my baseURL = "https://blog.example.com/"
from hugo-blog-awesome.
Related Issues (20)
- Page width setting HOT 1
- Logo on `README.md` not getting displayed
- RSS feed issue HOT 5
- how can I change the date style
- why after build the website, gen the file resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content HOT 1
- TOC setting bug HOT 2
- Unable to run hugo when `dateFormat` parameter is not set
- Long inline code does not break line HOT 4
- Only working on server mode, building static breaks app HOT 1
- On the homepage, post dates wrap if post titles are too long HOT 8
- RSS Template Errors Preventing Build HOT 6
- Refactor installation guide, issue template, contribution guideline
- No Russian language support
- Inconsistent appearance of inline code, in lists, in light theme
- RSS Feed Link is Broken on Posts HOT 6
- Posts paginator error, fails on hugo server --buildDrafts HOT 2
- Twitter shortcode needs named parameters since hugo v0.123.0
- Build fails due to old config of `twitter_simple` shortcode HOT 1
- Paginator error HOT 3
- Date on post is not following dateFormat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-blog-awesome.