Table Name: tabWeb Page
| Sr | Fieldname | Type | Label | Options |
|---|---|---|---|---|
| 1 | section_title |
Section Break | Title | |
| 2 | title |
Data |
Title
Title / headline of your page |
|
| 3 | show_title |
Check | Show Title | |
| 4 | slideshow |
Link |
Slideshow
Begin this page with a slideshow of images |
Website Slideshow |
| 5 | cb1 |
Column Break | ||
| 6 | page_name |
Data |
Page Name
Page url name (auto-generated) |
|
| 7 | published |
Check | Published | |
| 8 | sb1 |
Section Break |
Content
Page content |
|
| 9 | main_section |
Text Editor |
Main Section
Content in markdown format that appears on the main side of your page |
|
| 10 | fold_10 |
Fold | ||
| 11 | custom_javascript |
Section Break | Custom Javascript | |
| 12 | insert_code |
Check |
Insert Code
Add code as <script> |
|
| 13 | javascript |
Code | Javascript |
Javascript |
| 14 | custom_css |
Section Break | Custom CSS | |
| 15 | insert_style |
Check | Insert Style | |
| 16 | css |
Code | CSS |
CSS |
| 17 | section_break_17 |
Section Break | ||
| 18 | enable_comments |
Check | Enable Comments | |
| 19 | text_align |
Select | Text Align |
Left Center Right |
| 20 | column_break_20 |
Column Break | ||
| 21 | parent_web_page |
Link | Parent Web Page | Web Page |
| 22 | parent_website_route |
Read Only | Parent Website Route | |
| 23 | idx |
Int |
Priority
0 is highest |
|
| 24 | template_path |
Small Text | Template Path | |
| 25 | sb2 |
Section Break | ||
| 26 | description |
Small Text |
Description
Description for search engine optimization. |
|
| 27 | header |
Text |
Header
HTML for header section. Optional |
Inherits from frappe.website.website_generator.WebsiteGenerator
Add a hero element if specified in content or hooks. Hero elements get full page width.
Add index, next button if {index}, {next} is present.
check_for_redirect (self, context)
No docs
No docs
get_dynamic_context (self, context)
update context from .py and load sidebar from _sidebar.json if either exists
No docs
get_static_content (self, context)
No docs
render_dynamic (self, context)
No docs
set_breadcrumbs (self, context)
Build breadcrumbs template (deprecated)
No docs
set_title_and_header (self, context)
Extract and set title and header from content or context.
No docs
frappe.website.doctype.web_page.web_page.check_broken_links ()
No docs