A fast and simple blog backend.
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.
 
 
 
 
mediocre-blog/srv/src/http/tpl/base.html

64 lines
1.8 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ StaticURL "normalize.css" }}">
<link rel="stylesheet" href="{{ StaticURL "skeleton.css" }}">
<link rel="stylesheet" href="{{ StaticURL "main.css" }}">
<link rel="stylesheet" href="{{ StaticURL "fontawesome/css/all.css" }}">
</head>
<body>
<div class="container">
<header id="title-header" role="banner">
<div class="row">
<div class="seven columns" style="margin-bottom: 3rem;">
<h1 class="title">
<a href="{{ BlogURL "/" }}">Mediocre Blog</a>
</h1>
<div class="light social">
<span>By Brian Picciano</span>
<span>
Even more @
<a href="https://mediocregopher.eth.link" target="_blank">https://mediocregopher.eth.link</a>
</span>
</div>
</div>
<div class="five columns light">
<span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
<a href="{{ BlogURL "follow" }}">
<button class="button-primary">
<i class="far fa-envelope"></i>
Follow
</button><!-- no space here, or there's a weird underline --></a>
<a href="{{ BlogURL "feed.xml" }}">
<button class="button">
<i class="fas fa-rss"></i>
RSS
</button>
</a>
</div>
</div>
</header>
{{ template "body" . }}
<footer>
<p class="license light">
Unless otherwised specified, all works are licensed under the
<a href="{{ StaticURL "wtfpl.txt" }}">WTFPL</a>.
</p>
</footer>
</div>
</body>
</html>