summaryrefslogtreecommitdiff
path: root/examples/blog/src/pages/posts/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/src/pages/posts/index.md')
-rw-r--r--examples/blog/src/pages/posts/index.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/blog/src/pages/posts/index.md b/examples/blog/src/pages/posts/index.md
new file mode 100644
index 000000000..949dfb866
--- /dev/null
+++ b/examples/blog/src/pages/posts/index.md
@@ -0,0 +1,16 @@
+---
+setup: |
+ import Layout from '../../layouts/BlogPost.astro'
+ import Cool from '../../components/Author.astro'
+title: Hello world!
+publishDate: 12 Sep 2021
+name: Nate Moore
+value: 128
+description: Just a Hello World Post!
+---
+
+<Cool name={frontmatter.name} href="https://twitter.com/n_moore" client:load />
+
+This is so cool!
+
+Do variables work {frontmatter.value * 2}?