drogon/examples/simple_example/TestView.csp
2018-06-28 23:29:40 +08:00

20 lines
354 B
Plaintext
Executable File

<%inc
#include <iostream>
%>
<%c++
std::cout<<"this is a Http backend rendering Test"<<std::endl;
%>
<!DOCTYPE html>
<html>
<%c++ std::string title=@@.get<std::string>("title");%>
<head>
<meta charset="UTF-8">
<title><%c++ $$<<title;%></title>
</head>
<body>
<footer>
<span>CopyRight@2017 All Rights Reserved</span>
</footer>
</body>
</html>