summaryrefslogtreecommitdiff
path: root/basics.sh
blob: 54a7f0f3032bf18a4cffa60cfdc45736a5ad1d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh

header() {
printf \ "
<!DOCTYPE html>
<html lang="en">
<head>

	<link rel="icon" type="image/png" sizes="32x32" href="/etc/favicon-32x32.png">
	<link rel="icon" type="image/png" sizes="16x16" href="/etc/favicon-16x16.png">
	<link rel="manifest" href="/etc/site.webmanifest">
	<meta charset="utf-8">

	<link rel="stylesheet" href="/etc/style.css">
	<title>Barkod's Basement | $1</title>
</head> 

<body> 
	<h1> $1 </h1> 
	<hr> 

	<div id="menu" >
		<a href="/index.html" >Main</a>
		<a href="/index.html#blogposts" >Blogposts</a>
		<a href="/index.html#contents" >Contents</a>
		<a href="/files/files.html" >Library</a>
		<a href="https://git.b4rkod.net.tr" >git</a>
		<a href="/rss.xml" >RSS</a>
		<a href="/index.html#webrings" >webrings</a>
		<a href="/trash/trash.html" >Trash</a>
</div>
<br> 
<div id="main">
"
}

footer() {
	printf \ '
	</div >
	<br>
<img style=" margin-left: auto; margin-right: auto;display:block"  
title="b4rkod written in lower case" src="/images/b4rkod.png"> 
</body> 
</html> '
}