-
|
Is there any way besides I would like to stretch header and footer to the edges ("safe-area") in landscape mobile view for iPhones, but AFAIK we need to append |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
There is another template in development, it's not configurable but we could make it configurable. https://github.com/jantimon/html-webpack-plugin/blob/main/docs/template-option.md I don't like it but currently we use 2 different templating languages for SSR and dev: eta vs ejs => we should probably only use just one before exposing this What I would also try is to create a layout wrapper with this: export default function LayoutWrapper(props: Props): JSX.Element {
return (
<>
<Head>
<meta name="viewport" content="initial-scale=1, viewport-fit=cover" />
</Head>
<Layout {...props} />
</>
);
}It doesn't replace the template meta data (so there will be twice the same meta) but hopefully the last one wins? 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
|
Easy solution implemented in #7952 which was released in v2.1. See https://docusaurus.io/blog/2022/09/01/docusaurus-2.1#overriding-default-meta-tags Thanks again @slorber 👏 |
Beta Was this translation helpful? Give feedback.
Easy solution implemented in #7952 which was released in v2.1. See https://docusaurus.io/blog/2022/09/01/docusaurus-2.1#overriding-default-meta-tags
Thanks again @slorber 👏