mirror of https://gitlab.com/curben/blog
Add cloudinary call
https://cloudinary.com/documentation/responsive_images#step_3_call_the_cloudinary_responsive_method
19e3cd1bcb
This commit is contained in:
parent
67448d00bb
commit
adf707c0fb
|
@ -6,6 +6,11 @@
|
|||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/cloudinary-jquery-file-upload/2.5.0/cloudinary-jquery-file-upload.min.js" x-sri-fallback="/js/cloudinary-jquery-file-upload.min.js" integrity="sha384-HQ/p/NgiMN4n/1y5RLzK/2SvlQeYmwEazCnpg6Vbi8dSfBcOJDvWYnvDain31AU9" crossorigin="anonymous"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var cl = cloudinary.Cloudinary.new({cloud_name: "curben"});
|
||||
cl.responsive();
|
||||
</script>
|
||||
|
||||
<% if (theme.fancybox){ %>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.4.2/jquery.fancybox.min.js" x-sri-fallback="/fancybox/jquery.fancybox.min.js" integrity="sha384-j11bx3Frya+us3LfRdSq1uXZ7hsQU0UV5P3PEyRajHEHp87c8VLeM4jC/NE6SDsE" crossorigin="anonymous"></script>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Put {% cloudinary filename.jpg %} in your post.
|
||||
* Change the username in data-src.
|
||||
* Put {% cloudinary folder/filename.jpg %} in your post.
|
||||
* Change the username in data-src tag,
|
||||
* and cloud name in layout/_partial/after-footer.ejs
|
||||
* src is an animated svg generated from https://loading.io/
|
||||
* More info:
|
||||
* https://hexo.io/docs/tag-plugins
|
||||
|
|
Loading…
Reference in New Issue