From f28aae306abf524dbdbbec7e4cedcd2222ba80e1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 4 Apr 2023 14:21:07 -0300 Subject: v2: WIP genhtml via envsubst --- v2/src/lib/base-conf.in | 4 ++-- v2/src/lib/base.en.conf | 4 ++++ v2/src/lib/base.pt.conf | 4 ++++ v2/src/lib/postamble.en.html | 7 ------- v2/src/lib/postamble.html | 36 ++++++++++++++++++++++++++++++++++++ v2/src/lib/postamble.pt.html | 5 ----- v2/src/lib/preamble.en.html | 37 ------------------------------------- v2/src/lib/preamble.html | 37 +++++++++++++++++++++++++++++++++++++ v2/src/lib/preamble.pt.html | 36 ------------------------------------ 9 files changed, 83 insertions(+), 87 deletions(-) delete mode 100644 v2/src/lib/postamble.en.html create mode 100644 v2/src/lib/postamble.html delete mode 100644 v2/src/lib/postamble.pt.html delete mode 100644 v2/src/lib/preamble.en.html create mode 100644 v2/src/lib/preamble.html delete mode 100644 v2/src/lib/preamble.pt.html (limited to 'v2/src/lib') diff --git a/v2/src/lib/base-conf.in b/v2/src/lib/base-conf.in index a33755a..c065807 100644 --- a/v2/src/lib/base-conf.in +++ b/v2/src/lib/base-conf.in @@ -1,9 +1,9 @@ -site_name="EuAndreh's website" domain='@DOMAIN@' email='@EMAIL@' base_url='' -lang=en list_addr='~euandreh/public-inbox@lists.sr.ht' mailto_uri_prefix="mailto:$list_addr?Subject=Re%3A%20" discussions_url_prefix="https://lists.sr.ht/~euandreh/public-inbox?search=" sourcecode_url_prefix="https://$domain/git/$domain/tree/" +author='EuAndreh' +lang='en' diff --git a/v2/src/lib/base.en.conf b/v2/src/lib/base.en.conf index 89344fb..6090d54 100644 --- a/v2/src/lib/base.en.conf +++ b/v2/src/lib/base.en.conf @@ -1,3 +1,7 @@ date_fmt='%B %-d, %Y' site_name="EuAndreh's website" + +about='About' + +about_url_name='about.html' diff --git a/v2/src/lib/base.pt.conf b/v2/src/lib/base.pt.conf index 89344fb..6090d54 100644 --- a/v2/src/lib/base.pt.conf +++ b/v2/src/lib/base.pt.conf @@ -1,3 +1,7 @@ date_fmt='%B %-d, %Y' site_name="EuAndreh's website" + +about='About' + +about_url_name='about.html' diff --git a/v2/src/lib/postamble.en.html b/v2/src/lib/postamble.en.html deleted file mode 100644 index 485d81c..0000000 --- a/v2/src/lib/postamble.en.html +++ /dev/null @@ -1,7 +0,0 @@ -

- Comment - and see - existing discussions - | - view source -

diff --git a/v2/src/lib/postamble.html b/v2/src/lib/postamble.html new file mode 100644 index 0000000..ada5524 --- /dev/null +++ b/v2/src/lib/postamble.html @@ -0,0 +1,36 @@ +

+ Comment + and see + existing discussions + | + view source +

+ + +

+ Comment + and see + existing discussions + | + view source +

+ + + + + diff --git a/v2/src/lib/postamble.pt.html b/v2/src/lib/postamble.pt.html deleted file mode 100644 index 2e65735..0000000 --- a/v2/src/lib/postamble.pt.html +++ /dev/null @@ -1,5 +0,0 @@ -

- Comment and see existing discussions | view source -

diff --git a/v2/src/lib/preamble.en.html b/v2/src/lib/preamble.en.html deleted file mode 100644 index 9ea6780..0000000 --- a/v2/src/lib/preamble.en.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - $(htmlesc "$title") - - - - - - - - - - -
- -
-
-
-
-

- $title_html -

-

- Posted on -

-EOF diff --git a/v2/src/lib/preamble.html b/v2/src/lib/preamble.html new file mode 100644 index 0000000..3eac6ea --- /dev/null +++ b/v2/src/lib/preamble.html @@ -0,0 +1,37 @@ + + + + + + + + + $title_html + + + + + + + + + + +
+ +
+
+
+
+ dollar emit_body +

+ $title_html +

+

+ FIXME Posted on +

diff --git a/v2/src/lib/preamble.pt.html b/v2/src/lib/preamble.pt.html deleted file mode 100644 index 9800470..0000000 --- a/v2/src/lib/preamble.pt.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - $(htmlesc "$title") - - - - - - - - - - -
- -
-
-
-
-

- $title_html -

-

- Posted on -

-EOF -- cgit v1.2.3