fixed pygments style output location
This commit is contained in:
parent
22a0a39d81
commit
49b4242519
1 changed files with 3 additions and 3 deletions
|
@ -100,9 +100,9 @@ class ZonaBuilder:
|
||||||
# write code highlighting stylesheet
|
# write code highlighting stylesheet
|
||||||
if self.config.markdown.syntax_highlighting.enabled:
|
if self.config.markdown.syntax_highlighting.enabled:
|
||||||
pygments_style = zmd.get_style_defs(self.config)
|
pygments_style = zmd.get_style_defs(self.config)
|
||||||
(self.layout.content / "static" / "pygments.css").write_text(
|
pygments_path = self.layout.output / "static" / "pygments.css"
|
||||||
pygments_style
|
util.ensure_parents(pygments_path)
|
||||||
)
|
pygments_path.write_text(pygments_style)
|
||||||
for item in self.item_map.values():
|
for item in self.item_map.values():
|
||||||
dst = item.destination
|
dst = item.destination
|
||||||
# print(item)
|
# print(item)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue