Add deprecation warning to old posts.
This commit is contained in:
parent
4967fadbc1
commit
7fbcda8d2f
5
Makefile
5
Makefile
|
@ -2,7 +2,10 @@ DOCKER_IMAGE := cr.annabunch.es/annabunches-static
|
|||
|
||||
.PHONY: all build push
|
||||
|
||||
all: build
|
||||
all: serve
|
||||
|
||||
serve:
|
||||
hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/
|
||||
|
||||
build:
|
||||
docker build -t ${DOCKER_IMAGE} .
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: meta
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: meta
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: meta
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br/>
|
||||
category: media
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br />
|
||||
category: meta
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br />
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br />
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
deprecated: true
|
||||
excerpt_separator: <br />
|
||||
category: technology
|
||||
layout: post
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
{{partial "menu.html" .}}
|
||||
{{ partial "menu.html" . }}
|
||||
{{ with ($.Param "deprecated") }}
|
||||
<p class="l-deprecation_warning">
|
||||
This post was saved / ported from a previous site migration. You may
|
||||
encounter missing images, dead links, and strange formatting. Sorry
|
||||
about that!
|
||||
</p>
|
||||
{{ end }}
|
||||
|
|
|
@ -14,6 +14,14 @@ body {
|
|||
color: #000000;
|
||||
}
|
||||
|
||||
.l-deprecation_warning {
|
||||
background-color: #dd4444;
|
||||
text-align: center;
|
||||
width: 96%;
|
||||
max-width: 720px;
|
||||
margin: 20px auto 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #1756a9;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user