Open byzheng opened 7 years ago
Hello @byzheng strange beahavior i can not reproduce it.
I set baseURL = "//localhost:1313/docs/"
and `baseURL = "//localhost:1313/docs" and tags links are ok for both values.
Strange I am using hugo 0.27 through R package blogdown
Hugo Static Site Generator v0.27 windows/amd64 BuildDate: 2017-09-13T07:58:30+10 :00
In this link of code, the links of tags are generated for each page according to BaseURL. However, if the BaseURL is ending with a
/
trailing slash, the link become two slash plus tags (e.g. "//tag1").It will be better to check the trailing slash or remove slash before
tags
.https://github.com/vjeantet/hugo-theme-docdock/blob/8519d16e2e4be030fb1a2ef329f2151050eae596/layouts/partials/header.html#L72