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.
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/PKG-INFO +1 -1
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/pyproject.toml +1 -1
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/__init__.py +2 -2
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/.gitignore +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/LICENSE +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/README.md +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/__main__.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/constants.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/exceptions.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/nodes/__init__.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/nodes/base.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/nodes/html.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/rendering.py +0 -0
- {ophinode-0.0.1a3 → ophinode-0.0.1a5}/src/ophinode/site.py +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ophinode
|
3
|
-
Version: 0.0.
|
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
|
@@ -203,7 +203,7 @@ __all__ = [
|
|
203
203
|
"Del",
|
204
204
|
"Picture",
|
205
205
|
"Source",
|
206
|
-
"
|
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
|
-
|
450
|
+
Img,
|
451
451
|
IFrame,
|
452
452
|
Embed,
|
453
453
|
Object,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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:
|