Skip to content

Commit

Permalink
add meta utf-8 element
Browse files Browse the repository at this point in the history
  • Loading branch information
sandroid committed Nov 30, 2023
1 parent 5664d57 commit 96e20df
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/components/react/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ html {


h1 {
font-family: consolas, monaco, courier, "courier new", fixed-width;
font-size: 1.5rem;
text-align: center;
font-weight: 500;
Expand Down
1 change: 1 addition & 0 deletions src/content/blog/plotter-bjork.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: "2020-12-24"
title: "Plotterbjork"
tags: ["plotting"]
---

import ImageContainer from '../../components/react/Images/ImageContainer.tsx';
import TheDoubleImage from '../../components/ImageComponent/TheDoubleImage/TheDoubleImage.astro'
import plotterbjork from '../../images/plotting/plotterbjork-cropped.webp';
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/the-tomato-shootout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import TheDoubleImageMkII from '../../components/ImageComponent/TheDoubleImage/T

# The Tomato Shootout

The below photos are taken with a Sigma DP3 Merrill and an Olympus OM-D EM10Mk100 (with the 60mm F2.8 macro lens) in more or less the same conditions. Is the Merrill worth it? Is it different? Better? Worse?
The below photos are taken with a Sigma DP3 Merrill and an Olympus OM-D EM10 MkII (with the 60mm F2.8 macro lens) in more or less the same conditions. Is the Merrill worth it? Is it different? Better? Worse?

The photos look more similar than I would have expected.

Expand Down
13 changes: 9 additions & 4 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
---
import Layout from '../components/react/Layout/Layout.tsx';
const {frontmatter} = Astro.props;
import Layout from "../components/react/Layout/Layout.tsx";
const { frontmatter } = Astro.props;
const pageTitle = frontmatter ? frontmatter?.title ? frontmatter.title : Astro.props.title : Astro.props.title;
const pageTitle = frontmatter
? frontmatter?.title
? frontmatter.title
: Astro.props.title
: Astro.props.title;
---

<Layout title={pageTitle} client:load>
<slot />
<head><meta charset="utf-8" /></head>
<slot />
</Layout>

0 comments on commit 96e20df

Please sign in to comment.