From 8028c5a15a65dfdacb9ba8250c88e338546b49dc Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 29 Jun 2024 00:22:00 +0200 Subject: config: add various missing options Mainly things you could already set with [[siteconf]] but not normally. Also, a `styling' option to disable author styles. Also, `images' is now documented as an "experimental" option, since it's halfway usable now. --- src/server/buffer.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server') diff --git a/src/server/buffer.nim b/src/server/buffer.nim index f14cda60..d84bc29c 100644 --- a/src/server/buffer.nim +++ b/src/server/buffer.nim @@ -134,6 +134,7 @@ type BufferConfig* = object userstyle*: string referer_from*: bool + styling*: bool scripting*: bool images*: bool isdump*: bool @@ -870,6 +871,7 @@ proc setHTML(buffer: Buffer) = buffer.window = newWindow( buffer.config.scripting, buffer.config.images, + buffer.config.styling, buffer.selector, buffer.attrs, factory, -- cgit