Skip to content

Commit

Permalink
feat: Implement redirector for the index page
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
  • Loading branch information
brlin-tw committed Dec 5, 2023
1 parent 5924876 commit 021203b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ This project implements a simple Javascript-based redirector from [the obsoleted
<https://gitlab.com/Lin-Buo-Ren/Lin-Buo-Ren.github.io>
[![GitHub Actions workflow status badge](https://github.com/Lin-Buo-Ren/Lin-Buo-Ren.github.io/actions/workflows/check-potential-problems.yml/badge.svg "GitHub Actions workflow status")](https://github.com/Lin-Buo-Ren/Lin-Buo-Ren.github.io/actions/workflows/check-potential-problems.yml) [![pre-commit enabled badge](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white "This project uses pre-commit to check potential problems")](https://pre-commit.com/) [![REUSE Specification compliance badge](https://api.reuse.software/badge/github.com/Lin-Buo-Ren/Lin-Buo-Ren.github.io "This project complies to the REUSE specification to decrease software licensing costs")](https://api.reuse.software/info/github.com/Lin-Buo-Ren/Lin-Buo-Ren.github.io)

## References

* [Refresh state (http-equiv="refresh") - Pragma directives - The meta element - Document metadata - The elements of HTML - HTML Standard](https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv-refresh)
Explains the usage and parsing algorithm of the `refresh` pragma directive meta element
* [The Nu Html Checker](https://validator.w3.org/nu/)
The utility to ensure the compliance of [the WHATWG HTML Living Standard](https://html.spec.whatwg.org/multipage/)
* [Language Subtag Registry - IANA Considerations - RFC 4646: Tags for Identifying Languages](https://www.rfc-editor.org/rfc/rfc4646#section-5.1)
Defines where to locate the IANA language tags
* [Language Subtag Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry)
Defines the IANA language tags

## Licensing

Unless otherwise noted(individual file's header/[REUSE DEP5](.reuse/dep5)), this product is licensed under [the 4.0 International version of the Creative Commons Attribution-ShareAlike license](https://creativecommons.org/licenses/by-sa/4.0/), or any of its more recent versions of your preference.
Expand Down
32 changes: 32 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--
Redirector page for the index page of my obsoleted personal site
Copyright 2023 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
SPDX-License-Identifier: CC-BY-SA-4.0+
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="application-name" content="Redirector site for https://brlin.me">
<meta name="application-name" lang="zh-Hant-TW" content="https://brlin.me 的重導向站台">
<meta name="author" content="林博仁(Buo-ren, Lin)">
<meta name="spdx-license-identifier" content="CC-BY-SA-4.0+">

<title>Redirecting you to the new site...</title>
<meta http-equiv="refresh" content="1; url=https://brlin.me">
</head>
<body>
<h1>Redirecting you to the new site...</h1>

<p>
This site has been moved to <a href="https://brlin.me">https://brlin.me</a>, you'll now be redirected to the new site shortly afterwards...
</p>

<hr>

<footer>
If you notice any problems on this site, please kindly file them at <a href="https://github.com/Lin-Buo-Ren/Lin-Buo-Ren.github.io/issues">the issue tracker</a>, thank you!
</footer>
</body>
</html>

0 comments on commit 021203b

Please sign in to comment.