diff --git a/content/job_offers/add_job_offer.py b/content/job_offers/add_job_offer.py index a8f9205bb33713ebd01eb83d2073fa885c90cb72..91d16d42f12ca4b42df11e6e93279855d1971f9b 100755 --- a/content/job_offers/add_job_offer.py +++ b/content/job_offers/add_job_offer.py @@ -97,7 +97,8 @@ JOBOFFER_TYPE = { 'cdd': 'CDD', 'postdoc': 'Post-doctorat', 'these': 'Thèse', - 'stage': 'Stage' + 'stage': 'Stage', + 'concours': 'Concours', } PELICAN_JOB_OFFER_PATH = 'content/job_offers' diff --git a/content/job_offers/job_placeholder.md b/content/job_offers/job_placeholder.md index 7d7e4d3ef4ec26dbfcb4d2b2eb3a005269c04f04..fdfe7baba0b113a3c8ccac3fdbed3ae848efbaa8 100644 --- a/content/job_offers/job_placeholder.md +++ b/content/job_offers/job_placeholder.md @@ -1,7 +1,7 @@ Title: Placeholder to force job offer category and tag pages generation Date: 2019-06-20 Category: job -Tags: cdd, cdi, stage, postdoc, these +Tags: cdd, cdi, stage, postdoc, these, concours Template: job_offer Expiration_Date: 2019-01-01 diff --git a/pelicanconf.py b/pelicanconf.py index b2f4486b2b10ed9d6b43eea86fb917012dfba67d..3f10215c3e996132b538778d76a95d5ad1ddb7df 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -149,6 +149,7 @@ JOB_OFFER_TAGS = { 'postdoc': 'Post-doc', 'these': 'Thèse', 'stage': 'Stage', + 'concours': 'Concours', } # We don't need authors pages diff --git a/themes/calcul/templates/job_offer.html b/themes/calcul/templates/job_offer.html index 605738769890f0ec47c9230066c8249129aacebd..ca9c50240b8f363e78661c044518d34a83e227af 100644 --- a/themes/calcul/templates/job_offer.html +++ b/themes/calcul/templates/job_offer.html @@ -34,7 +34,7 @@ {{ article.job_employer }} {% endif %} - {% if article.job_duration and article.job_type != 'CDI' %} + {% if article.job_duration and article.job_type != 'CDI' and article.job_type != 'Concours' %}