diff --git a/CHANGELOG.md b/CHANGELOG.md index 48306b7..1945be0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ Tyto - Littérateur # CURRENTLY IN DEV (in devel branch) ! +## [1.9.32] +- Working on creating modules (header, navbar, sidebar, header) + ## [1.9.31] - Fix replacing markers starting LINE with HTML - Added tpl_files directory diff --git a/debian/control b/debian/control index 11f4cc1..0b08938 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,5 @@ Package: tyto -Version: 1.9.31 +Version: 1.9.32 Section: custom Priority: optional Architecture: all diff --git a/src/usr/bin/tyto b/src/usr/bin/tyto index 461195b..54aaa26 100755 --- a/src/usr/bin/tyto +++ b/src/usr/bin/tyto @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Version: 1.9.31 +# Version: 1.9.32 # Updated: 2023-10-18 1697613100 # Tyto - Littérateur diff --git a/src/var/lib/tyto/program/__pycache__/domain.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/domain.cpython-311.pyc index 2401256..3368d15 100644 Binary files a/src/var/lib/tyto/program/__pycache__/domain.cpython-311.pyc and b/src/var/lib/tyto/program/__pycache__/domain.cpython-311.pyc differ diff --git a/src/var/lib/tyto/program/__pycache__/tyto.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/tyto.cpython-311.pyc index c10f143..c5e5e2a 100644 Binary files a/src/var/lib/tyto/program/__pycache__/tyto.cpython-311.pyc and b/src/var/lib/tyto/program/__pycache__/tyto.cpython-311.pyc differ diff --git a/src/var/lib/tyto/program/__pycache__/wip.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/wip.cpython-311.pyc index 09d0da5..4085ffa 100644 Binary files a/src/var/lib/tyto/program/__pycache__/wip.cpython-311.pyc and b/src/var/lib/tyto/program/__pycache__/wip.cpython-311.pyc differ diff --git a/src/var/lib/tyto/program/domain.py b/src/var/lib/tyto/program/domain.py index ba17c42..25b3f6b 100644 --- a/src/var/lib/tyto/program/domain.py +++ b/src/var/lib/tyto/program/domain.py @@ -314,7 +314,7 @@ def cf_update_values(write): except: article_code = cf_set("WEBSITE", "article_code", "yes") try: static = cf.getboolean("WEBSITE", "static") except: static = cf_set("WEBSITE", "static", "no") - + # [WEBSITE_MODULES] # ================= @@ -625,6 +625,7 @@ css = tyto separator = | article_code = yes static = no +navbar = yes [WEBSITE_MODULES] navbar = yes diff --git a/src/var/lib/tyto/program/tyto.py b/src/var/lib/tyto/program/tyto.py index 603fe75..9802265 100644 --- a/src/var/lib/tyto/program/tyto.py +++ b/src/var/lib/tyto/program/tyto.py @@ -116,3 +116,60 @@ quote = """
%s %s
""" +page_tpl = """ + + + +%s + + +
+ +%s + +%s + + +
+
+
+

%s

+
+%s +
+%s +
+
+%s +
+ +
+ +""" + +module_header = """ +