diff --git a/gatsby-config.js b/gatsby-config.js index cb55699..16c26d2 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -31,7 +31,7 @@ module.exports = { { resolve: `gatsby-transformer-remark`, options: { - excerpt_separator: `\n` + excerpt_separator: `` } }, { diff --git a/src/components/post-link.js b/src/components/post-link.js index 4067131..59a2cca 100644 --- a/src/components/post-link.js +++ b/src/components/post-link.js @@ -14,7 +14,7 @@ const PostLink = ({ post }) => { {post.frontmatter.title} {postDateString} -
+

{post.excerpt}

diff --git a/src/styles/global.scss b/src/styles/global.scss index b681f7e..0ad7261 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -13,7 +13,7 @@ @for $i from 1 through 6 { :global(h#{$i}) { - font-family: $fontParagraph; + font-family: $fontHeader; } } diff --git a/src/styles/header.module.scss b/src/styles/header.module.scss index e3c47e9..9d1fc0a 100644 --- a/src/styles/header.module.scss +++ b/src/styles/header.module.scss @@ -5,6 +5,7 @@ border-bottom: 1px solid $blue; height: 70px; box-sizing: border-box; + font-family: $fontHeader; } .links { diff --git a/src/styles/post-link.module.scss b/src/styles/post-link.module.scss index 113f152..7202185 100644 --- a/src/styles/post-link.module.scss +++ b/src/styles/post-link.module.scss @@ -8,7 +8,7 @@ color: $blue; text-decoration: none; text-transform: capitalize; - font-family: $fontParagraph; + font-family: $fontHeader; font-size: 1.2em; float: left; } @@ -25,6 +25,10 @@ border-bottom: 1px solid $blue; } +.postExcerpt { + text-align: initial; +} + .headerContainer { display: flex; justify-content: space-between; diff --git a/src/styles/variables.scss b/src/styles/variables.scss index 66092f8..1c2bf5e 100644 --- a/src/styles/variables.scss +++ b/src/styles/variables.scss @@ -5,7 +5,9 @@ $black: #2f2f2f; $blue: #0f52bf; //Fonts -$fontParagraph: Fira Code, Monaco, Consolas, Ubuntu Mono, monospace; +@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=VT323&display=swap'); +$fontHeader: 'VT323', monospace; +$fontParagraph: 'Open Sans', sans-serif; // Content $breakLarge: 992px; \ No newline at end of file