File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import tailwind from "@astrojs/tailwind";
5
5
// https://astro.build/config
6
6
export default defineConfig ( {
7
7
site : "https://binsider.dev" ,
8
+ description : "Analyze ELF binaries like a boss." ,
8
9
integrations : [
9
10
starlight ( {
10
11
title : "Binsider" ,
@@ -20,6 +21,8 @@ export default defineConfig({
20
21
replacesTitle : true ,
21
22
} ,
22
23
components : {
24
+ Head : "./src/components/Head.astro" ,
25
+ Header : "./src/components/Header.astro" ,
23
26
Header : "./src/components/Header.astro" ,
24
27
Hero : "./src/components/Hero.astro" ,
25
28
Footer : "./src/components/Footer.astro" ,
Original file line number Diff line number Diff line change
1
+ ---
2
+ import type { Props } from ' @astrojs/starlight/props' ;
3
+ import Default from ' @astrojs/starlight/components/Head.astro' ;
4
+ import config from ' ../../astro.config.mjs' ;
5
+ import socialCard from " ../assets/binsider-social-card.png" ;
6
+
7
+ const title =
8
+ config .integrations .find ((integration ) => integration .title )?.title ||
9
+ " default" ;
10
+ ---
11
+
12
+ <meta http-equiv =" X-UA-Compatible" content =" IE=edge" />
13
+ <meta http-equiv =" content-type" content =" text/html; charset=utf-8" />
14
+ <meta property =" og:type" content =" website" />
15
+ <meta property =" og:url" content ={ Astro .site } />
16
+ <meta property =" og:title" content ={ ` ${title } ` } />
17
+ <meta property =" og:description" content ={ ` ${config .description } ` } />
18
+
19
+ <meta property =" og:image" content ={ ` ${socialCard .src } ` } />
20
+
21
+ <meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
22
+ <script defer src =" https://umami.orhun.dev/script.js" data-website-id =" 8e36ad06-9958-4a03-865a-505b1440c1b9" ></script >
23
+
24
+ <Default {... Astro .props }><slot /></Default >
You can’t perform that action at this time.
0 commit comments