Only resize blog post images
This commit is contained in:
parent
8cf5a00197
commit
91aef9dfc5
2 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,7 @@ footer {
|
|||
margin: 10px;
|
||||
}
|
||||
|
||||
article img {
|
||||
blog-img img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
<div class="blog-img">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ with $related }}
|
||||
|
|
Loading…
Add table
Reference in a new issue