edit test line
All checks were successful
Modelari site build and deploy / Build-site (push) Successful in 14s
All checks were successful
Modelari site build and deploy / Build-site (push) Successful in 14s
This commit is contained in:
2
edit.py
2
edit.py
@@ -85,7 +85,7 @@ def submit_content():
|
|||||||
return
|
return
|
||||||
|
|
||||||
full_entry = f"{new_entry}\n{image_tag}" if image_tag else new_entry
|
full_entry = f"{new_entry}\n{image_tag}" if image_tag else new_entry
|
||||||
new_html = html_content.replace(HTML_INSERT_TAG, f"{HTML_INSERT_TAG}\n{full_entry}")
|
new_html = html_content.replace(HTML_INSERT_TAG, f"{HTML_INSERT_TAG}\n{full_entry}\n<hr>")
|
||||||
|
|
||||||
with open(html_file_path, 'w', encoding='utf-8') as f:
|
with open(html_file_path, 'w', encoding='utf-8') as f:
|
||||||
f.write(new_html)
|
f.write(new_html)
|
||||||
|
|||||||
@@ -30,6 +30,12 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<!-- INSERT HERE -->
|
<!-- INSERT HERE -->
|
||||||
|
|
||||||
|
<li><i>34</i></li>
|
||||||
|
<li><b>test</b></li>
|
||||||
|
<li>eijeoirjeior</li>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<li><i>16.7.2025</i></li>
|
<li><i>16.7.2025</i></li>
|
||||||
<li><b>Spuštění stránek</b></li>
|
<li><b>Spuštění stránek</b></li>
|
||||||
<li>Slavnostně oznamujeme spuštění kroužkových stránek</li>
|
<li>Slavnostně oznamujeme spuštění kroužkových stránek</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user