Skip to content

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

+3-3
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)