diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 109b1dfd..3e6cf7e0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -40,6 +40,9 @@ Please fill the template below **Expected behavior**: +**Repo/Source where this issue can be reproduced**: + + **Screenshots** diff --git a/assets/js/fastsearch.js b/assets/js/fastsearch.js index 02d1396a..06ebcfba 100644 --- a/assets/js/fastsearch.js +++ b/assets/js/fastsearch.js @@ -28,17 +28,17 @@ window.onload = function () { }; if (params.fuseOpts) { options = { - isCaseSensitive: params.fuseOpts.iscasesensitive ? params.fuseOpts.iscasesensitive : false, - includeScore: params.fuseOpts.includescore ? params.fuseOpts.includescore : false, - includeMatches: params.fuseOpts.includematches ? params.fuseOpts.includematches : false, - minMatchCharLength: params.fuseOpts.minmatchcharlength ? params.fuseOpts.minmatchcharlength : 1, - shouldSort: params.fuseOpts.shouldsort ? params.fuseOpts.shouldsort : true, - findAllMatches: params.fuseOpts.findallmatches ? params.fuseOpts.findallmatches : false, - keys: params.fuseOpts.keys ? params.fuseOpts.keys : ['title', 'permalink', 'summary', 'content'], - location: params.fuseOpts.location ? params.fuseOpts.location : 0, - threshold: params.fuseOpts.threshold ? params.fuseOpts.threshold : 0.4, - distance: params.fuseOpts.distance ? params.fuseOpts.distance : 100, - ignoreLocation: params.fuseOpts.ignorelocation ? params.fuseOpts.ignorelocation : true + isCaseSensitive: params.fuseOpts.iscasesensitive ?? false, + includeScore: params.fuseOpts.includescore ?? false, + includeMatches: params.fuseOpts.includematches ?? false, + minMatchCharLength: params.fuseOpts.minmatchcharlength ?? 1, + shouldSort: params.fuseOpts.shouldsort ?? true, + findAllMatches: params.fuseOpts.findallmatches ?? false, + keys: params.fuseOpts.keys ?? ['title', 'permalink', 'summary', 'content'], + location: params.fuseOpts.location ?? 0, + threshold: params.fuseOpts.threshold ?? 0.4, + distance: params.fuseOpts.distance ?? 100, + ignoreLocation: params.fuseOpts.ignorelocation ?? true } } fuse = new Fuse(data, options); // build the index from the json file diff --git a/i18n/de.yaml b/i18n/de.yaml index 47254190..f64aad97 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "Vorherige Seite" + translation: "Vorherige" - id: next_page - translation: "Nächste Seite" + translation: "Nächste" - id: read_time translation: diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index c2ff3e69..d9ddbda5 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -2,7 +2,10 @@ {{- with site.Params.profileMode }}
{{- if .imageUrl -}} - {{- $img := resources.Get .imageUrl }} + {{- $img := "" }} + {{- if not (urls.Parse .imageUrl).IsAbs }} + {{- $img = resources.Get .imageUrl }} + {{- end }} {{- if $img }} {{- $processableFormats := (slice "jpg" "jpeg" "png" "tif" "bmp" "gif") -}} {{- if hugo.IsExtended -}} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 1e1f9dc7..49f5389f 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -14,6 +14,12 @@ +{{- else if (eq $icon_name "anilist") -}} + + + {{- else if (eq $icon_name "applemusic") -}} @@ -404,6 +410,15 @@ d="M128 256C198.7 256 256 198.7 256 128C256 57.3 198.7 0 128 0C57.3 0 0 57.3 0 128C0 198.7 57.3 256 128 256ZM70.9 186.2H86.3V127.5V79.0999H70.9V186.2ZM108.9 79.0999H150.5C190.1 79.0999 207.5 107.4 207.5 132.7C207.5 160.2 186 186.3 150.7 186.3H108.9V79.0999ZM124.3 172.4H148.8C183.7 172.4 191.7 145.9 191.7 132.7C191.7 111.2 178 93 148 93H124.3V172.4ZM78.6 66.8999C84.2 66.8999 88.7 62.2999 88.7 56.7999C88.7 51.2999 84.2 46.7 78.6 46.7C73 46.7 68.5 51.2 68.5 56.7999C68.5 62.2999 73 66.8999 78.6 66.8999Z" fill="currentColor" /> +{{- else if (eq $icon_name "osu!") -}} + + + + + + {{- else if (eq $icon_name "overcast") -}} +{{- else if (eq $icon_name "sketchfab") -}} + + + {{- else if (eq $icon_name "slack") -}} @@ -517,7 +536,7 @@ {{- else if (eq $icon_name "spotify") -}} - + diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index 13e7b2bd..9e8df143 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -27,8 +27,8 @@ {{- if .IsPage }} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} -{{ with .PublishDate }}{{ end }} -{{ with .Lastmod }}{{ end }} +{{ with .PublishDate }}{{ end }} +{{ with .Lastmod }}{{ end }} {{- end -}} {{- with .Params.audio }}{{ end }}