diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a40ca85..400de57 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,7 +9,7 @@
- {{ partial "content.html" (dict "content" .Content "size" "normal" "constrained" true) }} + {{ partial "content.html" (dict "content" .Content "size" "normal") }}
diff --git a/layouts/partials/blog/article.html b/layouts/partials/blog/article.html index 0a149ca..6c53d72 100644 --- a/layouts/partials/blog/article.html +++ b/layouts/partials/blog/article.html @@ -2,7 +2,7 @@
- {{ partial "content.html" (dict "content" .Content "size" "medium" "constrained" true) }} + {{ partial "content.html" (dict "content" .Content "size" "medium") }}
diff --git a/layouts/partials/content.html b/layouts/partials/content.html index bf067c6..fe257eb 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -1,5 +1,4 @@ {{ $size := .size | default "normal" -}} -{{ $constrained := .constrained | default false -}} -
+
{{ .content }}
\ No newline at end of file diff --git a/layouts/partials/docs/article.html b/layouts/partials/docs/article.html index 4936cee..b728553 100644 --- a/layouts/partials/docs/article.html +++ b/layouts/partials/docs/article.html @@ -31,7 +31,7 @@
- {{ partial "content.html" (dict "content" .Content "constrained" true) }} + {{ partial "content.html" (dict "content" .Content) }}