-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New HTML template for redirect pages
- Loading branch information
Showing
10 changed files
with
72 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% assign title = 'Fractions are a Royal Pain in Imperial' %} | ||
{% assign subtitle = 'What is 1/5 of a yard?' %} | ||
{% assign uri = 'article/fractions-are-a-royal-pain-in-imperial' %} | ||
{% render 'src/templates/redirect.html', title: title, subtitle: subtitle, uri: uri %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% assign title = 'Liberty Units' %} | ||
{% assign subtitle = 'FTW' %} | ||
{% assign uri = 'article/liberty-units-ftw' %} | ||
{% render 'src/templates/redirect.html', title: title, subtitle: subtitle, uri: uri %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% assign title = 'Metric Poetry' %} | ||
{% assign subtitle = 'Common Words for SI' %} | ||
{% assign uri = 'article/metric-poetry' %} | ||
{% render 'src/templates/redirect.html', title: title, subtitle: subtitle, uri: uri %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!doctype html> | ||
<!-- - - - - - - - --> | ||
<!-- Think Metric --> | ||
<!-- - - - - - - - --> | ||
<!-- {{file.folder}}: {{title}} --> | ||
<html lang=en> | ||
<head> | ||
<meta charset=utf-8> | ||
<meta name=viewport content="width=device-width, initial-scale=1"> | ||
<meta http-equiv=refresh content="1; url=../{{uri}}"> | ||
<meta name=description content="{{title}} • {{subtitle}}"> | ||
<title>{{title}} • {{subtitle}}</title> | ||
<link rel=icon href=../assets/bookmark.png> | ||
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@{{package.dependencies.web-ignition|version}}/dist/reset.min.css> | ||
<style>main { opacity: 0; }</style> | ||
<script>globalThis.location.href = '../{{uri}}';</script> | ||
</head> | ||
<body> | ||
|
||
<main> | ||
<h1>{{title}}</h1> | ||
<h2>{{subtitle}}</h2> | ||
<a href=../{{uri}}>https://think-metric.org/{{file.folder}}</a> | ||
</main> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.