Commit 69454848 authored by Mike Pianka's avatar Mike Pianka
Browse files

fix mixture of permanent and relative links

parent c2f250eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
{{ end -}}

{{ range $widths -}}
  {{ $srcUrl := (printf "%dx" . | $image.Resize).RelPermalink -}}
  {{ $srcUrl := (printf "%dx" . | $image.Resize).Permalink -}}
  {{ if eq $imgSrc "" -}}{{ $imgSrc = $srcUrl -}}{{ end -}}
  {{ $imgSrcSet = $imgSrcSet | append (printf "%s %dw" $srcUrl .) -}}
{{ end -}}
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  "packages": {
    "": {
      "name": "@hyas/doks",
      "version": "0.2.2",
      "version": "0.2.3",
      "license": "MIT",
      "devDependencies": {
        "@babel/cli": "^7.13",