dsajkdksa
This commit is contained in:
12
src/layouts/lay.astro
Normal file
12
src/layouts/lay.astro
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
---
|
||||
<html>
|
||||
<head>
|
||||
<title>My Layout</title>
|
||||
</head>
|
||||
<body>
|
||||
<article class="prose">
|
||||
<slot />
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +1,6 @@
|
||||
---
|
||||
layout: '../layouts/lay.astro'
|
||||
title: 'My Markdown page'
|
||||
---
|
||||
# Hello world
|
||||
|
||||
|
||||
12
src/pages/testing.astro
Normal file
12
src/pages/testing.astro
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
---
|
||||
<html>
|
||||
<head>
|
||||
<title>Testing</title>
|
||||
</head>
|
||||
<body>
|
||||
<article class="prose">
|
||||
<h1>Hello World</h1>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user