Skip to content

Commit

Permalink
Merge pull request #1421 from karthik2804/update_version_banner
Browse files Browse the repository at this point in the history
add redirect banner to spin v2 content
  • Loading branch information
itowlson authored Nov 21, 2024
2 parents a61dc98 + b334a62 commit c9baacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/spin_main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<article class="column content content-docs content-docs-wide">
<section id="type">
{{! This adds an archival notice - needs to styled }}
{{#if (active_project request.spin-full-url "/spin/v1" )}}
{{#unless (active_project request.spin-full-url "/spin/v3" )}}
<div class="archived-notice"> This page refers to an older version of Spin. <a href="/spin">Go to the
latest version.</a></div>
{{/if}}
{{/unless}}
<h1 class="blog-post-title border-bottom">{{page.head.title}}</h1>

{{{page.body}}}
Expand Down

0 comments on commit c9baacd

Please sign in to comment.