diff --git a/homepage/head.m4 b/homepage/head.m4 index 7122f65..a950bbd 100644 --- a/homepage/head.m4 +++ b/homepage/head.m4 @@ -1,7 +1,7 @@ - - + + diff --git a/homepage/home/Makefile b/homepage/home/Makefile index e870928..53ecf5d 100644 --- a/homepage/home/Makefile +++ b/homepage/home/Makefile @@ -1,2 +1,2 @@ -index.html: index.m4 ../head.m4 +index.html: index.m4 ../head.m4 ../html.m4 m4 index.m4 >index.html diff --git a/homepage/home/index.m4 b/homepage/home/index.m4 index bb2ba79..3cdaf04 100644 --- a/homepage/home/index.m4 +++ b/homepage/home/index.m4 @@ -1,11 +1,12 @@ define(`_TITLE', `home')dnl define(`_DESCRIPTION', `browser home page')dnl define(`_PAGE', `home/')dnl -define(`_STYLE', `') +define(`_STYLE', `')dnl +include(`../html.m4')dnl include(`../head.m4')dnl - +_body(`

~ www.trinity.moe

@@ -16,31 +17,31 @@ function time(){ } var interval = window.setInterval(time, 1000); /* every second */ -
+_center(`
Enable JavaScript to see the date and time.
-

Anti-socialization -Discord, -Reddit, -UnitedBSD +

_bold(`Anti-socialization') +_hyperlink(`https://discord.com/app', `Discord'), +_hyperlink(`https://old.reddit.com/new', `Reddit'), +_hyperlink(`https://www.unitedbsd.com/', `UnitedBSD')

-

Consumption -Spotify, -YouTube +

_bold(`Consumption') +_hyperlink(`https://open.spotify.com/', `Spotify'), +_hyperlink(`https://yewtu.be/', `YouTube')

-

Propaganda -DPRK Today, -NPR, -wttr.in +

_bold(`Propaganda') +_hyperlink(`https://dprktoday.com/home/e', `DPRK Today'), +_hyperlink(`https://text.npr.org/', `NPR'), +_hyperlink(`https://wttr.in/?m', `wttr.in')

-

Time-frittering -Connect 4, -Warple +

_bold(`Time-frittering') +_hyperlink(`https://connect-4.org/', `Connect 4'), +_hyperlink(`https://timewarple.com/', `Wordle')

-

Guided wandering -DuckDuckGo, -Яндекс +

_bold(`Guided wandering') +_hyperlink(`https://duckduckgo.com/', `DuckDuckGo'), +_hyperlink(`https://yandex.ru/', `Яндекс')

-

Bookmarks; Cock Mail

-
- +

_bold(`_hyperlink(`http://www.trinity.moe/bookmarks', `Bookmarks')'); _bold(`_hyperlink(`https://mail.cock.li/', `Cock Mail')')

+') +') diff --git a/homepage/html.m4 b/homepage/html.m4 index f44957f..1c36fd6 100644 --- a/homepage/html.m4 +++ b/homepage/html.m4 @@ -1,7 +1,11 @@ -define(`_code', `$1') -define(`_hyperlink', `$2') -define(`_literal_hyperlink', `_hyperlink($1, $1)') -define(`_td', `$1') -define(`_th', `$1') -define(`_tr', `$1') -define(`_BAR', `
') +define(`_body', `$1')dnl +define(`_bold', `$1')dnl +define(`_center', `
$1
')dnl +define(`_code', `$1')dnl +define(`_hyperlink', `$2')dnl +define(`_literal_hyperlink', `_hyperlink($1, $1)')dnl +define(`_italic', `$1')dnl +define(`_td', `$1')dnl +define(`_th', `$1')dnl +define(`_tr', `$1')dnl +define(`_BAR', `
')dnl