-
Pug supports tag interpolation, or literal HTML, within a plain text block.
https://pugjs.org/language/plain-text.html#recommended-solutions
```jade
p.
That interpolated text: #[translate shou…
-
I tried to do it that way, but it doesn't work.
```
const { FuseBox, WebIndexPlugin } = require("fuse-box");
const PugPlugin = require("fusebox-pug-plugin").PugPlugin;
const template = require("./…
ghost updated
5 years ago
-
I use express4 with pug, I want to change language in webpage, But it doesn't work
**index.js**
```javascript
i18n.configure({
defaultLocale: 'en',
locales: ['cn', 'en'],
directory: '.…
-
need a way to convert HTML to PUG
-
Hello, i try to use Pug, it seems there is a problem with the block content rendering. Even if i put the home.pug file in the same directory as my layout.pug, nothing is render!!! Includes works thoug…
-
-
Hi,
Someone created a pdf with if else ? I don't find any example of pdf_reports with pug with if else clause. I need it to make my report with the ouput text depends on the input value.
Thank.
-
```pug
- var tag='a'
// Broken
#{tag}(
@click="doSomething",
:href="url",
)
// Broken
#{tag}(
click="doSomething",
href="url",
)
// These work fine
a(
@click="doSom…
-
### Problem
Variables created with Pug/Svelte mixin (i.e. `+each('links as link')`) are not recognized by Typescript analyzer
and cause "Cannot find name 'link'. Did you mean 'links'?" error.
!…
-
[troubleshooting section]: https://iles-docs.netlify.app/faqs/troubleshooting
- [*] I have read the __[troubleshooting section]__ before opening an issue.
- [*] I have tried upgrading `iles` and `…