From 6a561da64a862b13f6223fc15279525d32cf059f Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 25 May 2014 14:44:13 -0700 Subject: [PATCH] Remove redirects and old news page --- _config.yml | 6 +++--- _data/news.yml | 1 - htaccess | 12 ------------ oldnews.html | 7 ------- 4 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 _data/news.yml delete mode 100644 htaccess delete mode 100644 oldnews.html diff --git a/_config.yml b/_config.yml index cd7f614..680f173 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ -name: Template webpage -url: hhttps://github.com/iyzhang/template-www +name: Awesome Research Group +url: http://awesome.example.com exclude: [bibble, README.md, Makefile] @@ -8,7 +8,7 @@ markdown: redcarpet redcarpet: extensions: [smart, tables] -# colorize code snippets with the pygment module +# colorize code snippets with the pygments module pygments: true # The path structure for blog posts. diff --git a/_data/news.yml b/_data/news.yml deleted file mode 100644 index 56f2c56..0000000 --- a/_data/news.yml +++ /dev/null @@ -1 +0,0 @@ -- Some very old news! diff --git a/htaccess b/htaccess deleted file mode 100644 index 47d9a57..0000000 --- a/htaccess +++ /dev/null @@ -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 %} diff --git a/oldnews.html b/oldnews.html deleted file mode 100644 index 3105ca6..0000000 --- a/oldnews.html +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: default -title: Older News ---- -{% for item in site.data.news %} -

{{ item | markdownify }}

-{% endfor %}