Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update layout.md #443

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/nuejs.org/docs/layout.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Layout modules

Modern websites need consistent structure - headers, footers, navigation, sidebars. Layout modules in Nue let you define these structural elements once and reuse them across your site. Through modular HTML templates, you can:
Modern websites need consistent structure headers, footers, navigation, sidebars. Layout modules in Nue let you define these structural elements once and reuse them across your site. Through modular HTML templates, you can:

1. Create site-wide layouts without JavaScript components
2. Build application-specific structures when needed
Expand Down Expand Up @@ -150,7 +150,7 @@ Layout modules can be defined at three levels:

### Module Location

Modules can be stored in any `.html` file. A single file can contain multiple modules - for example, your header, footer, and menu could all live in `layout.html`.
Modules can be stored in any `.html` file. A single file can contain multiple modules for example, your header, footer, and menu could all live in `layout.html`.

### Overriding Modules

Expand Down Expand Up @@ -178,4 +178,4 @@ Layout modules support an HTML-based template language that includes:

For full details on the template syntax, see the [template syntax documentation](template-syntax.html).

Through this system, you can build sophisticated layouts while maintaining clean separation between content, structure, and presentation. The HTML stays semantic, your content remains pure, and your design system handles the visual presentation.
Through this system, you can build sophisticated layouts while maintaining clean separation between content, structure, and presentation. The HTML stays semantic, your content remains pure, and your design system handles the visual presentation.
Loading