Files
sm-journal-plugin/models/settings/fields.yaml
Jakub Zych 305f94afd9 feat: H1 to H2 setting with the admin save conversion (tracer)
- content_h1_to_h2 and generic_anchors on the settings row (migration
  202610280001), Headings and links tab, config key
  golem15.journal.content_h1_to_h2 used when no settings row exists
- classes.ConvertH1 on the x/net/html tokenizer; the Blog Editor types
  convert while the setting is on and answer editor.h1_converted
- GET /posts/{slug} reports content_h1_to_h2 (additive key)
2026-11-04 09:44:58 +01:00

112 lines
4.4 KiB
YAML

fields:
show_all_posts:
span: left
label: golem15.journal::lang.journal.show_all_posts_label
comment: golem15.journal::lang.journal.show_all_posts_comment
type: switch
default: true
tab: golem15.journal::lang.journal.tab_general
use_rich_editor:
span: left
label: golem15.journal::lang.journal.use_rich_editor_label
comment: golem15.journal::lang.journal.use_rich_editor_comment
type: switch
default: false
tab: golem15.journal::lang.journal.tab_general
content_h1_to_h2:
span: left
label: golem15.journal::lang.journal.h1_to_h2_label
comment: golem15.journal::lang.journal.h1_to_h2_comment
type: switch
default: true
tab: golem15.journal::lang.journal.tab_headings
generic_anchors:
span: full
label: golem15.journal::lang.journal.generic_anchors_label
comment: golem15.journal::lang.journal.generic_anchors_comment
type: textarea
size: small
default: "click here\nhere\nmore\nread more\nlearn more\nthis link\nlink\nkliknij tutaj\ntutaj\ntu\nwięcej\nczytaj więcej\nczytaj dalej\nten link"
tab: golem15.journal::lang.journal.tab_headings
search_use_typesense:
span: left
label: golem15.journal::lang.journal.search_use_typesense_label
comment: golem15.journal::lang.journal.search_use_typesense_comment
type: switch
default: false
tab: golem15.journal::lang.journal.tab_search
search_title_weight:
span: left
label: golem15.journal::lang.journal.search_title_weight_label
comment: golem15.journal::lang.journal.search_title_weight_comment
type: number
default: 5
tab: golem15.journal::lang.journal.tab_search
search_excerpt_weight:
span: left
label: golem15.journal::lang.journal.search_excerpt_weight_label
comment: golem15.journal::lang.journal.search_excerpt_weight_comment
type: number
default: 3
tab: golem15.journal::lang.journal.tab_search
search_content_weight:
span: left
label: golem15.journal::lang.journal.search_content_weight_label
comment: golem15.journal::lang.journal.search_content_weight_comment
type: number
default: 1
tab: golem15.journal::lang.journal.tab_search
rss_enabled:
span: left
label: golem15.journal::lang.journal.rss_enabled_label
comment: golem15.journal::lang.journal.rss_enabled_comment
type: switch
default: true
tab: golem15.journal::lang.journal.tab_rss
rss_include_content:
span: right
label: golem15.journal::lang.journal.rss_include_content_label
comment: golem15.journal::lang.journal.rss_include_content_comment
type: switch
default: false
tab: golem15.journal::lang.journal.tab_rss
rss_title:
span: left
label: golem15.journal::lang.journal.rss_title_label
comment: golem15.journal::lang.journal.rss_title_comment
type: text
tab: golem15.journal::lang.journal.tab_rss
rss_description:
span: right
label: golem15.journal::lang.journal.rss_description_label
comment: golem15.journal::lang.journal.rss_description_comment
type: textarea
size: small
tab: golem15.journal::lang.journal.tab_rss
rss_language:
span: left
label: golem15.journal::lang.journal.rss_language_label
comment: golem15.journal::lang.journal.rss_language_comment
type: text
default: en-us
tab: golem15.journal::lang.journal.tab_rss
rss_copyright:
span: right
label: golem15.journal::lang.journal.rss_copyright_label
comment: golem15.journal::lang.journal.rss_copyright_comment
type: text
tab: golem15.journal::lang.journal.tab_rss
rss_image_url:
span: left
label: golem15.journal::lang.journal.rss_image_url_label
comment: golem15.journal::lang.journal.rss_image_url_comment
type: text
tab: golem15.journal::lang.journal.tab_rss
rss_posts_per_feed:
span: right
label: golem15.journal::lang.journal.rss_posts_per_feed_label
comment: golem15.journal::lang.journal.rss_posts_per_feed_comment
type: number
default: 20
tab: golem15.journal::lang.journal.tab_rss