11---
2- import Header from ' ./Header.astro' ;
3- import Footer from ' ./Footer.astro' ;
4- import Navigation from ' ./Navigation.astro' ;
5- import ' ./Layout.css' ;
2+ import Header from " ./Header.astro" ;
3+ import Footer from " ./Footer.astro" ;
4+ import Navigation from " ./Navigation.astro" ;
5+ import " ./Layout.css" ;
66
7- const {pageTitle} = Astro .props ;
7+ const { pageTitle } = Astro .props ;
88---
9- <style >
109
10+ <html lang =" en" >
11+ <style >
12+ .content {
13+ flex: 1 0 auto;
14+ }
15+ </style >
1116
12- .content {
13- flex: 1 0 auto;
14-
15- }
16- </style >
17- <head >
1817 <meta charset =" utf-8" />
19- <link rel =" apple-touch-icon" sizes =" 180x180" href =" /apple-touch-icon.png" >
20- <link rel =" icon" type =" image/png" sizes =" 32x32" href =" /favicon-32x32.png" >
21- <link rel =" icon" type =" image/png" sizes =" 16x16" href =" /favicon-16x16.png" >
22- <link rel =" manifest" href =" /site.webmanifest" >
23- <link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" >
18+ <link rel =" apple-touch-icon" sizes =" 180x180" href =" /apple-touch-icon.png" />
19+ <link rel =" icon" type =" image/png" sizes =" 32x32" href =" /favicon-32x32.png" />
20+ <link rel =" icon" type =" image/png" sizes =" 16x16" href =" /favicon-16x16.png" />
21+ <link rel =" manifest" href =" /site.webmanifest" />
22+ <link
23+ rel =" stylesheet"
24+ href =" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
25+ />
2426 <meta name =" viewport" content =" width=device-width" />
2527 <meta name =" generator" content ={ Astro .generator } />
2628 <title >{ pageTitle } </title >
27- </head >
28- <body >
29- <Header />
30- <Navigation />
31- <div class =" content" >
32- <slot /> <!-- This is where the page-specific content will go -->
33- </div >
34- <Footer class =" footer" />
35- </body >
29+
30+ <body >
31+ <Header />
32+ <Navigation />
33+ <div class =" content" >
34+ <slot />
35+ <!-- This is where the page-specific content will go -->
36+ </div >
37+ <Footer class =" footer" />
38+ </body >
39+ </html >
0 commit comments