Test of server-side includes.
This commit is contained in:
parent
7d1fc12dc1
commit
6eb6a7d554
2 changed files with 22 additions and 0 deletions
2
included_snippet.html
Normal file
2
included_snippet.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
This is included (server-side include).
|
||||
|
20
ssi_include.shtml
Normal file
20
ssi_include.shtml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Test - test - test</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Test of SSI</h1>
|
||||
|
||||
<p>Below this should be an included piece.</p>
|
||||
|
||||
<!--#include file="included_snippet.html" -->
|
||||
|
||||
<p>Above this should be an included piece.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in a new issue