Skip to content

Static HTML export anomalies? #8714

@pyz0123-cpu

Description

@pyz0123-cpu

Description

Hi there! I’ve been testing the static export feature you recommended, and overall it works really nicely. I did notice a few small quirks that might be worth a look — nothing urgent, just things that stood out when I inspected the exported files.

  1. Hidden Notes navigation entry - In the exported index.html, there’s a navigation entry at the bottom:
    html Hidden Notes
    What’s interesting is:
    The _hidden folder doesn’t exist in the export
    None of the hidden notes are exported
    The link points to a non‑existent path
    Clicking it results in a broken link

So the export includes a navigation link for hidden notes, but the notes themselves aren’t exported. It feels like a small mismatch — almost like the export is wearing one mismatched shoe. Not a big deal, just something I noticed while testing.

  1. Light/Dark theme toggle
    The exported viewer includes a Light/Dark theme toggle at the top. The button itself works (the toggle state changes), but the theme doesn’t actually change. It’s like a decorative hat that doesn’t do anything yet. Maybe it’s a placeholder for a future feature?

  2. Exclusion attribute
    I tested exclusion metadata on the system‑hidden User Guide note. The export still includes a navigation entry for hidden notes, but the hidden notes themselves are not exported. I have not yet tested exclusion on normal notes, since user‑hidden notes are no longer supported yet (coming in .102.0)

Code #excludeFromExport

It shows up correctly in the Attributes panel of the user guide, but the export still includes the hidden notes link. Not sure if this attribute is meant to be supported in the new export engine, but I figured I’d mention it in case it’s supposed to work.

None of this is blocking — the export itself works fine — and I have easy work-arounds - but I wanted to share these observations in case they’re helpful. If any of this is intentional, feel free to let me know!

Thanks again for pointing me to the static export. I’m enjoying exploring it.

TriliumNext Version

.0101.3

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

Windows 11

Error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    State: TriageIssues that need to be verifiedType: DocumentationUIIssues related to user-interface/front-end

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions