There's a new generateFiles endpoint. You pass in a function that takes a page's path,
page metadata, and page body, and that returns a list representing the files to generate.
You can see a working example for elm-pages.com, here's the entry point, and here's where it
generates the RSS feed.
You can pass in a no-op function like \pages -> [] to not generate any files.
[1.1.3] - 2020-01-23
Fixed
Fix missing content flash (that was partially fixed with #48) for
some cases where paths weren't normalized correctly.
[1.1.2] - 2020-01-20
Fixed
"Missing content" message no longer flashes between pre-rendered HTML and the Elm app hydrating and taking over the page. See #48.
[1.1.1] - 2020-01-04
Fixed
Don't reload pages when clicking a link to the exact same URL as current URL. Fixes #29.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps elm-pages from 2.1.12 to 3.0.1.
Changelog
Sourced from elm-pages's changelog.
... (truncated)
Commits
c8fda4a
Bump elm version.8a4fd36
Update changelog.04236bf
Merge pull request #60 from dillonkearns/dont-preload-unknown-paths54285eb
Update blog index styling.332a54c
Mark generate files post as a draft.b562b02
Use smaller twitter card for pages with elm-pages icon as logo.88e4a4d
Don't prefetch unknown paths.76e32ad
Update changelog with release version.ca0e477
1.2.2fb3f1a9
Update changelog.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)