-
Version info:
- Storefront version: 3.2.11 scriban-migration branch
### Expected behavior
User has one address stored in the database. Request to URL /storefrontapi/account?t=... should return o…
-
We've been using Scriban for a while in production (thanks!) and one (dangerous imo) pattern we've noticed is folks using a single "=" in "if" statements. Instead of `{{ if x == 2 }}` they write `{{ i…
-
Hi,
You are currently using the entire codebase of the scriban project https://github.com/lunet-io/scriban without retaining the original license which is violating its usage.
So please, I'm aski…
xoofx updated
5 years ago
-
I'd like to get to a point where I can use Scriban for componentized HTML generation. Here's an example of my ideal state, in the example of creating an captioned image block:
```
{{ image src: my…
-
When running the following line of code in a .NET Core 3.0 Preview 4 app, an uncatchable exception will be thrown:
`var template = Template.Parse("{{ test }}");`
**Exception**
> Internal CLR …
-
Consider this piece of code:
``` cs
using Scriban;
using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
var template …
-
Firstly, thanks for this awesome library. I am investigating using it in an app that will retrieve data for CAD drawings of wiring diagrams for television stations, just in case you thought you'd hear…
-
Say I have an HTML construct that I put in function:
```
{{ func aside }}
{{ $$ }}
{{ end }}
```
I want to call it like this:
```
{{ wrap aside }}
This is some content for…
-
I'm adding several .NET objects to a `ScriptObject`. The properties of these objects are accessible, but the methods are not.
I set a `MemberFilterDelegate` like this:
```
templateContext.Memb…
-
Hi, what is Scriban's approach to enum fields in .net objects? Is this handled in any standard way by the template engine - i mean, is it possible for example to make logical conditions with enum comp…