File:
site-pages.nu
0 exported commands
5 internal commandsrender-site-shell
InternalUsage
render-site-shell <site_title> <site_summary> <page_title> <page_lead> <site_version> <css_version> <theme_config_json> <nav_html> <search_index_json> <favicon_href> <body_html>
Parameters
site_title <string>site_summary <string>page_title <string>page_lead <string>site_version <string>css_version <string>theme_config_json <string>nav_html <string>search_index_json <string>favicon_href <string>body_html <string>
Input/output types
| input | output |
|---|---|
| nothing | string |
render-search-index-json
InternalUsage
render-search-index-json <model>
Parameters
model <record>
Input/output types
| input | output |
|---|---|
| any | any |
render-nav-html
InternalUsage
render-nav-html <model> <current_slug?>
Parameters
model <record>current_slug <string>- (optional)
Input/output types
| input | output |
|---|---|
| any | any |
render-index-page
InternalUsage
render-index-page <model> <theme_config_json> <favicon_href>
Parameters
model <record>theme_config_json <string>favicon_href <string>
Input/output types
| input | output |
|---|---|
| any | any |
render-category-page
InternalUsage
render-category-page <model> <category> <theme_config_json> <favicon_href>
Parameters
model <record>category <record>theme_config_json <string>favicon_href <string>
Input/output types
| input | output |
|---|---|
| any | any |