Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 3, 2024
1 parent a3839ad commit 9645153
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion template_versioned_docs/version-ace_v2.x.x/django/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ var viewsAsssets embed.FS

func main() {
// Create a new engine
engine := NewPathForwardingFileSystem(http.FS(viewsAsssets), "/views", ".django")
engine := django.NewPathForwardingFileSystem(http.FS(viewsAsssets), "/views", ".django")

// Pass the engine to the Views
app := fiber.New(fiber.Config{
Expand Down Expand Up @@ -195,6 +195,7 @@ c.Render("index", fiber.Map{
"Fiber": "Hello, World!\n\nGreetings from Fiber Team",
"MyKey": c.Locals("my-key"),
})
```

### AutoEscape is enabled by default

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Go templates can also be used with javascript. Structs and maps will be expanded

```js
// Javascript
var cat = {"Name":"Sam", "Age" 12}
var cat = {"Name":"Sam", "Age":12}
```

---
Expand Down
2 changes: 1 addition & 1 deletion template_versioned_docs/version-ace_v2.x.x/slim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ html
title Main
include ../partials/meta.slim
body
| {{embed}}
== embed
```

```go
Expand Down

0 comments on commit 9645153

Please sign in to comment.