After checking out hugo sometime ago, I’ve decided to try it out once more and wow!! Everything’s a lot nicer Especially the shortcodes – I think it’s quite clever how it was implemented (just drop in an html and that’s it).
I’m in the process of converting my blog (again) from octopress/jekyll to hugo and I have a somewhat naive question.
Is there a way to do some sort of “package” for a shortcode? I’m converting a few of the shortcodes I’m using and some of them require custom css. Right now I put all the custom css the shortcode needs to use into the /static folder.
I was wondering if shortcodes can have their own css and js folders so that (e.g.) I can give someone a .zip file and instructions to unzip this package in their /layouts/shortcodes folder and that would work.
I’m sorry if this has been discussed before - I’ve been looking around in the forums and googling (but most of what I get from googling are movie related). I’d really appreciate it if I get a finger pointed in the right direction