summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-03-19 15:55:56 +0100
committerjaseg <git@jaseg.de>2023-03-19 15:55:56 +0100
commitc55e92fe93ebb31ba8d46928313dc1d6a08f448d (patch)
treef6be86c09d9258e13fa035450024d9f9878c741d
parent77469be23fe1777d776c0b0abd4c77f6e4080196 (diff)
downloadblog-c55e92fe93ebb31ba8d46928313dc1d6a08f448d.tar.gz
blog-c55e92fe93ebb31ba8d46928313dc1d6a08f448d.tar.bz2
blog-c55e92fe93ebb31ba8d46928313dc1d6a08f448d.zip
Fix headline alignment & deployment
-rw-r--r--deploy.py4
-rw-r--r--themes/conspiracy/assets/css/style.css1
2 files changed, 3 insertions, 2 deletions
diff --git a/deploy.py b/deploy.py
index d8a99c1..c960fbc 100644
--- a/deploy.py
+++ b/deploy.py
@@ -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)
diff --git a/themes/conspiracy/assets/css/style.css b/themes/conspiracy/assets/css/style.css
index c3afe86..f03f4ac 100644
--- a/themes/conspiracy/assets/css/style.css
+++ b/themes/conspiracy/assets/css/style.css
@@ -166,6 +166,7 @@ h1, h2, h3, h4, h5, h6 {
margin-top: 50px;
margin-bottom: 8px;
font-family: "Bodoni Moda";
+ text-align: left;
}
h1 {