mirror of
https://github.com/kataras/iris.git
synced 2025-12-24 05:17:03 +00:00
Ability to register a view engine per group of routes or for the current a chain of handlers
Example at: https://github.com/kataras/iris/tree/master/_examples/view/context-view-engine
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ template "content" .}}
|
||||
|
||||
|
||||
<h4>Copyright © 2020 Admin</h4>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user