Might have broken my site by mistake

Wanted to add a new blog roll.

Instead of going to Design > Edit Recommendations > Edit Blogrolls > New Blogroll, I went ahead and created a new template (I forgot that’s how you do it) for it (as layouts/shortcodes/jtr-blogroll-main.html ) and copied and pasted the code from another blogroll shortcode, changing the name inside.

Now I’m stuck somewhere between them. I deleted the shortcode manually, tried to do it the right way, but the website doesn’t create the shortcode for it anymore (no layouts/shortcodes/jtr-blogroll-main.html is created). I tried to rebuild… nada.

Now I get an error in red:

Error: Error building site: "content/blogroll.md:18:1": failed to extract shortcode: template for shortcode "jtr-blogroll-blog-lists" not found

I mean duh, yeah… I can’t post to the site either, as this error seems to be critical and doesn’t allow it to publish at all. a recent build gives a 404 to my entire website. Yikes.

Help…? :-/

edit: I’m re-creating layouts/shortcodes/jtr-blogroll-blog-lists.html since the blogroll option (via the UI) doesn’t seem to create it. It’s better to have it even if it doesn’t work since the site is at least up.

Of course it’s buried under a number of delays of 10 seconds because everything is queued at this point.

fixed…? I think the issue was that I created a file layouts/shortcodes/jtr-blogroll-blog.lists.html at start (I wanted it to be called blog lists) and that messed it up.

I had to delete the recommendation from the UI (as in, the list), then the file, then rebuild, clean it up… now I just have layouts/shortcodes/jtr-blogroll-lists.html and that seems to work.

so, no messing with dots in Hugo.