Skip to content

Conversation

@dejlek
Copy link

@dejlek dejlek commented Dec 22, 2025

As the title says. I have tested it locally and it works pretty well. I am not a web dev guru so I may have missed something. Please let me know what needs to be changed, added or removed. Also feel free to do any modifications by yourself if you wish.

@dejlek dejlek mentioned this pull request Dec 22, 2025
@ahmetsait
Copy link
Contributor

@dejlek could you maybe tweak it a little bit to automatically conform to user's system dark/light preference please?

You can check out this ts code and html declarations from my blog if you like.

@CyberShadow
Copy link
Owner

Hi @dejlek , before I take a closer look at this, could I ask if this is for the forum.dlang.org instance, or another instance? (Just want you to be aware that in case it's the former, this will not affect that instance, as it overrides the files edited in this PR.)

@dejlek
Copy link
Author

dejlek commented Dec 22, 2025

It is for forum.dlang.org, yes. But I will also use DFeed for DDN forum (https://ddn.ovh).
I will check your link to see if I can do something there. Thanks for letting me know.

Looks like they do not overwrite the skel.htt file. So in order to do it for forum.dlang.org I will need both this PR, and another PR in dlang.org it seems...

@CyberShadow
Copy link
Owner

Looks like they do not overwrite the skel.htt file.

Not sure if that's what you mean or not, but forum-template.dd is rendered to the skel.htt file used for forum.dlang.org:
https://github.com/CyberShadow/dlang.org/blob/4f2f3793a1b97f54f37f3be3bc21b928e3b26d1e/flake.nix#L122-L126

@dejlek
Copy link
Author

dejlek commented Dec 22, 2025

@dejlek could you maybe tweak it a little bit to automatically conform to user's system dark/light preference please?

You can check out this ts code and html declarations from my blog if you like.

@ahmetsait , nope. - I will leave that to you as you already know how to do it. So hopefully next PR will be from you.

@dejlek
Copy link
Author

dejlek commented Dec 22, 2025

Looks like they do not overwrite the skel.htt file.

Not sure if that's what you mean or not, but forum-template.dd is rendered to the skel.htt file used for forum.dlang.org: https://github.com/CyberShadow/dlang.org/blob/4f2f3793a1b97f54f37f3be3bc21b928e3b26d1e/flake.nix#L122-L126

Thanks man. I missed that! I know nothing about Nix, will need to look at that... Thanks for pointing that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants