From c7adf5a3b57968dc97b44b47808388dc7bf00c50 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Mon, 9 Mar 2020 14:32:09 +0000 Subject: [PATCH] Fix background images --- _includes/article-heading.html | 3 ++- _includes/image.html | 3 ++- _includes/mdc-card.html | 7 ++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/_includes/article-heading.html b/_includes/article-heading.html index 3aeae19..b118fac 100644 --- a/_includes/article-heading.html +++ b/_includes/article-heading.html @@ -1,4 +1,5 @@ -
+{% assign article_url = page.url | relative_url %} +

{{ page.title }}

{{ page.image-caption }} • © {{ page.copyright }}
diff --git a/_includes/image.html b/_includes/image.html index f3f63e1..fa56829 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1,4 +1,5 @@ +{% assign article_url = page.url | relative_url %}
- +
{{ include.caption }} • © {{ include.copyright }}
\ No newline at end of file diff --git a/_includes/mdc-card.html b/_includes/mdc-card.html index d8412bd..2dc211d 100644 --- a/_includes/mdc-card.html +++ b/_includes/mdc-card.html @@ -1,5 +1,6 @@ -
-
+{% assign article_url = include.article.url | relative_url %} +
+

{{ include.article.title }}

@@ -10,7 +11,7 @@

- +
\ No newline at end of file