diff --git a/.nvimlog b/.nvimlog index d192c0e..737785a 100644 --- a/.nvimlog +++ b/.nvimlog @@ -1 +1,2 @@ WARN 2024-05-18T09:36:35.325 329730 log_path_init:95: Failed to create directory /var/www/.cache for writing logs: Unknown system error 1 +WARN 2024-05-18T18:18:09.860 1425503 log_path_init:95: Failed to create directory /var/www/.cache for writing logs: Unknown system error 1 diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html index 25c6283..9446998 100644 --- a/layouts/shortcodes/youtube.html +++ b/layouts/shortcodes/youtube.html @@ -4,5 +4,5 @@ {{ else if (.Get "src") }} {{ $code = (.Get "src") }} {{ $code = (strings.ReplaceRE `(http(?:s)?:\/\/(?:www\.)?youtu(?:(?:be\.com)|(?:\.be))|(?:be-nocookie\.com))\/(?:(?:watch\?v=)|(?:embed\/)|(?:\/v\/))?(.+)?(?:\&|\?)` "" $code) }} - {{ end }} +