Comments (5)
Found this: https://www.gatsbyjs.com/docs/add-page-metadata/
That will work for all the dynamically generated pages. I'll have to see about what to do about the markdown files. Hopefully we won't have to add that to every page though. I'm mostly just putting this comment here to document what I've found so far (in case I close the tab with that page in it by accident).
from kodi-tv.
Yeah, I found that page too and was quiet confused what to do with the mdx pages :D
from kodi-tv.
Done with 9899d97. I wrote a little component that adds to the metadata header using Helmet and accepts "title" as a passed property. So that each page can have it's own title, the template built pages have that component added to the template with the dynamic information needed for each page to get a unique title. For the mdx pages, I imported the component and passed a page title in. The behavior mirrors the current site, so the main site has a title, and other pages prepend to that (so Kodi | Opensource Home Theather Software is the main title, and the about page is About Us | Kodi | Opensource Home Theather Software).
from kodi-tv.
BTW, we can add other stuff to that metadata for SEO and whatever else. If it's for every page, we can just add it to the component. If it's page specific, we can pass it in as a properly and then adjust the component as needed.
from kodi-tv.
Neat
from kodi-tv.
Related Issues (20)
- Netlify CMS Limitations/Options HOT 4
- Hero image distortion on blog pages HOT 6
- Jiotv not working with new version HOT 1
- "Essay writing" spam on Kodi blog HOT 10
- Enable Netlify CMS "Open Authoring" feature HOT 7
- Add sentry to sponsors HOT 1
- Forum count shows a zero HOT 2
- Provide download button for Apple Silicon (arm64) HOT 7
- "[CR]" showing in addon descriptions
- Add OSUOSL to sponsors HOT 5
- Admin login sometimes doesn't connect with github HOT 4
- CRT shader HOT 1
- No Dolby Atmos HOT 3
- Link to Stripe customer portal
- kodi访问jellyfin服务失败,错误码[WinError 10060] HOT 2
- Figure out how to enable alternative Stripe payment methods
- Make donate button more prominent HOT 4
- Add webOS download HOT 4
- Add TVHeadend as friend
- change 'tvdb.com' to 'thetvdb.com'
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 kodi-tv.