[default theme] fix links causing disseminate to drop an exception

This commit is contained in:
Your Name 2024-06-08 22:35:56 +02:00
parent 27072a80b7
commit 3c867e6c5a

View file

@ -4,7 +4,7 @@
<h1><%= config.branding.title %></h1>
<hr>
<div id="link-container">
<% if(config.themeOpts.links) { %>
<% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("links")) { %>
<% for(const link of config.themeOpts.links) { %>
<a href="<%= link.url %>"><%= link.title %></a>
<% } %>