Add an archive warning to all pages
This commit is contained in:
parent
bc22ac0036
commit
1c49e1eb74
|
@ -278,6 +278,24 @@ a.tag {
|
|||
}
|
||||
}
|
||||
|
||||
.archive-warning {
|
||||
@include make-md-column-offset(2);
|
||||
@include make-md-column(10);
|
||||
@extend .bg-warning;
|
||||
|
||||
padding: {
|
||||
top: $grid-gutter-width / 2;
|
||||
bottom: $grid-gutter-width / 2;
|
||||
}
|
||||
|
||||
border-radius: $grid-gutter-width / 2;
|
||||
|
||||
@media (max-width: 1440px) {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* Blogroll
|
||||
*/
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
.lead= @config[:tagline]
|
||||
%nav= render 'partials/nav'
|
||||
%section
|
||||
.row
|
||||
:kramdown
|
||||
***Please note:*** this older content has been **archived** and is no longer fully linked into the site. Please go to the [current home page](/) for up-to-date content.
|
||||
{: .archive-warning}
|
||||
|
||||
#content
|
||||
- if %w{single-post static-page}.include? @item[:page_type]
|
||||
%article.h-entry
|
||||
|
|
Loading…
Reference in New Issue