refactor: simpler jsx
This commit is contained in:
parent
60a866e2b4
commit
80190edb7b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ const { title = "" } = Astro.props;
|
|||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{appTitle} {title ? `| ${title}` : ""}</title>
|
||||
<title>{appTitle} {title && `| ${title}`}</title>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
|
|
Loading…
Reference in a new issue