ophinode 0.0.1a3__tar.gz → 0.0.1a5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ophinode
3
- Version: 0.0.1a3
3
+ Version: 0.0.1a5
4
4
  Summary: A static site generator written in Python
5
5
  Project-URL: Homepage, https://github.com/deflatedlatte/ophinode
6
6
  Project-URL: Issues, https://github.com/deflatedlatte/ophinode/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ophinode"
7
- version = "0.0.1a3"
7
+ version = "0.0.1a5"
8
8
  authors = [
9
9
  { name="deflatedlatte", email="deflatedlatte@gmail.com" },
10
10
  ]
@@ -203,7 +203,7 @@ __all__ = [
203
203
  "Del",
204
204
  "Picture",
205
205
  "Source",
206
- "Image",
206
+ "Img",
207
207
  "IFrame",
208
208
  "Embed",
209
209
  "Object",
@@ -447,7 +447,7 @@ from .nodes.html import (
447
447
  Del,
448
448
  Picture,
449
449
  Source,
450
- Image,
450
+ Img,
451
451
  IFrame,
452
452
  Embed,
453
453
  Object,
File without changes
File without changes
File without changes
@@ -183,10 +183,10 @@ class Site:
183
183
 
184
184
  def _prepare_site(self) -> RenderContext:
185
185
  context = RenderContext(self)
186
- for path, page in self._pages:
187
- context._page_data[path] = {}
188
186
  for processor in self._preprocessors_before_site_build:
189
187
  processor(context)
188
+ for path, page in self._pages:
189
+ context._page_data[path] = {}
190
190
  return context
191
191
 
192
192
  def _build_nodes(self, page: Any, context: RenderContext) -> Iterable: