Fix headline alignment & deployment

This commit is contained in:
jaseg 2023-03-19 15:55:56 +01:00
parent 77469be23f
commit c55e92fe93
2 changed files with 3 additions and 2 deletions

View file

@ -14,8 +14,8 @@ if __name__ == '__main__':
subprocess.run(['git', 'worktree', 'add', '--detach', tmpdir], check=True)
try:
env = dict(os.environ())
env['PATH'] = Path('hack').absolute() + ':' + env['PATH']
env = dict(os.environ)
env['PATH'] = f'{Path("hack").absolute()}:{env["PATH"]}'
subprocess.run(['hugo'], cwd=tmpdir, check=True, env=env)
subprocess.run(['git', 'add', '--force', 'public'], cwd=tmpdir, check=True)
write_tree = subprocess.run(['git', 'write-tree', '--prefix=public/'], cwd=tmpdir, check=True, capture_output=True)

View file

@ -166,6 +166,7 @@ h1, h2, h3, h4, h5, h6 {
margin-top: 50px;
margin-bottom: 8px;
font-family: "Bodoni Moda";
text-align: left;
}
h1 {