jaspr_content 0.4.1
jaspr_content: ^0.4.1 copied to clipboard
Jaspr plugin for content driven sites.
0.4.1 #
jaspr
upgraded to0.21.1
jaspr_router
upgraded to0.7.3
0.4.0 #
- The
LiquidTemplateEngine
is no longerconst
. - Fixed resolution of partial files in
LiquidTemplateEngine
. - Skip adding a
<style>
element for an emptyContentTheme
. - Fixed
HtmlParser
to treat html files as fragments.
0.3.0 #
-
Breaking:
Page.data
now returns aPageDataMap
with typed getters for the maps stored underpage
andsite
. It's alsofinal
now and should be modified using thePage.apply
method. -
Breaking: The
data
parameters inPage.new
andMemoryPage.new
have been renamed toinitialData
to reflect they don't necessarily specify the final data. -
Breaking:
Header
has been moved topackage:jaspr_content/components/header.dart
. -
Breaking:
Sidebar
has been moved topackage:jaspr_content/components/sidebar.dart
. -
Added a new
Markdown
component for directly rendering markdown content from aString
. -
Added support for
sitemap: false
in the page data to exclude pages from the sitemap. -
Ignores files and folders in the content directory starting with
.
(in addition to_
). -
Require Dart 3.6 or later to match the other Jaspr packages.
-
Renamed the
GithubButton
component toGitHubButton
. -
Fixed
GitHubButton
not linking to the correct repository. -
Renamed the
GithubLoader
route loader toGitHubLoader
. -
Breaking: Made
GitHubPageSource
private. -
Fixed subfolders in
Content
are not recognized on Windows.
0.2.0 #
-
Breaking: Changed
MemoryPage.builder
to accept aBuildContext
instead of aPage
parameter. -
Adding or removing content files will now properly update the routes.
-
Support
.yml
in addition to.yaml
for data files. -
Fixed specifying the
layout
name in frontmatter. -
Fixed
ContentTheme.none
to not apply any styles. -
Fixed typo with
keepSuffixPattern
parameter inFilesystemLoader
andGithubLoader
.
0.1.1 #
jaspr
upgraded to0.19.0
jaspr_router
upgraded to0.7.0
0.1.0 #
- Initial version.