diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-08-09 21:13:21 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-08-09 21:13:21 +0200 |
| commit | 914e63f6bb46c3ff132c5f642cffcb72485551e0 (patch) | |
| tree | 954c5d646efdae3772584d70da1552b28bf068b5 /pages | |
| parent | a70b0207990d1b93d6d267b020d7b0ff881d22d5 (diff) | |
Serve plain ZNC log files too
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/calendar-day.mustache | 1 | ||||
| -rw-r--r-- | pages/log.mustache | 1 | ||||
| -rw-r--r-- | pages/plainlog.mustache | 26 |
3 files changed, 28 insertions, 0 deletions
diff --git a/pages/calendar-day.mustache b/pages/calendar-day.mustache index 5cf8078..8113f33 100644 --- a/pages/calendar-day.mustache +++ b/pages/calendar-day.mustache @@ -31,6 +31,7 @@ {{/events}} </tbody></table> <p>All times are in UTC on {{date}}.</p> + <p>Plain ZNC logs for this day are available <a href="/plainlog/{{&alias}}/{{date}}">here</a>.</p> </main> {{> footer}} </div> diff --git a/pages/log.mustache b/pages/log.mustache index fdde44c..eb3cb2f 100644 --- a/pages/log.mustache +++ b/pages/log.mustache @@ -86,6 +86,7 @@ {{/picker}} </div> <p>All times are in UTC.</p> + <p>Plain ZNC logs are available <a href="/plainlog/{{&alias}}">here</a>.</p> </main> {{> footer}} </div> diff --git a/pages/plainlog.mustache b/pages/plainlog.mustache new file mode 100644 index 0000000..0d230a4 --- /dev/null +++ b/pages/plainlog.mustache @@ -0,0 +1,26 @@ +<!doctype html> +<html lang="en"> +<head> + {{> headmeta}} + <title>{{channel}} ({{network}}), plain - tirclogv</title> +</head> +<body> + <div> + {{> header}} + <main> + <h1>Plain logs: {{network}}/{{channel}}</h1> + <p> + These are the plain ZNC log files that the content is served from. + Serving these files is much cheaper than the normal, nicely formatted log pages, so feel free to bulk-download these if you need them. + </p> + {{#note}}<p>{{&.}}</p>{{/note}} + <pre style="font-size: larger"> +{{#entries}} +{{#exists}}<a href="/plainlog/{{&alias}}/{{&date}}">{{&date}}</a>{{/exists}}{{^exists}}{{&date}}{{/exists}} +{{/entries}} + </pre> + </main> + {{> footer}} + </div> +</body> +</html> |
