You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,11 +141,12 @@ extra:
141
141
- **aliases** — old URLs for this entry. YiiPress writes redirect pages from each alias to the entry permalink, or to `redirect_to` when the entry is itself a redirect. Aliases are site-root paths, must be unique across aliases and generated page permalinks, and are not added to feeds, listings, or sitemap
142
142
- **layout** — template layout name (default: collection-specific or `entry`)
143
143
- **theme** — theme name for this entry; overrides the site-level default (see [Templates](templates.md))
144
+
- **show_title** — set to `false` to suppress the generated entry `<h1>` while retaining the title for metadata and navigation. The legacy `showTitle` key remains supported; `show_title` wins when both are present
144
145
- **weight** — integer for custom sorting in non-blog collections (lower = first)
145
146
- **language** — language code for multilingual content (e.g., `en`, `ru`)
146
147
- **redirect_to** — URL to redirect to; generates a redirect HTML page (with `<meta http-equiv="refresh">`, JS `window.location.replace()`, and `<link rel="canonical">`) instead of rendering content. Redirect entries are excluded from feeds, sitemaps, listings, archives, and taxonomy pages. Root-relative targets such as `/new-url/` are YiiPress site-root paths; when `base_url` includes a deployment path, YiiPress prefixes that path in the generated redirect target. Absolute URLs are emitted unchanged
147
148
- **previous**, **next** — per-entry pager overrides. Omit a direction to inherit its link from sidebar navigation when `navigation_pager` is enabled for the collection, set it to `false` to hide that direction, or provide both `text` and `link` for a custom link. Custom links also work when collection navigation paging is disabled. Relative and root-relative internal links and absolute HTTP(S) links are accepted; unsafe URL schemes fail the build. Root-relative links are rendered relative to the output page, so they work when `base_url` contains a deployment subdirectory
148
-
- **edit_link** — set to `false` to hide the edit-page action for this entry. When omitted or `true`, the entry inherits the site-wide `edit_page` configuration. This does not affect the report-issue action
149
+
- **edit_link** — set to `false` to hide the edit-page action for this entry. When omitted or `true`, the entry inherits the site-wide `edit_page` configuration. The legacy `editLink` key remains supported; `edit_link` wins when both are present. This does not affect the report-issue action
149
150
- **last_updated** — set to `true` or `false` to override last-updated output for this entry. When omitted, the entry inherits the site-wide `last_updated` setting. Disabled entries do not read the source modification time
150
151
- **extra** — arbitrary key-value pairs accessible in templates
0 commit comments