File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,14 @@ clean:
3434 rm -rf output/ theme/ .webassets-cache
3535 rm -f output/ theme/ css/ *.css
3636
37- build settings = " pelicanconf.py": prepare_fonts
38- uv run pelican --fatal=errors -s {{ settings}} -o output content
37+ build settings = " pelicanconf.py": prepare_fonts (run_pelican settings)
3938
40- debug settings = " pelicanconf.py": prepare_fonts
39+ run_pelican settings = " pelicanconf.py":
40+ uv run pelican --fatal=errors -s {{ settings}} -o output content
41+
42+ debug settings = " pelicanconf.py": prepare_fonts (run_debug_pelican settings)
43+
44+ run_debug_pelican settings = " pelicanconf.py":
4145 uv run pelican --fatal=errors -s {{ settings}} -o output content --debug --log-handler=plain
4246
4347generate : (build " publishconf.py" )
Original file line number Diff line number Diff line change 33from __future__ import unicode_literals
44
55import os
6+ import zoneinfo
67from dataclasses import dataclass
78from datetime import datetime
89from pathlib import Path
910from typing import Optional
1011
11- import pytz
12-
1312
1413@dataclass
1514class StyledLink :
@@ -64,7 +63,7 @@ def __post_init__(self):
6463SITEMAP = {"format" : "xml" , "exclude" : ["tag/" , "category/" ]}
6564
6665TIMEZONE = "America/Los_Angeles"
67- TZ = pytz . timezone (TIMEZONE )
66+ TZ = zoneinfo . ZoneInfo (TIMEZONE )
6867PUBLICATION_TIME = datetime .now (TZ )
6968
7069
You can’t perform that action at this time.
0 commit comments