From 472fef182341bf6f855727e9289e56da65b85122 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Fri, 31 Jan 2020 08:09:05 +1100 Subject: [PATCH] Make v1 banner less intrusive (only show on some pages) --- v1/layouts/_header.html | 1 - v1/layouts/articles.html | 1 + v1/layouts/page.html | 1 + v1/layouts/topphoto.html | 1 + v1/layouts/weather.html | 1 + 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/v1/layouts/_header.html b/v1/layouts/_header.html index 6fdf07c..1e7166f 100644 --- a/v1/layouts/_header.html +++ b/v1/layouts/_header.html @@ -9,4 +9,3 @@ -
This is an old version of my website with posts from 2003–2019. For newer posts visit the new version.
diff --git a/v1/layouts/articles.html b/v1/layouts/articles.html index 73d3d99..7cc3f6d 100644 --- a/v1/layouts/articles.html +++ b/v1/layouts/articles.html @@ -5,6 +5,7 @@ <%= render '_header' %> +
This is an old version of my website with posts from 2003–2019. For newer posts visit the new version.

<%= h(@item[:title] || 'Articles') %>

diff --git a/v1/layouts/page.html b/v1/layouts/page.html index 261b598..d75679a 100644 --- a/v1/layouts/page.html +++ b/v1/layouts/page.html @@ -1,3 +1,4 @@ +
This is an old version of my website with posts from 2003–2019. For newer posts visit the new version.

<%=h @item[:title] %>

<%= yield %> diff --git a/v1/layouts/topphoto.html b/v1/layouts/topphoto.html index 49b76a1..1f69e42 100644 --- a/v1/layouts/topphoto.html +++ b/v1/layouts/topphoto.html @@ -11,6 +11,7 @@ > <%= render '_header' %> +
This is an old version of my website with posts from 2003–2019. For newer posts visit the new version.
<%= @item[:photo_alt] %> diff --git a/v1/layouts/weather.html b/v1/layouts/weather.html index 71a5f80..7b33791 100644 --- a/v1/layouts/weather.html +++ b/v1/layouts/weather.html @@ -10,6 +10,7 @@ <%= render '_header' %> +
This is an old version of my website with posts from 2003–2019. For newer posts visit the new version.

<%=h @item[:title] %>

<%= yield %>