client/gulpfile.js
changeset 196 e3d3cd7a676a
parent 172 ffdfe491869c
equal deleted inserted replaced
195:e0613cc29a30 196:e3d3cd7a676a
   163             imgFooter: {
   163             imgFooter: {
   164                 src: 'logo_IRI_footer.png',
   164                 src: 'logo_IRI_footer.png',
   165                 tpl: '<img src="{% static \'ammico/img/%s\' %}" alt="Logo IRI" />'
   165                 tpl: '<img src="{% static \'ammico/img/%s\' %}" alt="Logo IRI" />'
   166             },
   166             },
   167             idExpo: 'idExpo: "{{ context.idExpo }}",',
   167             idExpo: 'idExpo: "{{ context.idExpo }}",',
   168             ammicoUrl: 'ammicoUrl: "{{ context.ammicoUrl }}",',
   168             ammicoUrl: 'ammicoUrl: "{{ context.ammicoUrl|safe }}",',
   169             searchUrl: 'searchUrl: "{{ context.searchUrl }}",',
   169             searchUrl: 'searchUrl: "{{ context.searchUrl|safe }}",',
   170             token: '{% if context.token %} token: "{{ context.token }}", {% endif %}'
   170             token: '{% if context.token %} token: "{{ context.token }}", {% endif %}'
   171         }))
   171         }))
   172         .pipe(plugins.rename('indexAmmico.html'))
   172         .pipe(plugins.rename('indexAmmico.html'))
   173         .pipe(gulp.dest(templatesFolder));
   173         .pipe(gulp.dest(templatesFolder));
   174 });
   174 });