mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-06-06 15:10:21 +00:00
Update base.astro
Undid vscode mangling the rest of the file
This commit is contained in:
@@ -51,8 +51,16 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="theme-color" content="#f4f1ec" />
|
<meta name="theme-color" content="#f4f1ec" />
|
||||||
<link rel="alternate" type="application/rss+xml" title={channel?.title} href={origin + '/rss.xml'} />
|
<link
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css" rel="stylesheet" />
|
rel="alternate"
|
||||||
|
type="application/rss+xml"
|
||||||
|
title={channel?.title}
|
||||||
|
href={origin + '/rss.xml'}
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
<style is:inline>
|
<style is:inline>
|
||||||
@view-transition {
|
@view-transition {
|
||||||
navigation: auto; /* enabled */
|
navigation: auto; /* enabled */
|
||||||
@@ -60,7 +68,9 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
|||||||
</style>
|
</style>
|
||||||
<SEO
|
<SEO
|
||||||
titleTemplate={`%s | ${channel?.title}`}
|
titleTemplate={`%s | ${channel?.title}`}
|
||||||
titleDefault={[channel?.title, seoParams.description].filter(Boolean).join(' - ')}
|
titleDefault={[channel?.title, seoParams.description]
|
||||||
|
.filter(Boolean)
|
||||||
|
.join(' - ')}
|
||||||
twitter={{
|
twitter={{
|
||||||
card: 'summary_large_image',
|
card: 'summary_large_image',
|
||||||
creator: twitter ? `@${twitter}` : undefined,
|
creator: twitter ? `@${twitter}` : undefined,
|
||||||
@@ -80,10 +90,19 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
|||||||
<slot name="aside">
|
<slot name="aside">
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<div class="nav-item">
|
<div class="nav-item">
|
||||||
<a href={SITE_URL} title={channel?.title} class={`nav-link current`}>Home</a>
|
<a
|
||||||
|
href={SITE_URL}
|
||||||
|
title={channel?.title}
|
||||||
|
class={`nav-link current`}>Home</a
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input class="search-icon" name="icon" type="checkbox" placeholder="Search" />
|
<input
|
||||||
|
class="search-icon"
|
||||||
|
name="icon"
|
||||||
|
type="checkbox"
|
||||||
|
placeholder="Search"
|
||||||
|
/>
|
||||||
<form class="search-form" action="/search/result" method="get">
|
<form class="search-form" action="/search/result" method="get">
|
||||||
<input type="text" name="q" placeholder="Search" />
|
<input type="text" name="q" placeholder="Search" />
|
||||||
</form>
|
</form>
|
||||||
@@ -97,7 +116,12 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
|||||||
>
|
>
|
||||||
BroadcastChannel
|
BroadcastChannel
|
||||||
</a> &
|
</a> &
|
||||||
<a href="https://github.com/Planetable/SiteTemplateSepia" title="Sepia" target="_blank" rel="noopener">
|
<a
|
||||||
|
href="https://github.com/Planetable/SiteTemplateSepia"
|
||||||
|
title="Sepia"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
Sepia
|
Sepia
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user