Skip to content

Commit

Permalink
feat: redirect .md to website source on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Jul 3, 2021
1 parent 937587e commit b196aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
file_server
}
handle @markdown {
rewrite * /templates/index.html
redir * https://github.com/shawwn/website/blob/master{path}
}
handle @markdown_exists {
map {path} {caddy_markdown_site.append_to_path} {
Expand Down

0 comments on commit b196aab

Please sign in to comment.