Skip to content

Commit

Permalink
fix full cover image
Browse files Browse the repository at this point in the history
  • Loading branch information
abnopanda committed Dec 30, 2016
1 parent 6e39afc commit 71e2086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/post/header-cover.html
@@ -1,7 +1,7 @@
{{ if .Params.coverimage }}
<div class="post-header-cover
{{ if .Params.metaalignment }}text-{{ .Params.metaalignment }}{{ else }}text-left{{ end }}
{{ with .Params.coversize }}post-header-cover--{{ .Params.coverimage }}{{ end }}"
{{ with .Params.coversize }}post-header-cover--{{ . }}{{ end }}"
style="background-image:url('{{ .Params.coverimage }}')"
data-behavior="{{ $.Scratch.Get "sidebarBehavior" }}">
{{ if or (eq .Params.covermeta "in") (not .Params.covermeta) }}
Expand Down

0 comments on commit 71e2086

Please sign in to comment.