diff --git a/assets/style.scss b/assets/style.scss index b5719d6..343cf50 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -177,8 +177,9 @@ article { align-items: center; height: 200px; justify-content: center; + min-width: 200px; overflow: hidden; - padding-right: 1.5rem; + margin-right: 1.5rem; width: 200px; @media screen and (min-width: $small) { diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ae9e933..bea8c3e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,7 +6,15 @@
{{ $textContent }}
{{ .Title }} - by {{ .Params.copyright }} +{{ $params := .Params }} +{{ with $params.copyright }} +{{ $copyright := . }} +{{ with $params.copyright_url }} + by {{ $copyright }} +{{ else }} + by {{ $copyright }} +{{ end }} +{{ end }}
{{ else }}