1
0

convert home/index.html to m4

This commit is contained in:
dtb 2022-08-31 11:02:13 -04:00
parent da7382743e
commit 382c70cf5e
3 changed files with 15 additions and 13 deletions

View File

@ -1,6 +1,6 @@
.POSIX: .POSIX:
generate: index.html css/index.html generate: index.html css/index.html home/index.html
index.html: \ index.html: \
index.m4 \ index.m4 \
@ -23,4 +23,10 @@ zelda.m4
css/index.html: head.m4 css/index.m4 css/index.html: head.m4 css/index.m4
make -C css make -C css
.PHONY: generate home/index.html: head.m4 home/index.m4
make -C home
clean:
rm index.html css/index.html home/index.html
.PHONY: generate clean

2
homepage/home/Makefile Normal file
View File

@ -0,0 +1,2 @@
index.html: index.m4 ../head.m4
m4 index.m4 >index.html

View File

@ -1,15 +1,9 @@
define(`_TITLE', `home')dnl
define(`_DESCRIPTION', `browser home page')dnl
define(`_PAGE', `home/')dnl
<!DOCTYPE html> <!DOCTYPE html>
<HTML LANG="en"> <HTML lang="en">
<HEAD> include(`../head.m4')dnl
<LINK HREF="http://www.trinity.moe/home" REL="canonical" />
<LINK HREF="https://raw.githubusercontent.com/devenblake/homepage/main/favicon.ico" REL="shortcut icon" TYPE="image/x-icon" />
<LINK HREF="/css/blank.css" ID="styling" REL="stylesheet" />
<META CHARSET="UTF-8" />
<META CONTENT="noindex" NAME="googlebot" /> <!-- FUCK GOOGLE -->
<META CONTENT="interest-cohort=()" HTTP-EQUIV="Permissions-Policy" /> <!-- FUCK GOOGLE -->
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1" />
<TITLE>Home</TITLE>
</HEAD>
<BODY> <BODY>
<P><A HREF="/">~ www.trinity.moe</A></P> <P><A HREF="/">~ www.trinity.moe</A></P>
<SCRIPT SRC="/js/cookies.js" TYPE="application/javascript"></SCRIPT> <SCRIPT SRC="/js/cookies.js" TYPE="application/javascript"></SCRIPT>