anushas-dev / anushas-dev/jinja2-template-examples
Create an example for Configuration File Templates (e.g., Dockerfile, YAML)
Aperta
good first issue
hacktoberfest
- Lingua principale
- HTML
- Stelle
- 1
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Sharing a simple example here:
```python
template = Template("""
version: '3'
services:
web:
image: {{ image }}
ports:
- "{{ port }}:80"
""")
print(template.render(image="nginx:latest", port=8080))
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.