feoblog icon indicating copy to clipboard operation
feoblog copied to clipboard

User-configurable styles/themes

Open NfNitLoop opened this issue 4 years ago • 1 comments

Out of the box, FeoBlog uses its embedded styles.css and client.css files to render the plain HTML view and client view.

Users will probably want a way to provide their own styles for their own sites.

NfNitLoop avatar Jan 21 '21 18:01 NfNitLoop

In the meantime, you can work around this if you're serving FeoBlog through a reverse proxy.

For example, here's how I have mine configured in Apache2:

<VirtualHost *:443>
    ServerName blog.nfnitloop.com

    DocumentRoot /var/www/nfnitloop.com/blog/docroot

    # [not included: some irrelevant bits]

    # Proxy all traffic to the local server:
    ProxyPass "/" "http://127.0.0.1:8080/"
</VirtualHost>

If I wanted a different style, I could add an option to tell ProxyPass to not proxy style.css and instead serve a local one:

ProxyPass "/style.css" "!"

NfNitLoop avatar Jan 21 '21 19:01 NfNitLoop