Sign in

Changing .hbs theme files not working

#604
abacigalupe

From the theme Tattoo, I’ve added to top.hbs

“{{#if @config.custom.uploadHero}}
         <figure>
            <img
               class=”lazyload”
               {{#checkIf @config.custom.lazyLoadEffect ‘!==’ “lqip” }}
                   src=”{{@config.custom.uploadHero}}”
               {{else}}
                   data-src=”{{@config.custom.uploadHero}}”
               {{/checkIf}}
               {{responsiveSrcSet @config.custom.uploadHero}}
               {{responsiveSizes}}
               alt=”{{@config.custom.uploadHeroAlt}}”>
            {{#if @config.custom.uploadHeroCaption}}
               <figcaption>
                  {{@config.custom.uploadHeroCaption}}
               </figcaption>
            {{/if}}
         </figure>
      {{/if}}”
and I’ve changed at index.hbs :
“<time datetime=”{{date @website.lastUpdate ‘YYYY-MM-DDTHH:mm’}}”>”
to “<time datetime=”{{date @website.lastUpdate ‘DD-MM-YYYY’}}”>”,
but nothing change.