Compare commits

...

3 Commits

Author SHA1 Message Date
ktyl 83b68214ba Merge pull request 'bug/8-blog-formatting' (#9) from bug/8-blog-formatting into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #9
2022-10-04 22:50:46 +02:00
ktyl 2ce271bf08 remove spare div in template
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-10-04 21:39:35 +01:00
ktyl a8d1ae42f8 don't overwrite destination file 2022-10-04 21:39:17 +01:00
2 changed files with 1 additions and 5 deletions

View File

@ -46,7 +46,7 @@ if not os.path.isdir(dest_dir):
dummy_file = f"{dest_file}.bak"
open(dummy_file, 'w').close()
print(f"{dummy_file} -> {dummy_file}")
print(f"{src_file} -> {dummy_file}")
markdown.markdownFromFile(input=src_file, output=dummy_file, extensions=["fenced_code"])
print(f"{dummy_file} -> {dest_file}")
@ -81,6 +81,3 @@ with open(dummy_file, 'r') as read_file, open(dest_file, 'w') as write_file:
os.remove(dummy_file)
print(f"{src_file} -> {dest_file}")
markdown.markdownFromFile(input=src_file, output=dest_file, extensions=["fenced_code"])

View File

@ -1,5 +1,4 @@
</div>
</div>
#include footer.html