diff --git a/.drone.yml b/.drone.yml index 6a290a0..7163de6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: - name: hugo image: code.ndumas.com/ndumas/hugo commands: - - hugo -d /drone/src/public/ --baseUrl https://blog.ndumas.com + - hugo -d /drone/src/public/ --baseURL https://blog.ndumas.com - name: publish depends_on: - hugo @@ -38,7 +38,7 @@ steps: - name: hugo image: code.ndumas.com/ndumas/hugo commands: - - hugo -d /drone/src/public/ --baseUrl https://dev.blog.ndumas.com + - hugo -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com - name: publish depends_on: - hugo @@ -68,7 +68,7 @@ steps: - name: hugo image: code.ndumas.com/ndumas/hugo commands: - - hugo -DF -d /drone/src/public/ --baseUrl https://drafts.blog.ndumas.com + - hugo -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com - name: publish depends_on: - hugo diff --git a/layouts/partials/extend-head.html b/layouts/partials/extend-head.html index 76dee9b..3e57926 100644 --- a/layouts/partials/extend-head.html +++ b/layouts/partials/extend-head.html @@ -1,3 +1,3 @@ -{{ $baseURL := (urls.AbsURL "") }} +{{ $baseURL := urls.AbsURL "" }} {{ $baseURL }}