Skip to content
Snippets Groups Projects
Commit 173cfd24 authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

Fix webové verze

parent 729fda4d
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,12 @@ import pathlib
import jk_web.main
from . import formatitko_commands as fc
formatitko_commands = {k:v for k, v in fc.formatitko_commands.items()}
formatitko_commands["head"] = lambda x,y: []
formatitko_commands["tail"] = lambda x,y: []
d = pathlib.Path("/".join(__file__.split("/")[:-1]))
web = jk_web.main.web
......@@ -20,12 +26,13 @@ base_page = jk_web.main.base_page
with web.Module("past_zapoctak") as module_base_pages, web.ctx.add_out_path_prefix("past_zapoctak/"):
with web.Module("bakalarka") as module_base_pages, web.ctx.add_out_path_prefix("bakalarka/"):
web_index = web.Mpage(d,
"index",
bibliography=d/"sample.bib",
page_builder=base_page,
source_code_module=(lambda: ...).__module__
source_code_module=(lambda: ...).__module__,
commands=formatitko_commands
)
web_index.higher_page = jk_web.main.web_projects
......@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "zapoctak-past"
name = "bakalarka"
# version = "0.0.1"
dynamic = ["version"]
authors = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment