Remove redirects and old news page

master
Adrian Sampson 11 years ago
parent a36ffd3314
commit 6a561da64a

@ -1,5 +1,5 @@
name: Template webpage name: Awesome Research Group
url: hhttps://github.com/iyzhang/template-www url: http://awesome.example.com
exclude: [bibble, README.md, Makefile] exclude: [bibble, README.md, Makefile]
@ -8,7 +8,7 @@ markdown: redcarpet
redcarpet: redcarpet:
extensions: [smart, tables] extensions: [smart, tables]
# colorize code snippets with the pygment module # colorize code snippets with the pygments module
pygments: true pygments: true
# The path structure for blog posts. # The path structure for blog posts.

@ -1 +0,0 @@
- Some very old news!

@ -1,12 +0,0 @@
---
layout: none
permalink: .htaccess
---
ErrorDocument 404 /404.html
RewriteEngine on
RewriteBase {{ site.base }}/
{% for item in site.redirects %}
{% assign oldname=item[0] %}
{% assign path=item[1] %}
RewriteRule ^sampa/{{ oldname | replace: '(', '\(' | replace: ')', '\)' }} /{{ path }} [L,R=301]
{% endfor %}

@ -1,7 +0,0 @@
---
layout: default
title: Older News
---
{% for item in site.data.news %}
<p>{{ item | markdownify }}</p>
{% endfor %}
Loading…
Cancel
Save