Unverified Commit 13434c97 authored by Marco Blessing's avatar Marco Blessing Committed by GitHub
Browse files

Merge upstream (#2)



* replaces possible backslash for win environments

like in hugo docs explained:  `.File.Path` returns paths joined by backslashes instead of slashes.

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* Updating the README!

* fix mixture of permanent and relative links

* Updating the README!

* Updating the README!

* Replace highlightBlock with highlightElement

* Updating the README!

* Updating the README!

* deps: bump versions to latest

* Updating the README!

* Updating the README!

Co-authored-by: default avatarHenk Verlinde <henk@henkverlinde.com>
Co-authored-by: default avatargithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: default avatarMike Pianka <47948499+mikepianka@users.noreply.github.com>
Co-authored-by: default avatarumatare5 <umatare5@gmail.com>
Co-authored-by: default avatarHenk Verlinde <henk@ventizo.com>
parent 6ce969bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,6 +19,6 @@ hljs.registerLanguage('md', markdown);

document.addEventListener('DOMContentLoaded', () => {
  document.querySelectorAll('pre code').forEach((block) => {
    hljs.highlightBlock(block);
    hljs.highlightElement(block);
  });
});
+1 −1
Original line number Diff line number Diff line
<p class="edit-page"><a href="{{ .Site.Params.docsRepo }}/blob/master/content/{{ .File.Path }}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path></svg>Edit this page on GitHub</a></p>
<p class="edit-page"><a href="{{ .Site.Params.docsRepo }}/blob/master/content/{{replace .File.Path "\\" "/" }}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path></svg>Edit this page on GitHub</a></p>
+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 -}}
+280 −298

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
    "highlight.js": "^10.7",
    "hugo-bin": "^0.70",
    "instant.page": "^5.1",
    "katex": "^0.13.0",
    "katex": "^0.13",
    "lazysizes": "^5.3",
    "markdownlint-cli": "^0.27",
    "netlify-lambda": "^2.0",
@@ -58,7 +58,7 @@
    "purgecss-whitelister": "^2.4",
    "rimraf": "^3.0",
    "shx": "^0.3.3",
    "standard-version": "^9.1",
    "standard-version": "^9.2",
    "stylelint": "^13.12",
    "stylelint-config-standard": "^21.0"
  }