diff options
author | tdro <tdro@noreply.example.com> | 2022-07-22 00:42:04 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-22 00:42:04 -0400 |
commit | fb75c5320f46d648a5ac95d429b19c6eaead4e5f (patch) | |
tree | 30c6e7ae4f131289810dd13c373b790ced63226b /themes/default | |
parent | ed919681f324ed070445cfae8f1dd662b09f81b8 (diff) | |
download | canory-fb75c5320f46d648a5ac95d429b19c6eaead4e5f.tar.gz canory-fb75c5320f46d648a5ac95d429b19c6eaead4e5f.tar.bz2 canory-fb75c5320f46d648a5ac95d429b19c6eaead4e5f.zip |
themes/default/layouts/partials/video-container: Add FromString back
Whoops, this is needed to set the entry point location of the remote resource.
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/layouts/partials/video-container.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/video-container.html b/themes/default/layouts/partials/video-container.html index cda4e83..d114332 100644 --- a/themes/default/layouts/partials/video-container.html +++ b/themes/default/layouts/partials/video-container.html @@ -22,6 +22,7 @@ {{- end -}} {{- else -}} {{- $cache = resources.Get (path.Join "public/" $fileCache) -}} + {{- $cache = $cache.Content | resources.FromString $fileCache -}} {{- $cache = $cache.Permalink -}} {{- end -}} |