anga-site

anga.ro website content
Log | Files | Refs | README

commit 20991021c2cbfc1114dacc41122ab1768508d80a
parent 01866ac00204cc905a454f2dd5ddff0ae5cb157c
Author: servus <servus.angaro@posteo.net>
Date:   Fri, 21 Aug 2026 12:40:04 +0300

Switch to saait-generated site

Diffstat:
A.gitignore | 1+
Aconfig.cfg | 20++++++++++++++++++++
Dindex.html | 10----------
Apages/000-index.cfg | 1+
Apages/000-index.html | 1+
Astyle.css | 22++++++++++++++++++++++
Atemplates/page/footer.html | 4++++
Atemplates/page/header.html | 23+++++++++++++++++++++++
Atemplates/page/item.html | 1+
9 files changed, 73 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +output/ diff --git a/config.cfg b/config.cfg @@ -0,0 +1,20 @@ +# defaults: can be overwritten by any page. + +# last updated the site. +siteupdated = 2026-08-21 + +# site title. +sitetitle = anga.ro +# prefix site url. +siteurl = https://anga.ro +# site mail used for contact "mail link". +sitemail = servus.angaro@AT@posteo.DOT.net +# site generator. +sitegenerator = saait (https://git.codemadness.org/saait/file/README.html) + +# page + +# page language. +lang = en +# author (global default). +author = servus diff --git a/index.html b/index.html @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>anga.ro</title> -</head> -<body> - <p>site is working</p> -</body> -</html> diff --git a/pages/000-index.cfg b/pages/000-index.cfg @@ -0,0 +1 @@ +filename = index.html diff --git a/pages/000-index.html b/pages/000-index.html @@ -0,0 +1 @@ +<p>site is working</p> diff --git a/style.css b/style.css @@ -0,0 +1,22 @@ +* { margin: 0; padding: 0; } + +html { + font-family: monospace; + font-size: 14px; + color: #111; + background-color: #fff; +} + +body { + max-width: 70em; + margin: 1em auto; + padding: 0 1em; + line-height: 1.4; +} + +a { color: #00e; } +a:visited { color: #55a; } +a:hover { color: #000; background-color: #ff0; } + +#menu td { padding: 0.3em 0; } +.hidden { border: none; border-top: 1px solid #ccc; margin-bottom: 1em; } diff --git a/templates/page/footer.html b/templates/page/footer.html @@ -0,0 +1,4 @@ + </div> + </main> +</body> +</html> diff --git a/templates/page/header.html b/templates/page/header.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html dir="ltr" lang="${lang}"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="Content-Language" content="${lang}" /> + <meta name="viewport" content="width=device-width" /> + <meta name="generator" content="${sitegenerator}" /> + <title>${sitetitle}</title> + <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> +</head> +<body> + <nav id="menuwrap"> + <table id="menu" width="100%" border="0"> + <tr> + <td id="links-contact" align="right"> + <a href="mailto:${sitemail}">Mail</a> + </td> + </tr> + </table> + </nav> + <hr class="hidden" /> + <main id="mainwrap"> + <div id="main"> diff --git a/templates/page/item.html b/templates/page/item.html @@ -0,0 +1 @@ + %{contentfile}