hledger/site/site.tmpl
Simon Michael 06fc4d29e5 site: fetch js/css from hledger.org
More precisely, fetch js/css from the same site you're viewing.
This keeps page styles working when you're previewing pages
without an internet connection (eg with site-preview).
It presumably adds an extra couple of fetches for each visitor
on first visit to hledger.org, probably not noticeable.
2018-03-09 02:24:36 +00:00

73 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://www.w3.org/2005/10/profile">
<link rel="icon" type="image/png" href="/images/coins2.ico">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hledger: $title$</title>
<!-- get resources from CDN/jquery.com, loads fast -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css"> -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootswatch/3.3.0/readable/bootstrap.min.css">
<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> -->
<!-- <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> -->
<!-- get resources from same host (except readable theme), works offline -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<script src="/js/jquery-1.11.0.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/site.js"></script>
<script src="/js/highslide/highslide.js"></script>
<script type="text/javascript">
hs.graphicsDir = 'js/highslide/graphics/';
</script>
<link href="/js/highslide/highslide.css" rel="stylesheet">
<link href="/css/style.css" rel="stylesheet">
<!-- <link href="/css/syntax.css" rel="stylesheet"> -->
</head>
<body class="container">
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/index.html">hledger.org</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="/download.html">Download</a>
<li><a href="/docs.html">Docs</a>
<li><a href="/contributing.html">Contribute</a>
</ul>
</div>
</div>
</nav>
</div>
</div>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
$body$
</div>
</div>
<footer>
</footer>
</body>
</html>