Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

For go i want to use the gorazor template engine. I used code from gorazor repository and from go template benchmark and ran gorazor tpl tpl and got panic: Can't find layout: rzrexmpl/tpl/layout/base [...
surfmuggle's user avatar
  • 6,040
0 votes
1 answer
44 views

I'm working on a Jekyll site and encountering a "Nesting too deep" error when trying to render nested comments using a recursive include. Here's a simplified version of my template: {% ...
quarks's user avatar
  • 35.7k
0 votes
0 answers
43 views

My Maven project is a template engine that generates some java classes from user input data (provided as a json file). It is simply composed of a top level module (myproject-parent, type pom) and a ...
Yoshi31's user avatar
  • 11
0 votes
0 answers
210 views

I would just like to set up a template engine locally, as my workflow now is rendering the tempalte and having to go to my aws-s3 bucket to see the results. In the NestJS docs the hace an example ...
Antonio Pavicevac-Ortiz's user avatar
2 votes
1 answer
521 views

I like the new template engine JTE and I am trying to learn this. I know I can manually add the CSRF token as a request attribute and I have done it for my login form like so: @GetMapping("/login&...
theMyth's user avatar
  • 288
-2 votes
1 answer
33 views

i went over the internet and i can't find solution so maybe more eyes can help. I have form for charity donation. It uses thymeleaf templating engine. I passed needed objects to the view using Model ...
Mateusz Marcykiewicz's user avatar
1 vote
1 answer
77 views

I have this following code that basically renders partials. However I was trying to find a way to prevent polluting $templatePath variable into the template (the variable is currently accessible from ...
Askalot's user avatar
  • 35
-2 votes
1 answer
98 views

I have a Go project use GoFiber and html template engine. When I give an array to range block in .html file, if between {{range .}} and {{end}} has no HTML tag, it runs. But when I add some, it seems ...
Ngoc Le's user avatar
  • 25
0 votes
1 answer
103 views

I want to generate the following entry in .xml file with Thymeleaf <postalCode xsi:type="extPL:adxp.postalCode"> </postalCode> to do so, I have the following template: <...
Maverick's user avatar
  • 450
0 votes
0 answers
190 views

After followed the official documentation and others tutorials, when I run my quarkus 3.6.4 app I get the error: 2024-01-12 10:02:11,412 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-...
capo11's user avatar
  • 840
1 vote
1 answer
204 views

I'm working on a project that utilizes the Pug template engine. All my Pug files (layout.pug, head.pug, index.pug, etc.) are stored within a folder named pug. In my layout.pug file, I've established ...
Aditya Sutar's user avatar
1 vote
0 answers
58 views

Question: I'm encountering an issue with Thymeleaf while trying to bind a form field to an object in my Spring Boot application. I'm receiving the following error message: org.thymeleaf.exceptions....
Vitalii's user avatar
  • 11
0 votes
1 answer
75 views

The documentation says I just have to install the filters via npm in order to use them. If you want to be able to use filters in your Pug template, you would first make sure that these features are ...
Matheus Moreira's user avatar
2 votes
1 answer
826 views

I am working on project where users must be able to submit templates containing placeholders to be later rendered to generate dynamic content. For example, a user might submit a template like: "${...
G. Bittencourt's user avatar
0 votes
1 answer
46 views

I am not experienced in express js template engines and I tried to choose a simple one from the list https://expressjs.com/en/resources/template-engines.html I chose html-express-js that is on GH: ...
trzczy's user avatar
  • 1,551
-1 votes
2 answers
256 views

I just started learning backend development and I decided to start with node js. I figured out express js and routing a bit. This question came to my mind. Is there a way to send data directly to ...
Swifty's user avatar
  • 9
1 vote
1 answer
233 views

First, I don't have access to the code I have to try to do this on the template. I have a date that will be available on the template [%UserDate%] I need to subtract 120 days from the provided [%...
Vidal's user avatar
  • 2,606
1 vote
1 answer
116 views

Normally, jinja2 render_template method asks a string of a full path of html. I do as the format below but it still raise the error. render_template('/var/www/xyz/template/_base_front.html', {"...
sitthykun's user avatar
1 vote
1 answer
167 views

I have the following template: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <head> <meta ...
Cucumberbatch's user avatar
0 votes
1 answer
144 views

I just started learning Apps Script. I can't seem to be able to set iAsString to i which was declared inside of the scriptlet for loop. I've made a new html document and narrowed down that when I add ...
Eric Huang's user avatar
0 votes
1 answer
773 views

I'm trying to adapt this model. It is an HTML table that retrieves data from a Google table. However, I need the search to be done in a specific column. In this model, the search is performed in any ...
crhistianosa's user avatar
0 votes
1 answer
88 views

Is it possible to add namedValues in a scriptlet when trying to use HTML template to send mails in App Script? If yes, how please, if no, how can I refer to each question on a Google form using ...
Ibitoyei's user avatar
0 votes
0 answers
408 views

I'm stuck I have done something similar before and it worked but this time round I keep getting a "Sorry, unable to open the file at present." error message. I want to send an email to a ...
Fazila's user avatar
  • 65
1 vote
2 answers
147 views

I'm using the handlebars temlate engine. The handlebar registry is initialized as usual: let mut registry = Handlebars::new(); and I want to save this handlebar registry as a member of a struct for ...
jinreal's user avatar
  • 1,590
0 votes
1 answer
175 views

I have put the images folder inside the views folder and added the relative path to the images but the images are not loading on the html page. I have tried multiple options like putting the folder ...
Abdul Rehman's user avatar
1 vote
1 answer
621 views

I am in the process of learning fiber framework in GO language and having trouble figure out why the template engine is returning an error when the body section is an include. The following works as ...
jason's user avatar
  • 1,172
0 votes
2 answers
3k views

On my Ubuntu 22.10 digitalocean server, I'm experimenting with Golang and Fiber and the html template engine. Loving it so far. It all works, including the Mysql connection and sending email. Except ...
Jeex's user avatar
  • 178
0 votes
1 answer
33 views

I need to display the navbar, footer, main, base, title - in separate blocks, which can then be edited in one place, and the changes will occur everywhere Сan you give me an idea how to do it, I have ...
Young programmer's user avatar
0 votes
1 answer
112 views

//htmlFileName: String function createTemplate(htmlFileName) { let {protocol,stdName} = getProtocolData() let params = protocol // protocol: String, exemple 987654321 let url = 'https://...
jcom's user avatar
  • 101
0 votes
1 answer
463 views

So, I am trying to get an automatic system set up for my store where it notifies the relevant people that a bike needs building so that we don't forget about any as it does occasionally happen as a ...
Kathryn Gratton's user avatar
0 votes
2 answers
169 views

I can't figure out an elementary mistake. When I run the following script the output I get is: <?= head1 ?> <?= head2 ?> . I'm trying to make head1 and head2 printing scriptlets where ...
bibby's user avatar
  • 31
-4 votes
1 answer
128 views

I am trying to retrieve data from another sheet (within the same spreadsheet) and display it as a dropdown option in the sidebar. My code.gs has function called getVisualData() which correctly returns ...
Solrac's user avatar
  • 43
0 votes
1 answer
226 views

I am trying to do a multiple file upload using Cloudinary, but for some reason, it only picks the last file I upload and not all 4 of the files, it returns only one file in the array. Here are the ...
heysolomon's user avatar
0 votes
1 answer
154 views

I am just curious as to why/how this works. I have a function called sendEmail that defines a bunch of variables from a spreadsheet then sends the user an email using said variables. However, I get ...
Borgher's user avatar
  • 325
0 votes
1 answer
1k views

I am referring to this article about templated HTML and scriptlets with Google Apps Script: https://developers.google.com/apps-script/guides/html/templates It is written how to call an Apps Script ...
MOS's user avatar
  • 123
0 votes
1 answer
74 views

I am sure the answer is staring at me right in the face but I'm a bit confused. I have a spreadsheet with employee information and I created a forEach loop (below) so that at the end of each row it ...
Borgher's user avatar
  • 325
0 votes
1 answer
1k views

I know that if we want to pass variables from .gs to the HTML template, we do this: On .html (using <?= someVariable ?>: <div> <table id="summary"> <thead> ...
fros's user avatar
  • 29
0 votes
1 answer
411 views

I`m trying to build an app with spring boot using freemarker as template engine. I am using Gradle. This is the @RestController class @RestController public class CodeController { private ...
ManojR's user avatar
  • 11
0 votes
1 answer
404 views

using the C++ template engine library https://github.com/pantor/inja In SQL I can INSERT a row in a database with a VARCHAR SQL type column named 'col1' with std::string my_template = "INSERT ...
Pedro Vicente's user avatar
2 votes
0 answers
584 views

I am doing some simple validation on a form and using bootstrap for alert dismissing. I have an ejs partial for displaying error messages. When trying to render the error message its just showing the ...
aquile hollins's user avatar
0 votes
1 answer
382 views

I am trying to use <%include /> tag in mako template, but getting exception. I have all the files in the same directory. Can someone help me figure out what am I missing here? $cat sample1.py ...
npatel's user avatar
  • 1,121
0 votes
1 answer
424 views

I am having a problem to convert the following Ejs to pug in admin/edit-product.ejs we can make changes with product already we have it but But I want to transfer ejs to pug any solutions <form ...
Eve SatOrU's user avatar
1 vote
2 answers
2k views

Im having a little problem on one proyect, Im using ejs as a template engine and expressjs as server framework, so the problem come when Im validating that the user data were correct and I pass a ...
Raxabi's user avatar
  • 111
0 votes
2 answers
2k views

I don't know why it gives this error. I have also set view engine to hbs using app.set(), also defined path of views (path is correct, no error there). But it still says cannot find module hbs (it is ...
user avatar
0 votes
1 answer
453 views

I'm using django-pygmentify package in order to highlight my code blocks in my Django templates. The thing is that this package only supports code blocks as input. I have a model field that keeps ...
Sadra's user avatar
  • 394
0 votes
0 answers
75 views

I have the following function that creates HTML from a string, within this string, which uses the syntax "$ {variable}" to add dynamic content, thus, this string is passed to the Function in ...
Grizzly's user avatar
  • 395
4 votes
2 answers
4k views

I am currently working on a Spring Boot project and I am fairly new to template engines. This will also be my first own private project with Spring Boot. I would like to know whether it is necessary ...
lu_lu's user avatar
  • 173
0 votes
2 answers
3k views

I'm learning Node.js and at template topic right now. First i used only EJS and configured app.set('view engine', 'ejs') for it to work properly. Next to create layout i installed ejs-mate and added ...
GTB's user avatar
  • 57
0 votes
0 answers
233 views

I am building a multipage web app using GAS. The actual URLs for the pages of my app are generated by my GAS and passed via the data variable to my html template. A scriptlet is inserting the URL into ...
user17019117's user avatar
3 votes
2 answers
4k views

Is there any mechanism in django to render html as plain text. For example render the following: <h1>Title</h1> <p>Paragraph</p> As: Title Paragraph Specially for attaching ...
user avatar

1
2 3 4 5
33