remove unnecessary raw/endraw tags from Jekyll. h/t Luiz Amaral
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-13 15:55:47 +02:00
parent ba068c1c52
commit b2129702ae

View File

@ -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