Skip to content

Commit

Permalink
Merge pull request #131 from compleatang/production
Browse files Browse the repository at this point in the history
Align how the theme handles cover images
  • Loading branch information
Djordje Atlialp committed May 13, 2020
2 parents 5a0d4c1 + c583a9d commit dff6aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Expand Up @@ -24,7 +24,7 @@ <h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{- end }}

{{ with .Params.Cover }}
<img src="/img/{{ . }}" class="post-cover" />
<img src="/{{ . }}" class="post-cover" />
{{ end }}

<div class="post-content">
Expand Down
2 changes: 1 addition & 1 deletion layouts/posts/single.html
Expand Up @@ -29,7 +29,7 @@ <h1 class="post-title">
{{- end }}

{{ with .Params.Cover }}
<img src="/img/{{ . }}" class="post-cover" />
<img src="/{{ . }}" class="post-cover" />
{{ end }}

<div class="post-content">
Expand Down

0 comments on commit dff6aa5

Please sign in to comment.