mirror of
https://github.com/torproject/manual.git
synced 2024-11-23 09:29:45 +00:00
Add HTML Redirect
This commit is contained in:
parent
6ec45bc2a6
commit
3c093eecce
@ -1 +0,0 @@
|
||||
security-settings
|
5
content/security-slider/contents.lr
Normal file
5
content/security-slider/contents.lr
Normal file
@ -0,0 +1,5 @@
|
||||
_model: redirect
|
||||
---
|
||||
target: ../security-settings/
|
||||
---
|
||||
_discoverable: no
|
7
models/redirect.ini
Normal file
7
models/redirect.ini
Normal file
@ -0,0 +1,7 @@
|
||||
[model]
|
||||
name = Redirect
|
||||
|
||||
[fields.target]
|
||||
label = Target
|
||||
type = string
|
||||
description = Target holds the destination of the redirect. It allows absolute and relative paths.
|
6
templates/redirect.html
Normal file
6
templates/redirect.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0; url={{ this.target }}">
|
||||
</head>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user