Skip to content

Commit

Permalink
Delete a slash after .Site.BaseURL.
Browse files Browse the repository at this point in the history
The web server based on Azure Storage Account can't handle a double slashed URL.

e.g. https://example.com//js/bootstrap.min.js is not acceptable.
It should be https://example.com/js/bootstrap.min.js
  • Loading branch information
monaka authored and bul-ikana committed Sep 20, 2024
1 parent d87dfbc commit 7f961b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
{{ partial "footer.html" . }}

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseURL }}js/bootstrap.min.js"></script>
{{ with .Site.Params.analytics }}
{{ partial "analytics.html" . }}
{{ end }}
</body>

</html>
</html>

0 comments on commit 7f961b2

Please sign in to comment.