remove unnecessary raw/endraw tags from Jekyll. h/t Luiz Amaral
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -275,7 +275,6 @@ that will point at an `unbound` running on `lab.ipng.ch` itself.
|
|||||||
I can now create any file I'd like which may use variable substition and other jinja2 style templating. Take
|
I can now create any file I'd like which may use variable substition and other jinja2 style templating. Take
|
||||||
for example these two files:
|
for example these two files:
|
||||||
|
|
||||||
{% raw %}
|
|
||||||
```
|
```
|
||||||
pim@lab:~/src/lab$ cat overlays/bird/common/etc/netplan/01-netcfg.yaml.j2
|
pim@lab:~/src/lab$ cat overlays/bird/common/etc/netplan/01-netcfg.yaml.j2
|
||||||
network:
|
network:
|
||||||
@ -292,13 +291,12 @@ network:
|
|||||||
|
|
||||||
pim@lab:~/src/lab$ cat overlays/bird/common/etc/netns/dataplane/resolv.conf.j2
|
pim@lab:~/src/lab$ cat overlays/bird/common/etc/netns/dataplane/resolv.conf.j2
|
||||||
domain lab.ipng.ch
|
domain lab.ipng.ch
|
||||||
search{% for domain in lab.nameserver.search %} {{domain}}{%endfor %}
|
search{% for domain in lab.nameserver.search %} {{ domain }}{% endfor %}
|
||||||
|
|
||||||
{% for resolver in lab.nameserver.addresses %}
|
{% for resolver in lab.nameserver.addresses %}
|
||||||
nameserver {{resolver}}
|
nameserver {{ resolver }}
|
||||||
{%endfor%}
|
{% endfor %}
|
||||||
```
|
```
|
||||||
{% endraw %}
|
|
||||||
|
|
||||||
The first file is a [[NetPlan.io](https://netplan.io/)] configuration that substitutes the correct management
|
The first file is a [[NetPlan.io](https://netplan.io/)] configuration that substitutes the correct management
|
||||||
IPv4 and IPv6 addresses and gateways. The second one enumerates a set of search domains and nameservers, so that
|
IPv4 and IPv6 addresses and gateways. The second one enumerates a set of search domains and nameservers, so that
|
||||||
|
Reference in New Issue
Block a user