File structuring
This commit is contained in:
5
m4/lib.m4
Normal file
5
m4/lib.m4
Normal 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
18
m4/main.html.m4
Normal 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>
|
||||
Reference in New Issue
Block a user