Where people come together to learn, code, and play. Custom-built HTTP server, site generator, and website from scratch using no external libraries. Goal is to be as minimalistic and fun as possible. http://projectdivar.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SigPlace/out/testfile.html

43 lines
2.0 KiB

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/reset.css">
<link rel="stylesheet" type="text/css" href="/sig.css">
<meta charset="UTF-8">
<script type="text/javascript">
function loadCodeBackground() {
fetch("/codeBackground").then((data)=>data.text())
.then((data)=>{
document.getElementById("codeForeground").innerText=data
document.getElementById("codeBackground").innerText=data
})
}
loadCodeBackground();
</script>
</head>
<body>
<div class="contentBody">
SigPlace
-SigPlace
<span class="keyword"><pre></span> <span class="variable"> System</span>.<span class="variable">out</span>.<span class="function">println</span>(<span class="keyword">"Building</span> <span class="keyword">directory</span> <span class="variable">listings</span>.<span class="variable"></span>.<span class="variable"></span>.<span class="keyword">");</span> <span class="keyword"> try</span> <span class="keyword">{</span> <span class="function"> buildDirectoryListings</span>(<span class="keyword">);</span> <span class="keyword"> }</span> <span class="keyword">catch</span> <span class="function"></span>(<span class="keyword">IOException</span> <span class="keyword">e)</span> <span class="keyword">{</span> <span class="variable"> e</span>.<span class="function">printStackTrace</span>(<span class="keyword">);</span> <span class="variable"> System</span>.<span class="variable">err</span>.<span class="function">println</span>(<span class="keyword">Failed</span> <span class="keyword">to</span> <span class="keyword">build</span> <span class="keyword">directory</span> <span class="keyword">listings!");</span> <span class="keyword"> return;</span>
===
<br/><br/>
<a href="otherpage.html">Other Page!</a>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>
<div class="codeBackground" id="codeBackground"></div>
</body>
<footer>
</footer>
</html>