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

Commit f195eca

Browse files
authored
Merge pull request #646 from FuhuXia/redirect-to-resources-data-gov
redirect to resources.data.gov
2 parents f6c195f + 9d129fd commit f195eca

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

_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: 9 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

@@ -86,5 +87,11 @@
8687
practices, and schema standards to facilitate the adoption of open data
8788
practices across the Federal Government.
8889
</p>
90+
91+
<p>
92+
Archived content of Project Open Data can be access at its <a href="https://github.com/project-open-data/project-open-data.github.io">Github repository</a>.
93+
You can report missing content or provide any additional feedback via <a href="https://github.com/GSA/resources.data.gov/issues">Github</a>
94+
or by emailing <a href="mailto:datagov@gsa.gov">datagov@gsa.gov</a>.
95+
</p>
8996
</div>
9097
</div>

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)