forked from tohojo/bufferbloat-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable canonifyURLs and relativeURLs, adjust templates to match.
This was breaking the 404 page in particular. With this change, links will be relative to the HTTP root (no https://), which should work for all pages when served from a web server.
- Loading branch information
Showing
10 changed files
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<script src="/js/jquery.min.js" type="text/javascript"></script> | ||
<script src="/js/bootstrap.min.js" type="text/javascript"></script> | ||
<script src="{{ "/js/jquery.min.js" | relURL }}" type="text/javascript"></script> | ||
<script src="{{ "/js/bootstrap.min.js" | relURL }}" type="text/javascript"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<link rel="icon" type="image/png" href="/images/favicon-64x64.png" sizes="64x64" /> | ||
<link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32" /> | ||
<link rel="icon" type="image/png" href="/images/favicon-16x16.png" sizes="16x16" /> | ||
<link rel="icon" type="image/png" href="{{ "/images/favicon-64x64.png" | relURL }}" sizes="64x64" /> | ||
<link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | relURL }}" sizes="32x32" /> | ||
<link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | relURL }}" sizes="16x16" /> | ||
{{ range .Site.Params.stylesheets }} | ||
<link href="/css/{{.}}" rel="stylesheet" type="text/css" />{{ end }} | ||
<link href="{{ printf "/css/%s" . | relURL}}" rel="stylesheet" type="text/css" />{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<ul class="attachment"><li><a href="/attachments/{{.Get "filename" }}"> | ||
<ul class="attachment"><li><a href="{{ printf "/attachments/%s" (.Get "filename") | relURL }}"> | ||
{{ .Get "name" }} | ||
</a> ({{ .Get "type" }}{{ if .Get "size" }}; {{ .Get "size" }}{{end}}) {{ .Get "description" }} {{ .Get "author" }} | ||
{{if .Get "date" }}{{ .Get "date" | dateFormat "Jan 2, 2006" }}{{end}}</li></ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters