mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Make v1 banner less intrusive (only show on some pages)
This commit is contained in:
parent
9ab8e66a0e
commit
472fef1823
5 changed files with 4 additions and 1 deletions
|
@ -9,4 +9,3 @@
|
|||
</li>
|
||||
</nav>
|
||||
</header>
|
||||
<div class=" archive-banner">This is an old version of my website with posts from 2003–2019. For newer posts <a href="/v2/">visit the new version</a>.</div>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
</head>
|
||||
<body class="articles">
|
||||
<%= render '_header' %>
|
||||
<div class=" archive-banner">This is an old version of my website with posts from 2003–2019. For newer posts <a href="/v2/">visit the new version</a>.</div>
|
||||
<div id="content">
|
||||
<h1><%= h(@item[:title] || 'Articles') %></h1>
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<div class=" archive-banner">This is an old version of my website with posts from 2003–2019. For newer posts <a href="/v2/">visit the new version</a>.</div>
|
||||
<div id="content">
|
||||
<h1><a href="<%= @item.reps[:default].path %>"><%=h @item[:title] %></a></h1>
|
||||
<%= yield %>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
</head>
|
||||
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
|
||||
<%= render '_header' %>
|
||||
<div class=" archive-banner">This is an old version of my website with posts from 2003–2019. For newer posts <a href="/v2/">visit the new version</a>.</div>
|
||||
|
||||
<img src="<%= @item[:photo] %>" alt="<%= @item[:photo_alt] %>" class="cover-photo" />
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
</head>
|
||||
<body class="weather">
|
||||
<%= render '_header' %>
|
||||
<div class=" archive-banner">This is an old version of my website with posts from 2003–2019. For newer posts <a href="/v2/">visit the new version</a>.</div>
|
||||
<div id="content">
|
||||
<h1><a href="<%= @item.reps[:default].path %>"><%=h @item[:title] %></a></h1>
|
||||
<%= yield %>
|
||||
|
|
Loading…
Reference in a new issue