Skip to content

Commit e90bc63

Browse files
committed
less clutter on redirect
1 parent cc27f8a commit e90bc63

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

content/moved/earthquakes.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
noindex: 1
33
url: /vis/earthquakes/
4-
title: Page has moved
4+
title: Real-Time World Map of Earthquakes
55
template: redirect.html
66
redirect: http://maps.ramiro.org/map/earthquakes/
7-
---
8-
<span class="huge">This page has moved: <a href="http://maps.ramiro.org/map/earthquakes/">Real-Time World Map of Earthquakes</a></span>
7+
---

content/moved/movie-body-counts.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
noindex: 1
33
url: /notebook/movie-body-counts/
4-
title: Page has moved
4+
title: Exploring Movie Body Counts
55
template: redirect.html
66
redirect: http://ramiro.org/notebook/movie-body-counts/
7-
---
8-
<span class="huge">This page has moved: <a href="http://ramiro.org/notebook/movie-body-counts/">Exploring Movie Body Counts</a></span>
7+
---

templates/redirect.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
{% extends "page.html" %}
1+
{% extends "base.html" %}
22

33
{% block meta %}
44
<meta http-equiv="refresh" content="10; url={{ redirect }}">
55
{% endblock %}
6+
7+
{% block content %}
8+
<div class="container-fluid">
9+
<div class="row">
10+
<div class="col-md-12">
11+
<h1>This page has moved</h1>
12+
<span class="huge">Go to: <a href="{{ redirect }}">{{ title }}</a></span>
13+
</div>
14+
</div>
15+
</div>
16+
{% endblock %}

0 commit comments

Comments
 (0)