8000 Update extends_statement.md · jinja2cpp/jinja2cpp.github.io@745f115 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 745f115

Browse files
authored
Update extends_statement.md
1 parent e689330 commit 745f115

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/usage/extends_statement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
layout: default
2+
layout: prev_next_page
33
title: "'extends' Statement"
44
parent: Jinja2Cpp Usage
5-
nav_order: 3
5+
nav_order: 4
66
---
77

8-
## 'extends' statement
8+
# 'extends' statement
99
In general, C++ header files look similar to each other. Almost every header file has got header guard, block of 'include' directives and then block of declarations wrapped into namespaces. So, if you have several different Jinja2 templates for header files production it can be a good idea to extract the common header structure into separate template. Like this:
1010
{% raw %}
1111
```c++

0 commit comments

Comments
 (0)
0