Skip to content

Commit c8f9a55

Browse files
committed
adding the redirect page
0 parents  commit c8f9a55

11 files changed

+111
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
_site
2+
Gemfile.lock
3+
4+
_drafts/Fall 2016 faculty staff list.xlsx
5+
6+
_drafts/~$Fall 2016 faculty staff list.xlsx
7+
8+
_config.yml.bak

.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: ruby
2+
rvm:
3+
- 2.4.1
4+
5+
before_script:
6+
- chmod +x ./script/cibuild # or do this locally and commit
7+
8+
# Assume bundler is being used, therefore
9+
# the `install` step will run `bundle install` by default.
10+
script: ./script/cibuild
11+
12+
# branch whitelist, only for GitHub Pages
13+
# branches:
14+
# only:
15+
# - gh-pages # test the gh-pages branch
16+
# - /pages-(.*)/ # test every branch which starts with "pages-"
17+
18+
env:
19+
global:
20+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
21+
22+
sudo: false # route your build to the container-based infrastructure for a faster build
23+
24+
# after_success: s3_website push

Gemfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins
3+
4+
# will remove github-pages when move to standalone
5+
6+
# gem "jekyll"
7+
gem "html-proofer"
8+
gem 's3_website'

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Redirect page
2+
3+
The `uva-math.github.io` website is now a redirect website to the Amazon S3 website `http://uva-math.s3-website-us-east-1.amazonaws.com` (which will eventually be DNS-ed to the main department webpage).

_config.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
url: "http://uva-math.s3-website-us-east-1.amazonaws.com"
2+
3+
name: Mathematics at the University of Virginia
4+
description: Official website of Department of Mathematics at the University of Virginia (under construction)
5+
6+
markdown: kramdown
7+
highlighter: rouge
8+
9+
excerpt_separator: <!--more-->
10+
11+
paginate: 10
12+
paginate_path: "news/page:num"
13+
permalink: /:year/:month/:day/:title/
14+
15+
new_seminars_label: Upcoming seminars
16+
17+
defaults:
18+
- scope:
19+
path: ""
20+
type: departmentpeople
21+
values:
22+
layout: departmentpeople_page
23+
24+
collections:
25+
departmentpeople:
26+
output: true
27+
permalink: /people/:name/
28+
29+
exclude: [vendor]

error.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<title>Error page | Mathematics at the University of Virginia</title>
6+
{% include main_header.html %}
7+
</head>
8+
9+
<body>
10+
11+
</body>
12+
13+
</html>

favicon.ico

4.99 KB
Binary file not shown.

googlea752d4c2bd23f45d.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-site-verification: googlea752d4c2bd23f45d.html

index.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="refresh" content="1; url='http://uva-math.s3-website-us-east-1.amazonaws.com'">
6+
<script type="text/javascript">
7+
window.location.href = 'http://uva-math.s3-website-us-east-1.amazonaws.com'
8+
</script>
9+
<title>Page Redirection | Mathematics at the University of Virginia</title>
10+
</head>
11+
<body>
12+
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
13+
If you are not redirected automatically, follow this <a href='http://uva-math.s3-website-us-east-1.amazonaws.com'>link to example</a>.
14+
</body>
15+
</html>

s3_website.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
s3_id: <%= ENV['S3_ACCESS_KEY_ID'] %>
2+
s3_secret: <%= ENV['S3_SECRET_KEY'] %>
3+
s3_bucket: uva-math

script/cibuild

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -e # halt script on error
3+
4+
# sed -i.bak 's/url: \"https:\/\/uva-math.github.io\"/url: \"http:\/\/uva-math.s3-website-us-east-1.amazonaws.com\"/g' _config.yml
5+
6+
bundle exec jekyll build
7+
bundle exec htmlproofer ./_site --allow_hash_href true --disable-external true

0 commit comments

Comments
 (0)