Skip to content

feat: Refreshing page on timer#1511

Open
astandrik wants to merge 2 commits intodiplodoc-platform:masterfrom
astandrik:astandrik.1403
Open

feat: Refreshing page on timer#1511
astandrik wants to merge 2 commits intodiplodoc-platform:masterfrom
astandrik:astandrik.1403

Conversation

@astandrik
Copy link

@astandrik astandrik commented Nov 15, 2025

Description

  • Add per-page auto-refresh support via an optional refreshTimeout field in page frontmatter (in seconds).
  • When refreshTimeout is a positive value, inject a corresponding <meta http-equiv="refresh" content="{seconds}"> tag into the page <head>, leaving pages without this field unchanged.
  • Extend tests/fixtures (including single-page mode) to cover refreshTimeout parsing and the presence of the meta refresh tag in generated HTML.

Related issue: fixes #1403

@astandrik
Copy link
Author

@separatrixxx would appreciate your review here

@3y3 3y3 requested a review from a team as a code owner December 23, 2025 15:29
@3y3 3y3 requested review from reazy015 and removed request for a team December 23, 2025 15:29
@3y3 3y3 force-pushed the master branch 3 times, most recently from 9ba1505 to 93079dd Compare January 23, 2026 10:29
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.

Refreshing page on timer

1 participant