Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit 5f72071

Browse files
committed
redirect to resources.data.gov
1 parent f6c195f commit 5f72071

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,4 @@ DEPENDENCIES
246246
github-pages
247247

248248
BUNDLED WITH
249-
1.17.2
249+
2.1.4

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title: Project Open Data
33
desc: "Open Data Policy — Managing Information as an Asset"
44
url: https://project-open-data.cio.gov
55

6+
#this site is replaced by resources.data.gov
7+
redir_to: https://resources.data.gov/
8+
69
#web analytics
710
google_analytics: UA-42145528-3
811
enable_dap_analytics: true
@@ -19,8 +22,5 @@ exclude: ["script", "vendor", "Gemfile", "Gemfile.lock", "config.ru", "Procfile"
1922
markdown: kramdown
2023
relative_permalinks: false
2124

22-
plugins:
23-
- jekyll-redirect-from
24-
2525
sass:
2626
sass_dir: assets/_sass

_includes/header.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
<meta name="description" content="{{ site.desc }}">
1010
<meta name="viewport" content="width=device-width">
1111

12-
<title>{{ page.title }} - {{ site.title }}</title>
12+
<title>Redirecting to {{ page.redir_to | default: site.redir_to }}</title>
1313

1414
<link rel="shortcut icon" href="/favicon.ico"/>
1515
<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
1616

17-
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
17+
<link rel="canonical" href="{{ page.redir_to | default: site.redir_to }}"/>
18+
<meta http-equiv="refresh" content="30; url={{ page.redir_to | default: site.redir_to }}" />
1819

1920
{% capture edit_url %}https://github.com/{{ site.org_name }}/{{ site.repo_name }}/edit/{{ site.branch }}/{{ page.path }}{% endcapture %}
2021

v1.1/schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
published: true
33
layout: default
44
title: Project Open Data Metadata Schema v1.1
5+
redir_to: https://resources.data.gov/resources/dcat-us/
56
permalink: /v1.1/schema/
67
filename: schema.md
78
id: schema v1.1

0 commit comments

Comments
 (0)