Comments (6)
This functionality is still a work in progress, we are just getting started with it, so this will be resolved before going to the develop
branch. Thanks!
from rockylinux.org-hugo.
rocky-linux/rockylinux.org#157
from rockylinux.org-hugo.
Okay, so our current problem with implementing the blog section of the site is that if Hugo doesn't see a post targeted for a specific language, it won't generate the files for that language. This is a problem, because we don't currently plan on translating blog posts to other languages. If anyone has experience with a solution in which we could get Hugo to generate the files without needing to create language specific files or running scripts, we're all ears. The current plan if we can't find another solution is to append a language identifier to the end of the URL so that it forces the user onto the English version of the site. Please keep in mind that we don't want to make anything difficult on the content creators, we just want them to be able to create a single markdown file and be done with it.
from rockylinux.org-hugo.
The solution consisting of add language identifier to the end of the URL is tested?
Thanks
from rockylinux.org-hugo.
Yes @domingoruiz I tested it on my end, it basically will force the site to be displayed in English, resulting in the successful display of the blog post. It's a bit simple, but wouldn't require any additional steps from content creators. We want to make sure it's as easy as possible to create content, no scripts, nothing other than adding the markdown files.
This is going to be a last resort option, though. If someone else can come up with a solution that still doesn't require the use of scripts or anything, we'd welcome their input.
from rockylinux.org-hugo.
I think that this issue can be closed...
Thanks
from rockylinux.org-hugo.
Related Issues (20)
- Added Catalan language support
- Typo for the Italian language
- Ukrainian and Swedish translations deleted HOT 2
- Comment system implementation HOT 3
- Implement CSP HOT 16
- promote link to forums in the top navbar
- Add a sponsors page HOT 2
- i18/de typo HOT 1
- Update Slack logo on the website footer HOT 1
- Publish Donations page HOT 1
- Add button on donation page for logins HOT 1
- Update copyright date on website footer to 2021 HOT 1
- license issue HOT 1
- Incompatible small screen display in the donation page HOT 1
- Language Picker Dropdown Doesn't Work HOT 1
- Add 'Press' page to website HOT 4
- RSS feed disoverability
- Sponsor bar colour incorrect HOT 7
- Update donations link on homepage 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 rockylinux.org-hugo.