Fiction Template: Safari Video Fix + Development Improvements

Hi CloudCannon community! :waving_hand:

I was evaluating the Fiction Hugo template for a project I’m working on and noticed it hasn’t received updates in about three years. While I really like the template design, I ran into some issues that made it a non-starter - particularly the Safari video background problem and some development server issues.

Since the template had potential for my project, I went ahead and fixed the main problems:

Issues Fixed:

  • :white_check_mark: Safari/iOS video backgrounds now work properly
  • :white_check_mark: Development server rebuild loops resolved
  • :white_check_mark: Missing Hugo dependency issues fixed
  • :white_check_mark: Updated deprecated functions for modern Hugo

The template is now viable for projects that need Safari/macOS compatibility and has a much smoother development experience.

Full details and implementation: fiction-hugo-template/COMMUNITY_IMPROVEMENTS.md at development-improvements · AirstarsAsia/fiction-hugo-template · GitHub

I’m sharing this in case anyone else is evaluating the Fiction template and runs into the same Safari compatibility issues. All changes maintain backward compatibility.

Feel free to use whatever parts are helpful for your projects!

6 Likes

Hi Peter,

First off - welcome to the community :waving_hand: Great to have you in here.

I’m actually going through our templates right now and giving them a tidy up & update. I really appreciate the work you’ve done on this. Would you mind if we added your changes back into our version of the template?

Thanks for contributing!

3 Likes

Tom Thanks so much for the warm welcome!

I’d be absolutely delighted if you added these changes back into the official template - that was exactly what I was hoping for when I shared them.

Let me know if you need anything from myside.

I am Really excited to see the Fiction template get some love and updates. Thanks for maintaining these great resources for the community! :raising_hands:

3 Likes

Amazing, thanks for that!

I’ve pulled in most of your changes as part of the general overhaul I’ve done on the Fiction template (I couldn’t merge the history back in for some reason so just went through your commits). Great work on the video component in particular! I couldn’t get the hugo-extended as a devDependency in the package.json to work properly on my dev environment, so have left that out and updated the README.md with some details about which Hugo version to use instead.

Thanks again for the contributions, awesome to see :slight_smile:

3 Likes

Tom, thanks for all the updates. I’m looking forward to seeing the polished product. I’ll give it a goal as soon as I can.

4 Likes