1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Salar Nosrati-Ershad 7466b13e0a fix: keep newline at the end of the file in tools
As referenced in Jinja documentation about whitespace control:
<https://jinja.palletsprojects.com/en/3.1.x/templates/#whitespace-control>
>  To keep single trailing newlines, configure Jinja to
>  `keep_trailing_newline`
I added this to our Jinja environment to keep EOL new line in tools
scripts
2023-11-22 22:54:42 +03:30
..
plugins Update code base for Python 3.8 and above 2023-11-12 13:53:02 +01:00
tests remove WRITE_SELECTED 2023-11-12 19:43:26 +03:00
themes Fix #3233 -- Simple theme classless semantic HTML 2023-11-11 14:10:08 +01:00
tools fix: keep newline at the end of the file in tools 2023-11-22 22:54:42 +03:30
__init__.py remove WRITE_SELECTED 2023-11-12 19:43:26 +03:00
__main__.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
cache.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
contents.py Update code base for Python 3.8 and above 2023-11-12 13:53:02 +01:00
generators.py Provide a plugin_enabled Jinja test for themes 2023-11-01 22:49:15 +03:00
log.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
paginator.py Update code base for Python 3.8 and above 2023-11-12 13:53:02 +01:00
readers.py Update code base for Python 3.8 and above 2023-11-12 13:53:02 +01:00
rstdirectives.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
server.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
settings.py remove WRITE_SELECTED 2023-11-12 19:43:26 +03:00
signals.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
urlwrappers.py Update code base for Python 3.8 and above 2023-11-12 13:53:02 +01:00
utils.py remove WRITE_SELECTED 2023-11-12 19:43:26 +03:00
writers.py remove WRITE_SELECTED 2023-11-12 19:43:26 +03:00