mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -05:00
Added webmentions to old links
This commit is contained in:
parent
2834933a82
commit
6d329dc122
1 changed files with 21 additions and 0 deletions
21
layouts/alias.html
Normal file
21
layouts/alias.html
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
|
||||||
|
<head>
|
||||||
|
<title>{{ .Permalink }}</title>
|
||||||
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
<meta name="robots" content="noindex">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<!-- Webmentions -->
|
||||||
|
<link rel="webmention" href="https://webmention.io/brandonrozek.com/webmention" />
|
||||||
|
<link rel="pingback" href="https://webmention.io/brandonrozek.com/xmlrpc" />
|
||||||
|
|
||||||
|
<meta http-equiv="refresh" content="0; url={{ .Permalink }}">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Likely due to typos or site reorganizations, "{{ .Title }}" has moved to a new URL.</p>
|
||||||
|
<p>
|
||||||
|
If your browser does not immediately send you to the new location,
|
||||||
|
you can visit <a href="{{ .Permalink }} ">{{ .Permalink }}</a> yourself.
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue