Skip to content
Permalink
Browse files

DOC: pdoc template: Specify rel=canonical w/o index.html

  • Loading branch information...
kernc committed Jan 6, 2019
1 parent fcc65aa commit b7c7988d19484f1a89ebb8ccf04dd81dc6470317
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/pdoc_template/head.mako
@@ -25,5 +25,5 @@

<style>${homelink()}</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
<link rel="canonical" href="https://kernc.github.io/backtesting.py/doc/${module.url(link_prefix=link_prefix)}">
<link rel="canonical" href="https://kernc.github.io/backtesting.py/doc/${module.url()[:-len('index.html')] if module.is_package else module.url()}">
<link rel="icon" href="https://kernc.github.io/backtesting.py/logo.png">

0 comments on commit b7c7988

Please sign in to comment.
You can’t perform that action at this time.