Stephen Seo
67f59e1354
Some checks failed
Run Unit Tests / build-and-run-unit-tests (push) Failing after 55s
78 lines
1,006 B
Text
78 lines
1,006 B
Text
PATH=/
|
|
HTML='''
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body {
|
|
color: #FFF;
|
|
background-color: #333;
|
|
}
|
|
a {
|
|
color: #AAF;
|
|
}
|
|
a:link {
|
|
color: #AAF;
|
|
}
|
|
a:visited {
|
|
color: #88B;
|
|
}
|
|
a:focus a:hover {
|
|
color: #DDF;
|
|
}
|
|
a:active {
|
|
color: #FFF;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Test HTML</h1><br>
|
|
<h2>{{{Var}}}</h2>
|
|
<h3><a href="/inner">To inner.</a></h3>
|
|
</body>
|
|
'''
|
|
|
|
Var='''Test var value'''
|
|
|
|
PATH=/inner
|
|
HTML_FILE='''example_config/inner.html'''
|
|
VAR_FILE='''example_config/var.html'''
|
|
|
|
PATH=/error
|
|
|
|
PATH=/inner/further
|
|
HTML='''
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body {
|
|
color: #FFF;
|
|
background-color: #333;
|
|
}
|
|
a {
|
|
color: #AAF;
|
|
}
|
|
a:link {
|
|
color: #AAF;
|
|
}
|
|
a:visited {
|
|
color: #88B;
|
|
}
|
|
a:focus a:hover {
|
|
color: #DDF;
|
|
}
|
|
a:active {
|
|
color: #FFF;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Nested inner: further<h1>
|
|
{{{VAR}}}
|
|
<br>
|
|
<img src="/silly.jpg" />
|
|
<br>
|
|
<a href="/inner">back</a>
|
|
</body>
|
|
</html>
|
|
'''
|
|
VAR='''yep'''
|