Scott Hanson
Can I put my own index.html template on GitHub? We'll see!#
Yes, it works. Then it gets pushed to Netlify where it is statically served#
  • I created a new repository DrummerTest on GitHub, and cloned it to my Mac.#
  • There I created a file templates/index.html, and copied in the default Drummer Template, making a trivial change to the HTML title to make sure Drummer was using the new template. #
  • I pushed my changes to GitHub. It would be possible for Drummer to get the template from GitHub using a raw.githubusercontent.com URL, but that always takes a few minutes to update, so it's not so convenient.#
  • So I set up a free Netlify site connected to the DrummerTest repository. That means the Netlify site will update every time changes are pushed to GitHub. It takes about 5 seconds. #
  • Netlify gave me a crazy URL https://brave-kirch-962987.netlify.app/templates/index.html, which I set as the urlTemplate OPML header on my blog.opml.#
  • It worked! For now I've only changed the HTML title, but next I'll be tweaking the styles.#

[%copyright%]

Last update: Wednesday October 20, 2021; 7:50 PM GMT+0200.