mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
manually add lang to html tags
This commit is contained in:
parent
693412957c
commit
ee1f702f74
@ -104,7 +104,7 @@ Let us use some `inline code` and check out how it `looks`. Here's some `more`.
|
||||
### Code Blocks
|
||||
|
||||
```html
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<div style="background-color: #333;">
|
||||
<a href="https://example.com/">Example</a>
|
||||
|
||||
@ -210,7 +210,7 @@ export function renderPage(
|
||||
)
|
||||
|
||||
const doc = (
|
||||
<html>
|
||||
<html lang="en">
|
||||
<Head {...componentData} />
|
||||
<body data-slug={slug}>
|
||||
<div id="quartz-root" class="page">
|
||||
|
||||
@ -33,7 +33,7 @@ export const AliasRedirects: QuartzEmitterPlugin = () => ({
|
||||
ctx,
|
||||
content: `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>${ogSlug}</title>
|
||||
<link rel="canonical" href="${redirUrl}">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user