Skip to content

v0.2.0

@alfredbaudisch alfredbaudisch tagged this 22 Sep 16:02
Introduced a breaking change with the previous version, where the configuration for the static assets now require a path, instead of a folder name, thus the property static_assets_folder_name has been replaced with:
```
  # The path that contains static assets,
  # those files won't be parsed.
  static_assets_path: "/home/documents/content/static",
```

Added three configurations for that:
```
  # Markdown files can contain a top section with metadata/attributes related
  # to the file. Is the metadata required?
  is_markdown_metadata_required: true,

  # Are posts set as draft (unpublished) by default? If true, posts will appear
  # in the content trees only when they have the attribute `published: true`
  # (which sets `Post.is_published == true`). Draft posts can be retrieved
  # only by calling their slug directly with `Repository.get_by_slug/1`
  is_content_draft_by_default: true,

  # Added for compatibility with Markdown files from Joplin.
  # When `true`, the parser will consider the first line of text to be
  # the post title. Even when as `true`, the title can still be overridden
  # by the metadata. Set to `false` in most cases, unless
  # you are exporting notes from Joplin.
  should_try_split_content_title_from_first_line: false,
```
Assets 2
Loading