Skip to content

Commit

Permalink
Merge pull request #443 from seneca/patch-34
Browse files Browse the repository at this point in the history
Update layout.md
  • Loading branch information
nobkd authored Jan 18, 2025
2 parents c4ba344 + b9b78f0 commit 1962fcb
Showing 1 changed file with 3 additions and 3 deletions.
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.

0 comments on commit 1962fcb

Please sign in to comment.