In Tome, views pagers and media oembed URLs are transformed in the final HTML to be compatible with static sites. Specifically, query parameters in URLs are converted to paths, i.e. ?page=1 becomes /page/1, and ?url=foo becomes a MD5 hash.

Since these are both core features it's OK that they're directly supported in the static generator, but we should move this support to event subscribers to keep the static generator service code from getting too complex.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

samuel.mortenson created an issue. See original summary.

samuel.mortenson’s picture

Component: Code » Tome Static
samuel.mortenson’s picture

Assigned: Unassigned » samuel.mortenson
samuel.mortenson’s picture

samuel.mortenson’s picture

Status: Active » Needs review
FileSize
19.43 KB
samuel.mortenson’s picture

Status: Needs review » Fixed

  • samuel.mortenson authored 075bb6b on 8.x-1.x
    Issue #3047447 by samuel.mortenson: Split document and destination...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.