Skip to content

Commit

Permalink
Add archive notice to all pages
Browse files Browse the repository at this point in the history
It was only rendered under /docs but we really want to show it
everywhere.

Signed-off-by: Max Jonas Werner <[email protected]>
  • Loading branch information
Max Jonas Werner committed Aug 4, 2023
1 parent 5693e48 commit b26c051
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layouts/adopters/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<a class="td-offset-anchor"></a>
<div class="page td-content container">

{{ partial "version-banner.html" . }}

{{ .Content | markdownify }}

{{ $projects := $.Site.Data.adopters }}
Expand Down
1 change: 1 addition & 0 deletions layouts/blog/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{{ partial "taxonomy_terms_clouds.html" . }}
</aside>
<main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role="main">
{{ partial "version-banner.html" . }}
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
<a class="td-rss-button" title="RSS" href="{{ .Permalink | safeURL }}" target="_blank" rel="noopener">
<i class="fa-solid fa-rss" aria-hidden="true"></i>
Expand Down
1 change: 1 addition & 0 deletions layouts/page/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<a class="td-offset-anchor"></a>
<div class="page td-content container">
{{ partial "version-banner.html" . }}
{{ .Content }}
</div>

Expand Down
2 changes: 2 additions & 0 deletions layouts/resources/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<a class="td-offset-anchor"></a>
<div class="page td-content container">

{{ partial "version-banner.html" . }}

{{ .Content | markdownify }}

{{ $resources := $.Site.Data.resources.resources }}
Expand Down

0 comments on commit b26c051

Please sign in to comment.