ophinode 0.0.1a3__py3-none-any.whl → 0.0.1a5__py3-none-any.whl

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.
ophinode/__init__.py CHANGED
@@ -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,
ophinode/site.py CHANGED
@@ -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:
@@ -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
@@ -1,13 +1,13 @@
1
- ophinode/__init__.py,sha256=_tyBurxpXvDxTLsuiJEZUBCXTZE--uqJlGsI9n7fo8s,8440
1
+ ophinode/__init__.py,sha256=5eDhJKGY0UszGXfAc6vW_PIZGzUXWC1oO-_VQUbY3aM,8436
2
2
  ophinode/__main__.py,sha256=6i8Wu5lNm8FAaM1xNy46spy_laDdKmo2CmZVYYq4a-c,2210
3
3
  ophinode/constants.py,sha256=LHb4GrAVun3gO-e1jMMvvK2BN0aZ33kEandqzzEQYzk,592
4
4
  ophinode/exceptions.py,sha256=0T4Kuuy4aHa6jRCrIvNSomVCTf1JfECC_kwQzG-iIhk,351
5
5
  ophinode/rendering.py,sha256=Q1cxSwXs22Cq40fvbQVhGk3XQQOy1PcZBObSYt7NduQ,6201
6
- ophinode/site.py,sha256=zpbQOih5YvUUIAi7SqFHveNCWJurGzxjDWbrlW3G07w,16775
6
+ ophinode/site.py,sha256=8E1l9iJ5dj4ksP8YYVnd5Mrf6mYjQ9aMM2XVy3fq64k,16775
7
7
  ophinode/nodes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  ophinode/nodes/base.py,sha256=SbjN8wjR77G3_8Lvvog4PriTq4v1WnnNr3nzAi0xMto,1004
9
9
  ophinode/nodes/html.py,sha256=FEnkFcjqD438hRsZWDMwSrkBrwP8C0wDvqsu-a111Jo,25132
10
- ophinode-0.0.1a3.dist-info/METADATA,sha256=lJJMRDEL7x0iRl06U0awGybAT4Ps8ckxwLIUMu-z84o,2409
11
- ophinode-0.0.1a3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- ophinode-0.0.1a3.dist-info/licenses/LICENSE,sha256=bPdztUVhioHPZ6OKqBycopwMfGNB5BwVfRHV68sQoVU,1070
13
- ophinode-0.0.1a3.dist-info/RECORD,,
10
+ ophinode-0.0.1a5.dist-info/METADATA,sha256=AwaJwuwemruMOw-Nsyn-bUNFCYCp_IcHqBayXLSAc14,2409
11
+ ophinode-0.0.1a5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ ophinode-0.0.1a5.dist-info/licenses/LICENSE,sha256=bPdztUVhioHPZ6OKqBycopwMfGNB5BwVfRHV68sQoVU,1070
13
+ ophinode-0.0.1a5.dist-info/RECORD,,