mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-16 15:09:22 +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 name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#f4f1ec" />
|
||||
<link 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" />
|
||||
<link
|
||||
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>
|
||||
@view-transition {
|
||||
navigation: auto; /* enabled */
|
||||
@@ -60,7 +68,9 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
||||
</style>
|
||||
<SEO
|
||||
titleTemplate={`%s | ${channel?.title}`}
|
||||
titleDefault={[channel?.title, seoParams.description].filter(Boolean).join(' - ')}
|
||||
titleDefault={[channel?.title, seoParams.description]
|
||||
.filter(Boolean)
|
||||
.join(' - ')}
|
||||
twitter={{
|
||||
card: 'summary_large_image',
|
||||
creator: twitter ? `@${twitter}` : undefined,
|
||||
@@ -80,10 +90,19 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
||||
<slot name="aside">
|
||||
<div class="nav">
|
||||
<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>
|
||||
<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">
|
||||
<input type="text" name="q" placeholder="Search" />
|
||||
</form>
|
||||
@@ -97,7 +116,12 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
||||
>
|
||||
BroadcastChannel
|
||||
</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
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user