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

prace: Publikování na web

parent 4ce5f27b
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ base_page = jk_web.main.base_page ...@@ -29,7 +29,7 @@ base_page = jk_web.main.base_page
with web.Module("bakalarka") as module_bakalarka, web.ctx.add_out_path_prefix("bakalarka/"): with web.Module("bakalarka") as module_bakalarka, web.ctx.add_out_path_prefix(jk_web.main.bakalarka_prefix):
bakalarka_pdf = web.ctx.out_path_prefix + "bakalarka.pdf" bakalarka_pdf = web.ctx.out_path_prefix + "bakalarka.pdf"
web_index = web.Mpage(d, web_index = web.Mpage(d,
"index", "index",
...@@ -39,6 +39,7 @@ with web.Module("bakalarka") as module_bakalarka, web.ctx.add_out_path_prefix("b ...@@ -39,6 +39,7 @@ with web.Module("bakalarka") as module_bakalarka, web.ctx.add_out_path_prefix("b
commands=formatitko_commands, commands=formatitko_commands,
custom_pdf=bakalarka_pdf, custom_pdf=bakalarka_pdf,
) )
assert str(web_index) == jk_web.main.web_bakalarka, (str(web_index), jk_web.main.web_bakalarka)
web_index.higher_page = jk_web.main.web_projects web_index.higher_page = jk_web.main.web_projects
@web.add_job(web.PRIORITY_WRITE) @web.add_job(web.PRIORITY_WRITE)
......
Subproject commit 0693962e7de332d9f07a842f14246f34ff7cda46 Subproject commit 9ede4be4aafe80561f4b76610423372d8114de42
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment