-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
85 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title = "Layouts & Rendering" | ||
date = 2024-05-31T00:00:00+00:00 | ||
layout = "post" | ||
permalink = "date" | ||
--- | ||
|
||
{% markdown %} | ||
|
||
## Goals | ||
|
||
Today's agenda: | ||
- Re-rendering when layouts are modified during watching. | ||
- Rendering pages once. | ||
- Including the contexts of all parent layouts when rendering. | ||
- Finishing the user guide. | ||
|
||
### Layout Watching | ||
|
||
When layouts are added, modified, or removed, we consider the effects on other pages: | ||
- The ancestors of modified or added layouts are themselves modified or added. | ||
- The ancestors of removed layouts are modified. | ||
|
||
### Rendering Once | ||
|
||
Topological sorting can be used to find the order to render pages in without recursion, therefore preventing redundant renders. | ||
|
||
--- | ||
|
||
## Future Goals | ||
- Pointing site pages to indices, setting appropriate HTML titles. | ||
- Implementing partial date-times. | ||
- Parallelising both rendering and writing to disk. | ||
- Documenting the CLI code. | ||
- Creating a logo for Vox. | ||
- Updating all dependent crates. | ||
|
||
{% endmarkdown %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters