File structuring

This commit is contained in:
2023-02-09 14:19:42 +00:00
parent 52e5ab19ce
commit 30373f4b67
3 changed files with 3 additions and 3 deletions

5
m4/lib.m4 Normal file
View File

@@ -0,0 +1,5 @@
divert(-1)
# extra macros for site structure
define(`ytv',`<iframe width="ifdef(`$3',$1,560)" height="ifdef(`$3',$3,315)" src="$1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>')
define(`wrap',<$1>$2</$1>)
divert

18
m4/main.html.m4 Normal file
View File

@@ -0,0 +1,18 @@
dnl template.m4.html v1.2
dnl Part of the tape-and-string suite used to construct the website
include(`m4/lib.m4')dnl
<!DOCTYPE html>
<html>
<head>
<style>
@include "/css/main.css";
</style>
<title>TITLE</title>
</head>
<body>
<div class="header">
<a href="/">/</a>
</div>
include(`/dev/stdin')dnl Probably not a good idea, but whatever.
</body>
</html>