-
+ {
+
+ post.data.heroImage
+ ?
+ :
+ }
{post.data.title}
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 8207b00..5f9dc60 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -7,6 +7,8 @@ import Layout from "../layouts/Layout.astro";
import Library from "../components/Library.astro";
import Footer from "../components/Footer.astro";
+export const prerender = false;
+
const appConfig = {
routerOutlet: 'router-outlet',
baseUrl: Astro.url.origin
diff --git a/src/styles/blog.css b/src/styles/blog.css
index bbb0c30..5f5cb4c 100644
--- a/src/styles/blog.css
+++ b/src/styles/blog.css
@@ -41,6 +41,7 @@ body {
color: rgb(var(--gray-dark));
font-size: 20px;
line-height: 1.7;
+
}
main {
width: 720px;
@@ -83,12 +84,25 @@ a {
a:hover {
color: var(--accent);
}
-p {
+
+p,
+ul,
+ol,
+table {
margin-bottom: 1em;
}
-.prose p {
- margin-bottom: 2em;
+
+.prose
+{
+ & p,
+ & ul,
+ & ol,
+ & table
+ {
+ margin-bottom: 2em;
+ }
}
+
textarea {
width: 100%;
font-size: 16px;