Comments (3)
Can you link me to the documentation for this feature? As far as I am aware theme-park primarily adds one <style ... />
unless it is for an addon.
from traefik-themepark.
Oh, sorry.
I don't think this is a theme-park
feature. And as far as my experience goes Safari macOS browser is the only one that doesn't color the "address bar" appropriately (see my prowlarr snapshot above).
From what I could understand this can only be solved by sub filtering/replacing the <meta name="theme-color" content="....">
I figure I can use another Traefik plugin and do this, just thought to ask if it would be possible to integrate it in this one.
from traefik-themepark.
You should be able to use my Rewrite Body plugin. This plugin is mostly a wrapper for that plugin to simplify the setup of theme-park
themes. I expect you will need to make a plugin reference to add the link
tag for the theme as well as the meta
tag you are referencing, but it should be relatively straight forward.
For example:
middlewares:
rewrite-foo:
plugin:
rewrite-body:
lastModified: true
rewrites:
- regex: </head>
replacement: >-
<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/prowlarr/nord.css">
<meta name="theme-color" content="#000000">
</head>
monitoring:
methods:
- GET
types:
- text/html
- NOTE this was a quick sample built from the README on the Rewrite Body plugin that has not been tested ;)
from traefik-themepark.
Related Issues (11)
- [Traefik Plugin Catalog] Plugin Analyzer has detected a problem.
- Jellyfin should be included in the list of body base applications HOT 4
- Add radarr and prowlarr to body tag filter
- Arrs not themeing right HOT 2
- Themes not applying properly for some apps like Sonarr
- Readarr alternate logo HOT 1
- [Traefik Plugin Catalog] Plugin Analyzer has detected a problem.
- Feature: Support for Theme Addons HOT 3
- Add CSP header handling
- Fix VueTorrent and other </body> based matching apps 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 traefik-themepark.