Comments (5)
Hey @ruskinik, I have added support for language based 404 page. here is the changes f994a8b
please download the latest version.
from hugoplate.
Maybe I'm missing something but it didn't solve the problem.
npm run update-theme
- copied
404.en.html
fromthemes
tolayouts
- added
404.fr.html
tolayouts
with French 404
http://localhost:1313/fr/foo
shows English 404 page.
from hugoplate.
from hugoplate.
It works, thanks.
However, solving one problem, it created another by changing the URL structure from example.com/foo
to example.com/en/foo
.
Is it possible to keep the default URL structure?
from hugoplate.
I don't think so, because when you enable defaultContentLanguageInSubdir
it will add the language path to the URL. but still I am going to check if it works
from hugoplate.
Related Issues (20)
- Site deployed on GitHub pages loses some formatting HOT 1
- Permission to zeon-studio/hugoplate.git denied
- Reload the searchindex.json file twice. HOT 3
- Hero image source HOT 2
- Your file couldn't be accessed HOT 2
- Page widths on mobile displays HOT 6
- CSS is broken when running in Gitpod HOT 3
- when running in provided devcontainer npm run dev errors out HOT 9
- Add basic js testing [enhancement] HOT 1
- CSS broken in .devcontainer example site even after changing baseurl HOT 4
- Error postCSS HOT 4
- :resourceDir not read/write in linux devcontainer running on windows machines
- Light/Dark button flickers when a menu item is clicked
- Navigation ignores external URLs. HOT 1
- unsupported redirect to value "/en/404.html" HOT 1
- how do I add a security header?
- New hugoplate site for showcase
- Dark/Light Mode Images Outside Header/Footer
- flags for language switcher
- content/.../pages links not available in footer (running hugo server) HOT 1
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 hugoplate.