Logo
Explore Help
Sign In
Infra/rougail
9
0
Fork 0
You've already forked rougail
Code Issues Pull Requests Releases Wiki Activity
rougail/tests/dictionaries/01base_file_include_content/tmpl/file

8 lines
188 B
Plaintext
Raw Normal View History

Add new attribute "include" to "file" This attribute have 3 values: - "no": it's a normal file - "name": the name is included in another template so it is generated before other templates - "content": the content is included in another template so it is generated before the other templates and is not installed on the server fixes #2
2021-02-21 10:34:01 +01:00
%import os
%set %%confdir = %%rougail_destination_dir + '/etc/dir/'
%set %%files = %%os.listdir(%%confdir)
%%files.sort()%slurp
%for file in %%files
%include raw %%confdir + file
%end for
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.3 Page: 95ms Template: 5ms
English
Deutsch English Español Français Latviešu Nederlands Polski Português Русский 日本语 简体中文 繁體中文
Licenses API