Only resize blog post images

This commit is contained in:
Joshua Goins 2022-09-22 12:25:08 -04:00
parent 8cf5a00197
commit 91aef9dfc5
2 changed files with 3 additions and 1 deletions

View file

@ -63,7 +63,7 @@ footer {
margin: 10px;
}
article img {
blog-img img {
width: 100%;
}

View file

@ -1,7 +1,9 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<div class="blog-img">
{{ .Content }}
</div>
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}