Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Handlebars.js double braces output forbidden code point

I have a string with invalid XML code point var o = { name: "A\u0002B" } And Handlebars.js template: {{name}} which outputs the string unchanged with #x02 character between A and B. A web ...
xmedeko's user avatar
  • 7,830
0 votes
0 answers
21 views

configure autocomplete snippits in nvim for .hbs file

How do I configure autocomplete snippets for .hbs (Handlebars) files in Neovim using the NvChad framework? I'm using Neovim with the NvChad configuration framework, and I want to enable autocomplete/...
Fire iest's user avatar
0 votes
1 answer
52 views

Issue using express-handlebars in Node.js – "shop.hbs" not found even though it's in views folder

I'm trying to use express-handlebars with Node.js, but I keep getting an error that says the view file can't be found. The error specifically mentions that it can't locate shop.hbs, even though the ...
Emzar Chichoevi's user avatar
-1 votes
1 answer
49 views

Eslint a11y plugin for handlebars [closed]

I'm just wondering if someone knows about ESLint Plugin for accessibility specifically using handlebars? Atm, i can only see for vue, react, jxs. Can someone help me? I tried researching and looking ...
Mondatchi's user avatar
1 vote
0 answers
38 views

How to return a number instead of a string in Wiremock JSON response template

Below is shown the JSON response file for a wiremock request. The issue is that the value for num in the request is a number, but this response file is returning num as a string. { "num": &...
ASJ's user avatar
  • 35
0 votes
1 answer
38 views

How to set layout's page title from a view? [closed]

Let's say I have this Handlebars layout: <!DOCTYPE html> <html> <head> <title>Page title</title> </head> <body> <div> ...
acmoune's user avatar
  • 3,453
0 votes
1 answer
37 views

How to define an array and loop in a template?

The following is the unsuccessful code {{#each ['Home', 'About']}} <p>{{this}}</p> {{/each}} I understand that I can define the array in js and pass it to handlebars to have it render ...
aboutjquery's user avatar
2 votes
0 answers
29 views

Unusual Gulp Task Behaviour

I am struggling with a Gulp Task and what it is doing. Let me start with the first task: gulp.task('html-template:join', (cb) => { gulp.src('./src/template-data/**/*.json') .pipe(...
Takuhii's user avatar
  • 967
0 votes
0 answers
33 views

How to make @tailwind/cli run other npm scripts after --watch?

This is my package.json "scripts": { "dev:tailwind": "npx @tailwindcss/cli -i ./src/assets/styles/input.css -o ./dist/assets/styles/output.css", "dev:...
aboutjquery's user avatar
1 vote
0 answers
44 views

Error importing handlebars: Error [ERR_REQUIRE_ESM]: require() of ES Module

I am trying to implement a nestjs server using typescript to send customized emails with embedded html templates,i am using nodemailer-handlebar dependency but when i run the code it consoles ...
Muhammad Abdullah Shakoor's user avatar
0 votes
1 answer
21 views

Handlerbar js Double Curly Expression {{ k }} in Laravel blade file show error

I am implementing the Handlebar js template in the Laravel blade view file like the one below <script type="text/x-handlebars-template" id="item_template"> <tr> ...
Hardeep Singh's user avatar
0 votes
1 answer
34 views

Error: the partial navbar could not be found

I have a hbs partial file for my navbar that i want to call in other hbs files. but i am facing an issue in the output. the error message i get is Error: C:\Users\Admin\node-mysql\views\homepage.hbs: ...
raven's user avatar
  • 11
1 vote
0 answers
40 views

Why is Express Handlebars expecting a layouts folder instead of layout folder?

"I’m using express-handlebars for templating in my Express.js app. I have set up the layout folder, not layouts, and specified its location correctly in the configuration. However, despite my ...
Fazeel Anwar's user avatar
0 votes
0 answers
28 views

How do I invoke my lang key using Handlebars JS inside a Javascript template literal

I'm trying to invoke my lang files (i.e. en.json, es.json, etc.) within a Javascript template literal however, when I call upon the lang file using Handlebars, it renders the lang call as a string ...
Deo3560's user avatar
  • 45
0 votes
0 answers
31 views

Ghost.io Blog "style" variable

I'm working on a Ghost Theme and with the given Ghost Theme I'm working on there's a code that checks for equality of style to 'one' or 'two':{{#match style "one"}} and {{#match style "...
preston's user avatar
  • 4,367

15 30 50 per page
1
2 3 4 5
514