Make templates compatible with StrictUndefined

Dactyl v0.8.0 required
This commit is contained in:
mDuo13
2019-02-15 19:08:05 -08:00
parent f55c9de626
commit 6c464cc27b
12 changed files with 88 additions and 91 deletions

View File

@@ -15,7 +15,7 @@
{% set githuburl = target.github_forkurl + "/edit/"
+ target.github_branch + "/tool/" + currentpage.template %}
{% endif %}
{% if target.is_pr_build and have_edit_link %}
{% if target.is_pr_build is defined and target.is_pr_build and have_edit_link %}
{% set githuburl = githuburl + "?pr=/ripple/ripple-dev-portal/pull/"
+ target.github_pr_id %}
{% endif %}