You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system with its version:
Windows 10 Pro 10.0.19043
Browser with its version:
Not relevant to this bug. I use Edge and Brave browser on Windows 10
Hugo version:
hugo v0.88.1-5BC54738+extended windows/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
Tranquilpeak version:
0.5.3-Beta
Do you reproduce on https://tranquilpeak.kakawait.com demo?:
Nope. Must be reproduced on my local environment with certain configuration
Actual behavior
Login to the hugo server (Localhost:1313), the posts displayed are from another URL (in this case, URL="/products").
The "pages" in "/products" were displayed like "posts", sidebar was hidden, clearReading enabled and counted in categories and tags.
The posts in "/posts" cannot be found in homepage and not even in archives/categories, they appeared missing.
Expected behavior
Login to the hugo server (localhost:1313), the articles displayed are from URL="/posts" and can be found in archives/categories.
The pages in "/products" will not be displayed after I first login to my hugo server and only be displayed when I click the link in sidebar. They must behave like "page", not counted in categories/tags and skip clearReading=true parameter in config.toml .
Steps to reproduce the behavior
Use original hugo-tranquilpeak-theme configurations
Modify config.toml and add [menu.item] pointing to "/products" folder
[[menu.main]]
weight = 5 (not relevant, just use a non duplicate number)
identifier = "product"
name = "Products"
pre = "<i class="sidebar-button-icon fas fa-lg fa-store" aria-hidden="true">"
url = "/products"
make sure the number of "pages" inside "/products" folder are more than "posts" inside "/posts" folder.
For example, 3 pages in "/products" folder and 2 posts in "/posts" folder
Use "hugo server" to start the hugo server
User browser to login "localhost:1313"
The text was updated successfully, but these errors were encountered:
kakawait
changed the title
[BUG] Homepage will be redirected to the wrong URL under certain condition
Homepage will be redirected to the wrong URL under certain condition
Dec 28, 2021
Configuration
Operating system with its version:
Windows 10 Pro 10.0.19043
Browser with its version:
Not relevant to this bug. I use Edge and Brave browser on Windows 10
Hugo version:
hugo v0.88.1-5BC54738+extended windows/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
Tranquilpeak version:
0.5.3-Beta
Do you reproduce on https://tranquilpeak.kakawait.com demo?:
Nope. Must be reproduced on my local environment with certain configuration
Actual behavior
Login to the hugo server (Localhost:1313), the posts displayed are from another URL (in this case, URL="/products").
The "pages" in "/products" were displayed like "posts", sidebar was hidden, clearReading enabled and counted in categories and tags.
The posts in "/posts" cannot be found in homepage and not even in archives/categories, they appeared missing.
Expected behavior
Login to the hugo server (localhost:1313), the articles displayed are from URL="/posts" and can be found in archives/categories.
The pages in "/products" will not be displayed after I first login to my hugo server and only be displayed when I click the link in sidebar. They must behave like "page", not counted in categories/tags and skip clearReading=true parameter in config.toml .
Steps to reproduce the behavior
[[menu.main]]
weight = 5 (not relevant, just use a non duplicate number)
identifier = "product"
name = "Products"
pre = "<i class="sidebar-button-icon fas fa-lg fa-store" aria-hidden="true">"
url = "/products"
For example, 3 pages in "/products" folder and 2 posts in "/posts" folder
The text was updated successfully, but these errors were encountered: