Add a status canary hidden string #170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "status-canary"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This allows status.hamburg.ccc.de to work irrespective of actual content changes.
But this is still part of the content. Wouldn't it be better to have some custom
<meta>tag in the HTML<head>if this is only meant to check if the site is served at that domain?This way we can tell that the base template mechanism works.
Think this should work nicely. If @jtbx is happy with it, let's merge it.
OK. I thought we wanted to catch mis-configured DNS, reverse-proxy and nginx. Because this was the main thing that was discussed in the chat as the monitoring went unhappy.
I'm just surprised that a HTML comment is even going through Hugo and ending up in the HTML and a bit unsure how stable this output will be. I would rather count this as a side-effect and not an actual feature that comments are preserved because some output options (e.g. minified) will strip comments.
And having something in the Hugo templates/ theme will also make sure that Hugo ran and used some content. The current proposal doesn't make sure that "the right" content was generated (whatever that actually means since it can change).