Skip to content

Whisparr Alt Calendar

Alternative calendar colors.

Setup

Docker mod

-e TP_ADDON=whisparr-alt-calendar

If adding multiple mods, enter them in an array separated by |. -e TP_ADDON=addon1|addon2

Nginx

Examples of how to add it:

proxy_set_header Accept-Encoding "";
sub_filter
'</head>'
'<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/whisparr/whisparr-base.css">
<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/whisparr/whisparr-alt-calendar/whisparr-alt-calendar.css">
</head>';
sub_filter_once on;

Apache

AddOutputFilterByType SUBSTITUTE text/html
   Substitute 's|</head> '<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/whisparr/whisparr-base.css"><link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/whisparr/whisparr-alt-calendar/whisparr-alt-calendar.css">
</head>';|'

Caddy

filter rule {
    content_type text/html.*
    search_pattern </head>
    replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/whisparr/whisparr-base.css'><link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/addons/whisparr/whisparr-alt-calendar/whisparr-alt-calendar.css'></head>"
}

Stylus

Just add another import line.

@import "https://theme-park.dev/css/base/whisparr/whisparr-base.css";
@import "https://theme-park.dev/css/addons/whisparr/whisparr-alt-calendar/whisparr-alt-calendar.css";

Traefik

Warning

Added in traefik-themepark version v1.2.0

Use traefik-themepark middleware.

middlewares:
    whisparr-alt-calendar:
        plugin:
            themepark:
                app: whisparr
                theme: base
                addons:
                    - alt-calendar

Last update: October 10, 2022