Skip to content

Commit

Permalink
add 'redirect'
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Dec 29, 2023
1 parent 8e3ba90 commit c83c1be
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _data/redirects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- from: "/lipu"
to: "/"
9 changes: 9 additions & 0 deletions redirect.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
pagination:
data: redirects
size: 1
alias: redirect
permalink: /{{redirect.from}}/
eleventyExcludeFromCollections: true
---
<meta http-equiv="refresh" content="0; url={{redirect.to}}">

0 comments on commit c83c1be

Please sign in to comment.