From 0d2c8000d6b10bdcaa0ff547c1c0a58ebc4ef5bd Mon Sep 17 00:00:00 2001 From: msglm Date: Tue, 28 Apr 2026 04:58:15 -0500 Subject: Initial Commit --- contrib/template.jninja | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 contrib/template.jninja (limited to 'contrib/template.jninja') diff --git a/contrib/template.jninja b/contrib/template.jninja new file mode 100644 index 0000000..e8bf6fc --- /dev/null +++ b/contrib/template.jninja @@ -0,0 +1,77 @@ +{# jobs is a list of dicts with the fields you specified #} + + + + + Job Export + + + +{% for job in jobs %} +
+ +
+
+ + {{ job.title | e }} + +
+ {{ job.company | e }} + {% if job.location %} + — {{ job.location.city|default('') }}{% if job.location.city and job.location.state %}, {% endif %}{{ job.location.state|default('') }}{% if job.location.city or job.location.state %} • {% endif %}{{ job.location.country|default('') }} + {% endif %} + {% if job.is_remote %} + • Remote + {% endif %} +
+
+ +
+
{{ job.job_type | capitalize }}
+
+ {% if job.job_function %} + {% set jf = job.job_function %} + {% if jf.min_amount or jf.max_amount %} + {{ jf.currency|default('') }} + {% if jf.min_amount %}{{ jf.min_amount }}{% endif %} + {% if jf.min_amount and jf.max_amount %}–{% endif %} + {% if jf.max_amount %}{{ jf.max_amount }}{% endif %} + / {{ jf.interval }} + {% endif %} +
+ Source: {{ jf.salary_source | replace('_',' ') }} +
+ {% endif %} +
+
Posted: {{ job.date_posted }}
+
+
+ + +
+
{{ job.description | e }}
+
+ + +
+ {% if job.emails %} +
Contact: {{ job.emails | join(', ') }}
+ {% endif %} +
View posting
+
+ + +
+ Program notes +
{{ job.summary | default('—') | e }}
+
+ +
+ + +
+{% endfor %} + + + + -- cgit v1.2.3