mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 19:07:06 +00:00
Add a simple Caddy+Iris tutorial 👍
Former-commit-id: 8761afce72aa35b91c9b5a958f1cafc027aabddd
This commit is contained in:
3
_examples/tutorial/caddy/server1/views/index.html
Normal file
3
_examples/tutorial/caddy/server1/views/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{.Message}}
|
||||
</div>
|
||||
11
_examples/tutorial/caddy/server1/views/shared/layout.html
Normal file
11
_examples/tutorial/caddy/server1/views/shared/layout.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{.Layout.Title}}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ yield }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user