AlanDecode/Maverick

运行会报错

Closed this issue · 10 comments


Site prefix: /
Source dir: /root/app/Maverick/test_src/
Build dir: ./test_dist/
Start clean...done.
Loading contents...
Traceback (most recent call last):
  File "build.py", line 43, in <module>
    main(sys.argv[1:])
  File "build.py", line 39, in main
    builder.build_all()
  File "/root/app/Maverick/Maverick/Builder.py", line 142, in build_all
    content = Content(content_path)
  File "/root/app/Maverick/Maverick/Content.py", line 33, in __init__
    self.meta = Metadata(yaml.safe_load(m.group(1)))
  File "/root/app/Maverick/Maverick/Metadata.py", line 17, in __init__
    self["date"] = moment.date(str(fr.get("date", ""))).locale(g_conf.locale)
  File "/usr/local/lib/python3.6/site-packages/moment/core.py", line 67, in locale
    self._date = pytz.timezone(zone).normalize(self._date)
  File "/usr/local/lib/python3.6/site-packages/pytz/tzinfo.py", line 252, in normalize
    offset = dt.tzinfo._utcoffset
AttributeError: 'StaticTzInfo' object has no attribute '_utcoffset'

Sent from PPHub

检查文章日期格式,或者Python版本(至少3.5)

8C303B91-7B3D-4111-B95E-76A85ADE5EF6

为啥会css丢失

caddy作为web服务器
http://193.112.128.133:2015/

config.py 里:

enable_jsdelivr = { "enabled": False, "repo": "" } ​

45B9C5CC-3489-4155-846C-B9E5A41B7244
这样对吗,但是404了

好啦

请问可以设置中文吗

068CE406-18BF-47ED-B082-849BDB2659A5
是这个参数吗,没有示例,不知道怎么改,改了没用呀

这个要看主题如何提供的,Galileo主题和Kepler主题的中文选项都是 zh-CN